-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot spawn vcgencmd yet getting temp updates #28
Comments
ENOENT generally means: "no such file or directory". Are you running Homebridge natively on a Raspberry Pi? What does
Do you get the warning every 15 seconds (or whatever you've set Heartrate to), or only intermittently? Homebridge RPi will return the previously cached values if it cannot refresh them.
What's your setup? Do you run Homebridge on each Pi, or do you access one remotely?
RTFM:
EDIT I've added this text to the release notes and the Installation section. |
Homebridge RPi detects whether a configured host is the local Pi, by comparing the serial number from the Could you try, in the container:
I have no experience running Docker at home. Do you know how I can detect from Javascript that I'm running in a container? |
- Check for empty config.json no longer needed, as Homebridge no longer calls constructor for dynamic platform plugins not listed in config.json. - Better `localhost` handling, see #28.
Check if `localhost` is running inside a container, see #28.
Could you try v1.1.2-0? Install through This version should detect whether it's running inside a container. I don't run Docker myself, so cannot test it. Could you run
Also, the |
I first joined this project on v0.0.5 and have had no issues in the past, so I came to the conclusion my set up was OK, but I could be wrong of course. I have two RPis, one runs Homebridge inside Docker, the other is on the same Lan and has nothing to do with Homebridge, it's solely used as my home vpn, to access home from the outside.
I believe I cannot run that command due to using Docker. So unfortunately I don't think I can run any
Yep, regularly at the heartbeat.
I swear I did, but I may have skipped the prerequisites section this time around 😬
Well, I can see the updates below in the logs (pivpn is the Raspberry Pi that shows no issue,
It's just plain weird that I can see the temperature of Finally fwiw, running
So everything seems configured as expected...
I'm afraid I'm not going to be able to help here. I might try and "start fresh" tomorrow. I imagine that deleting the plugin from Homebridge and doing all the installation steps backwards is all I need to clean things up...? Once again, I really appreciate your time helping here. I'll also try and find a way to run |
You're really going to hate Docker by now, but I promise it's really awesome! You don't install plugins using the CLI when running Homebridge containerised, but instead only through the GUI, in my case the notorious This one might be too hard to try and figure out, it's a shame because I really enjoyed using this great plugin. Maybe someone else will be able to chip in in the future... Thanks Erik. |
ps: turns out Home doesn't keep updating the temperature of
|
Ok, thanks for the info. I think it paints a clear picture:
On startup, Homebridge RPi:
Yeah, until I had to introduce some breaking changes...
You should be able to run them from the Terminal in Homebridge Config UI X. Same for the manual install command.
I added the text to the release notes and to the Installation section, so it's not so easy to overlook.
Found something on stackexchange.com, but cannot test this myself. Hence the beta version. It doesn't seem to break my (non-container) installations, so I'll push it as full version, so you can update from Config UI X. |
Could you try v1.1.3? |
Hi. I got straight to v1.1.4 by the time I got your comment. On first reboot this is the output of hb-rpi:
Now I don't get the The Home tile of Pi4 gets its updates again, so that works now, very well done! I'm not sure what the warning indicates, a file left opened maybe? Edit: Today I found out Sony UK manufactures Raspberry pis. |
I does mean another file handle is open. That could be valid if you have another |
I didn't even have to confirm the issue was fixed, you knew already 😉 restarted |
Sorry, I closed the issue, because the original problem with |
Thanks for this new update, it's very neat!
I'm getting this warning in the server logs and can't figure it out, maybe you have an idea?
pi4: warning: vcgencmd: cannot spawn vcgencmd: ENOENT
Yet, I'm getting the updated temperature in the Home tile, which doesn't make sense?
I also have 2 pis and only one has the issue. I've followed the same update instructions from release 1.1.1 for both pis.
Also, for anyone running Homebridge in Docker, you need to follow the v.1.1.1 update instructions for the remote remote configuration, even if it runs locally. I had a bunch of errors that were resolved once I reinstated Remote GPIO and /opt/pigpio/access
Thanks in advance (also thanks for adding the ability to hide the temp/cpu updates in the logs #20 )
The text was updated successfully, but these errors were encountered: