Page 26 of 27

Re: Siri / HomeKit support for Domoticz

Posted: Sunday 30 October 2016 11:07
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 ?

Re: Siri / HomeKit support for Domoticz

Posted: Monday 31 October 2016 9:53
by Marci
Seems to be common for folks running gnueabihf distros. That's where issue lies. All works fine with Raspbian...

Re: Siri / HomeKit support for Domoticz

Posted: Monday 31 October 2016 20:32
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?

Re: Siri / HomeKit support for Domoticz

Posted: Monday 31 October 2016 21:06
by Marci
It's a Ubuntu problem. Use Raspbian.

Re: Siri / HomeKit support for Domoticz

Posted: Thursday 03 November 2016 19:00
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?

Re: Siri / HomeKit support for Domoticz

Posted: Friday 04 November 2016 15:16
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...

Re: Siri / HomeKit support for Domoticz

Posted: Friday 04 November 2016 18:17
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.

Re: Siri / HomeKit support for Domoticz

Posted: Friday 04 November 2016 19:14
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)

Re: Siri / HomeKit support for Domoticz

Posted: Friday 04 November 2016 20:09
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?

Re: Siri / HomeKit support for Domoticz

Posted: Friday 04 November 2016 22:51
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...

Re: Siri / HomeKit support for Domoticz

Posted: Saturday 12 November 2016 20:16
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?

Re: Siri / HomeKit support for Domoticz

Posted: Sunday 13 November 2016 1:46
by Marci
Wiki is ancient. Use instructions in homebridge-edomoticz thread in this section of forums.

Re: Siri / HomeKit support for Domoticz

Posted: Monday 21 November 2016 14:29
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!

Re: Siri / HomeKit support for Domoticz

Posted: Tuesday 22 November 2016 12:54
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?

Re: Siri / HomeKit support for Domoticz

Posted: Wednesday 07 December 2016 15:38
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!

Re: Siri / HomeKit support for Domoticz

Posted: Friday 09 December 2016 20:29
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.

Re: Siri / HomeKit support for Domoticz

Posted: Saturday 24 December 2016 0:36
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.

Re: Siri / HomeKit support for Domoticz

Posted: Sunday 25 December 2016 10:40
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.

Re: Siri / HomeKit support for Domoticz

Posted: Sunday 08 January 2017 18:42
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?

Re: Siri / HomeKit support for Domoticz

Posted: Monday 06 February 2017 19:30
by EdddieN
Did you find the solution? I did exactly the same mistake