ebaauw / homebridge-rpi

Homebridge plugin for Raspberry Pi.
Apache License 2.0
305 stars 18 forks source link

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

Closed andriilive closed 7 months ago

andriilive commented 7 months 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 7 months 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 7 months 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 7 months ago

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

ebaauw commented 7 months ago

In v1.8.11.

andriilive commented 7 months ago

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