NorthernMan54 / node-red-contrib-homebridge-automation

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

homebridge is not running in insecure mode with -I #43

Closed Nastras closed 4 years ago

Nastras commented 4 years ago

Hello @NorthernMan54 ,

after the update from homebridge to v1.0.0 my homebridge instances are no longer accessible in node-red-contrib-homebridge-automation. In the log I get the following error:

Apr 27 09:16:11 SHS Node-RED[3661]: 2020-04-27T07:16:11.220Z hapNodeJSClient HAP Discover failed nodered-dummy instance http://192.168.178.11:36087 invalid PIN or homebridge is not running in insecure mode with -I

The Homebridge-option file is unchanged and the value -I is set. HOMEBRIDGE_OPTS=-I -C -T -Q -U /var/homebridge-hue

do you have an idea?

Thank you!

NorthernMan54 commented 4 years ago

Please update to the latest version of node-red-contrib-homebridge-automation and try again. A couple of changes were needed to support v1.0.0 of homebridge.

Sent from my iPad

On Apr 27, 2020, at 3:28 AM, Nastra notifications@github.com wrote:

 Hello @NorthernMan54 ,

after the update from homebridge to v1.0.0 my homebridge instances are no longer accessible in node-red-contrib-homebridge-automation. In the log I get the following error:

Apr 27 09:16:11 SHS Node-RED[3661]: 2020-04-27T07:16:11.220Z hapNodeJSClient HAP Discover failed nodered-dummy instance http://192.168.178.11:36087 invalid PIN or homebridge is not running in insecure mode with -I

The Homebridge-option file is unchanged and the value -I is set. HOMEBRIDGE_OPTS=-I -C -T -Q -U /var/homebridge-hue

do you have an idea?

Thank you!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

b2un0 commented 4 years ago

we can't upgrade because 0.0.59 is listed here https://flows.nodered.org/node/node-red-contrib-homebridge-automation

(im using Node-RED within docker)

NorthernMan54 commented 4 years ago

That page is only updated occasionally, the most recent version is listed here

https://www.npmjs.com/package/node-red-contrib-homebridge-automation

v0.0.61

Nastras commented 4 years ago

I have done the update now, unfortunately the problem still exists? After the update I restarted node-red.

2B93D2E3-5287-4659-BBF7-A6581A16DDEE

Nastras commented 4 years ago

Just noticed that it has not loaded in node-red but not even after a reboot.

BD607AFB-954D-42F8-A462-DAD06C085C27

NorthernMan54 commented 4 years ago

Look at the error message in detail, those appear to coming from node-red and not Homebridge. Are you using HomeKit-bridged in Node-Red?

Nastras commented 4 years ago

Are you using HomeKit-bridged in Node-Red?

Yes

NorthernMan54 commented 4 years ago

There is a setting in HomeKit-bridged to allow insecure access

But with that said homebridge-automation should be working for you.

Nastras commented 4 years ago

Sorry for the late reply. It's working again now. Thanks a lot!