hannseman / homebridge-mi-hygrothermograph

Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
MIT License
264 stars 52 forks source link

issues with cap_net_raw priviliges #188

Closed chris-008 closed 7 months ago

chris-008 commented 1 year ago

Hi guys, I'm pretty close to having my LYWSD03MMC installed :-)

While granting the node binary privilige however, i get following issue:

chris@orangepizero:~$ sudo setcap cap_net_raw+eip $(eval readlink -f which node) readlink: missing operand Try 'readlink --help' for more information. usage: setcap [-q] [-v] [-n ] (-r|-|) [ ... (-r|-|) ]

Note must be a regular (non-symlink) file.

I'm not that experienced in coding, it's all a bit new to me, so any help is much appreciated. thanks for your kind help!

chris-008 commented 1 year ago

Versions homebridge: 1.6.1 node: v16.13.1 OS: orangepizero with Armbian and homebridge

monkeycatdog commented 11 months ago

yeah,

I installed the plugin on my orange pi (ubuntu) and just tried to do this cmd via super user. but there is no effect (no data from device, meanwhile it was working on mac)