NorthernMan54 / node-red-contrib-homebridge-automation

Homebridge and Node-RED Integration
Apache License 2.0
106 stars 18 forks source link

NodeRed restarts due to some bug #48

Closed MatsA closed 4 years ago

MatsA commented 4 years ago

Thanks for a nice plugin ! Have used Your node in the latest Hoobs install and it worked very well. But now testing I have got an issue on a fresh RPi 3, Buster Lite, install with the latest Homebridge 1.1.0, Node v12.16.3, please check log. HB_log.txt Any ideas ?

NorthernMan54 commented 4 years ago

Please update to the latest version and try again.

Tks goes to @dxdc for identifying the fix

MatsA commented 4 years ago

Thanks for quick response ! Did a npm install node-red-contrib-homebridge-automation NodeRed doesn't restart but instead homebridge never starts, even after uninstalling Your Node ?? HB2.txt Did a reinstall of homebridge but it didn't help....

NorthernMan54 commented 4 years ago

Those logs while being interesting don’t actually show what is going on.

On May 20, 2020, at 6:22 PM, MatsA notifications@github.com wrote:

Thanks for quick response ! Did a npm install node-red-contrib-homebridge-automation NodeRed doesn't restart but instead homebridge never starts, even after uninstalling Your Node ?? HB2.txt https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/files/4659565/HB2.txt — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/issues/48#issuecomment-631759196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEFGF3S6LCADV5Y4IEOG3RSRJYXANCNFSM4NFYOFXA.

MatsA commented 4 years ago

Ok, so how can I help ? A complete log from after a restart ?

NorthernMan54 commented 4 years ago

A log file showing the error is the best. Including the details around the outage

MatsA commented 4 years ago

Hi ! Did a fresh install and it seems that the homebridge server can't handle a service install with sudo hb-service install --port 80 --user pi so no blame on You ! Just learned that if changing to another port than default You must use a port number above 1024 due to permissions.

Thanks !