Page 1 of 1

Homebridge no response

Posted: Saturday 28 March 2020 11:45
by djac
Hi,

Start separate thread on my Homebridge issues, appreciate any help.

After Domoticz upgrade, including OS to Buster, Homebridge stopped working. Have tried upgrading and reinstalling but no difference. Can the below out put give any clues to resolution?

Thanks in advance

pi@domrasp:~ $ homebridge
[3/28/2020, 11:39:37 AM] Loaded config.json with 0 accessories and 1 platforms.
[3/28/2020, 11:39:37 AM] ---
[3/28/2020, 11:39:38 AM] Plugin /usr/lib/node_modules/homebridge-config-ui-x req uires Node version of >=8.15.1 which does not satisfy the current Node version o f v6.17.1. You may need to upgrade your installation of Node.
[3/28/2020, 11:39:38 AM] Loaded plugin: homebridge-config-ui-x
[3/28/2020, 11:39:38 AM] Registering platform 'homebridge-config-ui-x.config'
[3/28/2020, 11:39:38 AM] ---
[3/28/2020, 11:39:42 AM] Loaded plugin: homebridge-edomoticz
[3/28/2020, 11:39:42 AM] Registering platform 'homebridge-edomoticz.eDomoticz'
[3/28/2020, 11:39:42 AM] ---
[3/28/2020, 11:39:42 AM] Loading 1 platforms...
[3/28/2020, 11:39:42 AM] [Domoticz] Initializing eDomoticz platform...
[3/28/2020, 11:39:42 AM] Loading 0 accessories...
HAP Warning: Characteristic undefined not in required or optional characteristic s for service 24a8d81a-3d7b-4965-9086-7edc3ef4fab3. Adding anyway.
Setup Payload:
X-HM://0023ISYWY2FG0
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:


[3/28/2020, 11:39:43 AM] [Domoticz] synchronizeAccessories in progress...
[3/28/2020, 11:39:43 AM] Homebridge is running on port 51826.
[3/28/2020, 11:39:45 AM] [Domoticz] Successfully connected to MQTT broker.
[3/28/2020, 11:39:46 AM] TypeError: "list" argument must be an Array of Buffers
at Function.Buffer.concat (buffer.js:314:13)
at Object.encode (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/l ib/util/tlv.js:26:35)
at Object.encode (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/l ib/util/tlv.js:51:39)
at HAPServer._handlePairVerifyStepOne (/usr/lib/node_modules/homebridge/node _modules/hap-nodejs/lib/HAPServer.js:543:21)
at HAPServer._handlePairVerify (/usr/lib/node_modules/homebridge/node_module s/hap-nodejs/lib/HAPServer.js:505:10)
at HAPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap- nodejs/lib/HAPServer.js:209:39)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:978:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
[3/28/2020, 11:39:46 AM] Got SIGTERM, shutting down Homebridge...
[3/28/2020, 11:39:46 AM] TypeError: "list" argument must be an Array of Buffers
at Function.Buffer.concat (buffer.js:314:13)
at Object.encode (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/l ib/util/tlv.js:26:35)
at Object.encode (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/l ib/util/tlv.js:51:39)
at HAPServer._handlePairVerifyStepOne (/usr/lib/node_modules/homebridge/node _modules/hap-nodejs/lib/HAPServer.js:543:21)
at HAPServer._handlePairVerify (/usr/lib/node_modules/homebridge/node_module s/hap-nodejs/lib/HAPServer.js:505:10)
at HAPServer.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap- nodejs/lib/HAPServer.js:209:39)
at emitNone (events.js:86:13)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:978:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
pi@domrasp:~ $

Re: Homebridge no response

Posted: Saturday 28 March 2020 11:51
by Naqua
disable mqtt in eDomoticz plugin and see if it works

if it works then its probably related to: https://www.domoticz.com/forum/viewtopi ... =6&t=31711

You will get other problems as apple app not refreshing correctly and manually operated switches don't update in homebridge.

please let me know if this post helps.

Re: Homebridge no response

Posted: Sunday 29 March 2020 13:07
by djac
Thanks for this, I disabled MWTT from the GUI, under the Hardware tab, is that what you mean, in that case I see no difference?

To be clear, in the Home app I get no response from any device.

As I understand it rebuilding from scratch, on a new memory card, wont avoid these issues?

And if the above is true, and I still want to use Domoticz with HomeKit, at what version should I rebuild and can I still use the latest configuration files and my settings?

Looking at the linked topic I understand it on a high level, but I am too little of a programmer to be able to draw all conclusions, but it looks to me like the combination Domoticz and Homekit will come to an end. Can this be the right conclusion, or am I just misreading things?

Thanks for patience.

Re: Homebridge no response

Posted: Sunday 29 March 2020 16:03
by Naqua
Hello,

No i meant disabling MQTT in the eDomoticz plugin. In Domoticz under the hardware tab it must remain enabled.
Just go into the Homebridge Gui-Select plugins-Find the eDomoticz plugin, click settings->advanced and disable MQTT.

Re: Homebridge no response

Posted: Sunday 29 March 2020 16:45
by djac
Naqua wrote: Sunday 29 March 2020 16:03 Hello,

No i meant disabling MQTT in the eDomoticz plugin. In Domoticz under the hardware tab it must remain enabled.
Just go into the Homebridge Gui-Select plugins-Find the eDomoticz plugin, click settings->advanced and disable MQTT.
Hi, I don't have the GUI installed, can I do this elsewhere?

Update, found a switch in .homebridge/config.json and set that to 0 "mqtt": 0 , unfortunately I don't see any difference.

Re: Homebridge no response

Posted: Friday 03 April 2020 10:53
by djac
An update, continued on 2020 and downgraded HomeBridge to an earlier version, that actually solved the problem with the connection to my Homekit. Unfortunately some devices where missing and I couldn't get them to show up so I had to revert to Domoticz 4.10717.

It's a shame as I liked 2020 better