Siri / HomeKit support for Domoticz

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

Re: Siri / HomeKit support for Domoticz

Post by ivom74 » Sunday 30 October 2016 12:07

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

[email protected] ~/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: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Monday 31 October 2016 10:53

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: 136
Joined: Wednesday 03 September 2014 22:23
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by ivom74 » Monday 31 October 2016 21:32

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: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Monday 31 October 2016 22:06

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: 83
Joined: Thursday 28 April 2016 23:55
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Milan, Italy
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Mazzokun » Thursday 03 November 2016 20:00

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: 4
Joined: Friday 04 November 2016 16:09
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie » Friday 04 November 2016 16:16

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: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Friday 04 November 2016 19:17

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: 4
Joined: Friday 04 November 2016 16:09
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie » Friday 04 November 2016 20:14

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

[email protected]:~$ 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: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Friday 04 November 2016 21:09

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: 4
Joined: Friday 04 November 2016 16:09
Target OS: Raspberry Pi
Domoticz version: 3.5837
Location: Belgium
Contact:

Re: Siri / HomeKit support for Domoticz

Post by schwermie » Friday 04 November 2016 23:51

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
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Ewout51 » Saturday 12 November 2016 21:16

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:

[email protected]:~/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
[email protected]:~/homebridge$


Anything i overlooked?

User avatar
Marci
Posts: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Sunday 13 November 2016 2:46

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: 61
Joined: Wednesday 09 March 2016 12:25
Target OS: Raspberry Pi
Domoticz version: stable
Contact:

Re: Siri / HomeKit support for Domoticz

Post by rolandbreedveld » Monday 21 November 2016 15:29

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 Pi2+3 | P1 SmartMeter | Z-Wave Razberry 2.0 | 4 Greenwave devices | FIBARO FGS223 +FGRM222 | Aerotec MultiSensor 6 | 4 NeoCoolCam PowerPlug | Logitech Harmony Hub | FritzBox
Interface to 123Solar + PowerOne 3.0 and SMA SB1200

thebeetleuk
Posts: 249
Joined: Sunday 22 December 2013 0:50
Target OS: Linux
Domoticz version:
Location: Scotland
Contact:

Re: Siri / HomeKit support for Domoticz

Post by thebeetleuk » Tuesday 22 November 2016 13:54

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: 53
Joined: Sunday 13 November 2016 11:43
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Germany
Contact:

Re: Siri / HomeKit support for Domoticz

Post by harrykausl » Wednesday 07 December 2016 16:38

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 39 times

User avatar
Marci
Posts: 463
Joined: Friday 22 January 2016 19:00
Target OS: Raspberry Pi
Domoticz version: 2.3530
Location: Wakefield, West Yorkshire UK
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Marci » Friday 09 December 2016 21:29

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
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by MartinG » Saturday 24 December 2016 1:36

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: 53
Joined: Sunday 13 November 2016 11:43
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Germany
Contact:

Re: Siri / HomeKit support for Domoticz

Post by harrykausl » Sunday 25 December 2016 11:40

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: 23
Joined: Sunday 08 January 2017 19:26
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: EU
Contact:

Re: Siri / HomeKit support for Domoticz

Post by matv » Sunday 08 January 2017 19:42

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: 138
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: Scotland
Contact:

Re: Siri / HomeKit support for Domoticz

Post by EdddieN » Monday 06 February 2017 20:30

Did you find the solution? I did exactly the same mistake

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest