Siri / HomeKit support for Domoticz

Moderator: leecollings

ivom74
Posts: 52
Joined: Wednesday 03 September 2014 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by ivom74 »

Hello,
Is there a stable install? I had node and npm running along time and worked fine after some update of the kernel software.
I use raspberry 2 model b.

I got an error with the node install which i see a lot on the internet with the same problem but no solution.
Sometime they advise complete new kernel install... (jessie's ?)

Code: Select all

pi@raspberrypi ~/homebridge $ node -v
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.16' not found (required by node)
Any linux experts for help ?
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: Siri / HomeKit support for Domoticz

Post by Marci »

Seems to be common for folks running gnueabihf distros. That's where issue lies. All works fine with Raspbian...
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!
ivom74
Posts: 52
Joined: Wednesday 03 September 2014 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by ivom74 »

Marci wrote:Seems to be common for folks running gnueabihf distros. That's where issue lies. All works fine with Raspbian...
What do you mean? the distro image is the problem? What distribution do I need voor raspberry pi 2 model b?
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: Siri / HomeKit support for Domoticz

Post by Marci »

It's a Ubuntu problem. Use Raspbian.
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!
Mazzokun
Posts: 89
Joined: Thursday 28 April 2016 23:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Milan, Italy
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Mazzokun »

Hi all! I can start Homebridge and it work for some time, then it fail and says

Code: Select all

raspberrypi homebridge[6360]: already in device list!
. :shock: what does it mean?
schwermie
Posts: 3
Joined: Friday 04 November 2016 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie »

I just installed Domoticz from the SD card image "domoticz-raspberrypi-sdcard-4834.7z"
Domoticz runs smooth, but as i want to run homebridge i get a segmentation fault. Also on running npm -v or node -v.

Any help welcome. Thanks...
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: Siri / HomeKit support for Domoticz

Post by Marci »

Follow instructions for running homebridge-edomoticz in first post of the homebridge-edomoticz thread. The image contains node for arm7, and you're running it on arm6, so node needs removing and reinstalling.

All instructions are in that thread.
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!
schwermie
Posts: 3
Joined: Friday 04 November 2016 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie »

Thanks, i followed the instructions and node -v and npm -v both work. But when running homebridge i get this result:
Any ideas?

Code: Select all

pi@raspberrypi:~$ homebridge 
/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:35
    throw ex;
    ^

Error: Module version mismatch. Expected 48, got 46.
    at Error (native)
    at Object.Module._extensions..node (module.js:568:18)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:24:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
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: Siri / HomeKit support for Domoticz

Post by Marci »

Head into the homebridge folder and run sudo npm rebuild

EDIT: noticed you still have homebridge in /usr/lib/ - which instructions did you follow? Presume you went for Method 1?
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!
schwermie
Posts: 3
Joined: Friday 04 November 2016 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie »

I did a reinstall as mentioned in the post. Homebridge starts and i see all the switches.

But when i switch nothing happens. Need to look into this issue. Any suggestions welcome.
Thanks for your help...
Ewout51
Posts: 2
Joined: Monday 22 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Ewout51 »

Hello,

I folowed the instructions on te WiKi. i had homebridge running on my old phone. somehow it doesnt work on my new phone.
i made a complete new installation. at the end i get this error when i want to start Homebridge:

pi@raspberrypi:~/homebridge$ npm run start
npm ERR! Linux 4.1.18-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7

npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/homebridge/npm-debug.log
pi@raspberrypi:~/homebridge$


Anything i overlooked?
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: Siri / HomeKit support for Domoticz

Post by Marci »

Wiki is ancient. Use instructions in homebridge-edomoticz thread in this section of forums.
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!
User avatar
rolandbreedveld
Posts: 156
Joined: Wednesday 09 March 2016 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

Re: Siri / HomeKit support for Domoticz

Post by rolandbreedveld »

I can't get homebridge working with the iOS Home-app
I can add the devices with the Home-app, this works fine,
but after that, all devices are showing the state "No Reaction"
I can use the EVE-app, this works perfect, also with devices created with the Home-app!
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
thebeetleuk
Posts: 115
Joined: Saturday 21 December 2013 23:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: Siri / HomeKit support for Domoticz

Post by thebeetleuk »

ivom74 wrote:
Marci wrote:Seems to be common for folks running gnueabihf distros. That's where issue lies. All works fine with Raspbian...
What do you mean? the distro image is the problem? What distribution do I need voor raspberry pi 2 model b?
Did you manage to solve this?
My Setup: Pi, RFXtrx433, HomeEasy: 13 Dimmers & 4 Sockets, 2 motion-sensors, 3 magnetic switches, 1 OWL Electricity Sensor, 3 Oregon Temp Sensor.
harrykausl
Posts: 177
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: Siri / HomeKit support for Domoticz

Post by harrykausl »

Homekit runs on my raspberry. But I have also installed the edomoticz-homebridge plugin. There I have some problems. So I looked at the homebridge.err file and found some problems. How can I fix this?

I tried : sudo apt-get install avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev

but the error still occurs. Thanks a lot!
Attachments
homebridge_err.txt
(1.19 KiB) Downloaded 128 times
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: Siri / HomeKit support for Domoticz

Post by Marci »

When TheRamon said ask the homebridge guys, that means go to the homebridge site over on GitHub and report in their 'issues' section.

No-one here has anything to do with Homebridge itself.
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!
MartinG
Posts: 1
Joined: Sunday 19 April 2015 21:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by MartinG »

How do i install it on my synology nas ds116.

i have search a verry long time but didn't find the answer.

Thanks for the help.
harrykausl
Posts: 177
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: Siri / HomeKit support for Domoticz

Post by harrykausl »

Is there any possibility to make the comands more understandable for siri. Some comands for may blinds work, others not, Siri looks for an app ore something like this instead of opening my blinds in my living room.In other rooms it works. I changed in eve the siri names, but this doesn't help. Can I force Siri to look at first at home devices by changing the name of the devices.
matv
Posts: 8
Joined: Sunday 08 January 2017 18:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: EU
Contact:

Re: Siri / HomeKit support for Domoticz

Post by matv »

v40jlt4 wrote:
maikelske wrote:...
I just spend a few hours having the same issue.

The wiki assumes homebridge is not installed but the most recent rPi2 images have homebridge installed, but in a different location!
The wiki does mention the fact that in the case you have that more recent image, you should skip to "configure", but as of that point the wiki cannot be used. Should be adapted,

It assumes homebridge to be installed in /home/pi/homebridge, but it's in /usr/lib/node_modules/homebridge

you can try to apply the wiki directions there. But you might have to change permissions:

cd /usr/lib/node_modules/
sudo chown -R pi homebridge

npm run start still gave the start script missing error.
That's because there's no start in package.json.
So I tried npm run dev (there's a dev in there).

Now it works with the new ios10 "woning" app.
Unfortunately I also used this old Wiki, before learning about Marci his instructions which I should have used.. (viewtopic.php?f=36&t=10272)

My question is; what is the correct way to remove all files created by the out-of-date- Wiki instructions?
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Siri / HomeKit support for Domoticz

Post by EdddieN »

Did you find the solution? I did exactly the same mistake
11101101 - www.machinon.com
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests