-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HB won't start after install #65
Comments
This is all I'm seeing in the logs following installing/configuring the plugin: [37m[8/3/2020, 12:00:53 PM]�[0m �[36m[HB Supervisor]�[0m Restarting Homebridge... My current plugin config is:
All of this was set via ConfigUI X and the config validated fine. |
Trying with just the ffmpeg plugin, I don't see video either. The log reflects only the following: [8/3/2020, 1:03:48 PM] [Camera FFmpeg] [Lounge-temp] An error occurred while making snapshot request: Error: spawn ffmpeg ENOENT Viewing the feed via the camera's rtsp address, in a browser, works fine. I assume therefore that the issue is ffmpeg, but I understood that this plugin had it's own deployment of ffmpeg. What else should I check? |
Got a bit further... installed camera-ffmpeg plugin, then installed/updated ffmpeg externally and was able to get the video to stream. Reinstalled the protect-motion plugin and it still fails, but the log now shows the following: [37m[8/3/2020, 3:45:37 PM] �[39m�[31mERROR LOADING PLUGIN homebridge-unifi-protect-camera-motion:�[39m Any ideas what I'm missing? |
Just one more thing to add, homebridge-unifi-protect is now installed and working fine. So, there is something specific to the motion plugin that seems to have an issue. Either an issue with the platform on which I'm trying to run it (MacOS native), or there's an install/config issue. I've used the same values to configure Unifi-protect and they seem to work. It would of course be nice to get the motion detection working, so would appreciate any suggestions or feedback based on the above. Thanks 👍 |
Could you try with: |
Hi, Same result I'm afraid. Homebridge just fails to load successfully once that is installed and config added. Uninstalling and removing the config, all is well again. |
The strange thing is that you are getting a: Signal: SIGILL message ==> illegal instruction EDIT: just installed [email protected] on my machine (osx catalina) and it works just fine. |
I'm afraid I've no idea how I would go about creating a second homebridge instance. Is there guidance on that somewhere? |
In your second log I don't see the SIGILL but I see this: Cannot find module 'axios' I added a new beta as there might have been some leftover files included in that build that might have caused this issue |
No joy. You're correct that the folder was still there, which I removed. Homebridge repeatedly fails to load until I remove the plugin (uninstall via Config UI fails, have to do via command line). Nothing useful showing in logs beyond the above. [8/5/2020, 4:43:46 PM] [HB Supervisor] Restarting Homebridge... |
Make a basic config.json file with only this plugin configured. |
Not sure if that worked, but I get the following output in terminal: wl21:node_modules homeserver$ homebridge -D -U /Users/homeserver/homebridge2 |
Hmm this seems really weird => Illegal instruction: 4 which is something, if coming from my plugin, which I've never seen before. |
If you fully remove the plugin and reinstall it, what does the full install log say? |
Closing due to inactivity |
Describe the bug
After installing this plugin via Config UI X, Homebridge repeatedly crashes during startup.
Specifications
What hardware and OS is your Homebridge running on?
Mac OS
Homebridge 1.2.0b33 (any issues with current beta?)
What Unifi hardware are you using
CKG2+
Flex-G3 camera
In case you have issues with streaming via FFMpeg, have you tried with https://www.npmjs.com/package/homebridge-camera-ffmpeg first, if not, do this first!
Will try
Logging
Debug is not showing any additional information. I can't even see the plugin loading in logs.
To Reproduce
Steps to reproduce the behavior:
I have checked that
Additional context
My homebridge install is otherwise stable and has been for many months. The Unifi camera is new, but is otherwise working perfectly. Is there any reason to suspect issues with the HB beta and this plugin?
The text was updated successfully, but these errors were encountered: