HomeBridge issue

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
m0rph13
Posts: 18
Joined: Sunday 31 January 2016 1:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

HomeBridge issue

Post by m0rph13 »

Hi There.
I installed Domoticz on my Pi using the SD image domoticz-raspberrypi-sdcard-3530, which is to include homebridge.
When I try to start homebridge the following error occurs

Code: Select all

Starting HomeBridge server...
...
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] Initializing device with name Lampa1...
[Domoticz] Loaded services for Lampa1
Cannot find secret key, creating One...
/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56
  dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
         ^
Error: dns service error: unknown
    at Error (native)
    at new Advertisement (/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:56:10)
    at Object.create [as createAdvertisement] (/home/pi/homebridge/lib/HAP-NodeJS/node_modules/mdns/lib/advertisement.js:64:10)
    at Object.startAdvertising (/home/pi/homebridge/lib/HAP-NodeJS/Advertiser.js:7:28)
    at Object.publishAccessory (/home/pi/homebridge/lib/HAP-NodeJS/Accessory.js:10:29)
Anyone know what could be causing this?
m0rph13
Posts: 18
Joined: Sunday 31 January 2016 1:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

Re: HomeBridge issue

Post by m0rph13 »

The path to the solution is probably now to remove all the pre-installed homebridge stuff and go with the latest homebridge and the new domoticz plugin on top, thanks to this thread : viewtopic.php?f=36&t=10272&p=72773#p72773

Unfortunately, the song remains the same.
libavahi-compat-libdnssd-dev seems to be the latest..
User avatar
Marci
Posts: 531
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

HomeBridge issue

Post by Marci »

No need to remove the old, just stop using / stop it from loading at boot and install latest from npm - it ends up in / runs from a different location with it's own persist folder and config file.
m0rph13 wrote:new domoticz plugin on top, thanks to this thread : viewtopic.php?f=36&t=10272&p=72773#p72773

Unfortunately, the song remains the same.
libavahi-compat-libdnssd-dev seems to be the latest..
Sorry - are you saying this also occurs with eDomoticz & latest Homebridge?
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
m0rph13
Posts: 18
Joined: Sunday 31 January 2016 1:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Contact:

Re: HomeBridge issue

Post by m0rph13 »

Sorry - are you saying this also occurs with eDomoticz & latest Homebridge?
I am sorry, I lost patience and started over with a clean Raspian and installed everything manually and after that I have not seen this issue.
I will probably revisit in the near future though, so will take notes on all steps taken at that time.
User avatar
Marci
Posts: 531
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: HomeBridge issue

Post by Marci »

Heh - safest solution sometimes...!
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest