ebaauw / homebridge-rpi

Homebridge plugin for Raspberry Pi.
Apache License 2.0
311 stars 19 forks source link

error on rpi info run: hwmon/hwmon2/pwm1 #166

Closed andriilive closed 1 year ago

andriilive commented 1 year ago

I'm getting an error on rpi info run

homebridge@home:/var/lib/homebridge $ rpi info
rpi info: error: /sys/devices/platform/cooling_fan/hwmon/hwmon2/pwm1: cannot open: ENOENT no such file or directory

my /proc/cpuinfo

ebaauw commented 1 year ago

That's a bug alright, it should only access that file on the Pi 5.

You don't see a similar error for Homebridge RPi itself, do you?

andriilive commented 1 year ago

Do you mean the main Homebridge's log? It appears to be fine, as seen here: https://cln.sh/b40bnNQF

I am receiving warnings about bad permissions when switches are triggered, but I suspect this is related to my rootless Homebridge installation, rather than an issue with the plugin itself.

ebaauw commented 1 year ago

See https://github.com/ebaauw/homebridge-rpi#file-access

ebaauw commented 1 year ago

In v1.8.11.

andriilive commented 1 year ago

@ebaauw works now with no errors on v1.8.11, gj CleanShot 2023-11-20 at 15 58 31