Unsupported platform for xpc-connection
pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-mi-hygrothermograph
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/homebridge-mi-hygrothermograph/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

+ homebridge-mi-hygrothermograph@1.5.0
updated 1 package in 107.426s

My device is raspberry pi zeroW arm6l