Closed carlosanunes closed 3 years ago
Solved.
The necessary libraries for Alpine are: bluez, libudev-zero and libudev-zero-dev.
Full command list to be executed in docker:
apk add bluez apk --no-cache add libudev-zero --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community apk --no-cache add libudev-zero-dev --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
setcap cap_net_raw+eip $(eval readlink -f which node
) # for permissions
After this, the plugin can be installed.
I am trying to install the plugin in a Alpine Linux Homebridge Docker Image.
Expected Behavior
Plugin should be installed and running.
Current Behavior
When starting homebridge the 'EAFNOSUPPORT, Address family not supported by protocol' message is shown.
Steps to Reproduce (for bugs)
Install 'bluez', 'libudev-zero', 'libudev-zero-dev' ( As Alpine does not have the same library packages as specified for Ubuntu/Debian ) Run the 'npm install -g --unsafe-perm homebridge-mi-hygrothermograph' command which although with a few warnings manages to install the plugin without errors. Start Homebridge
Versions
1.2.5
homebridge-mi-hygrothermograph@3.0.3
v14.15.4
Homebridge Log / Command Output