Siri / HomeKit support for Domoticz
Moderator: leecollings
-
- Posts: 5
- Joined: Friday 04 September 2015 13:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2
- Contact:
Re: Siri / HomeKit support for Domoticz
Seems like many have trouble getting homekit working on pi2?? Trying to find a solution too.tcviper wrote:Trying to update it to Jessie now, I read somewhere that might help
http://node-arm.herokuapp.com/
Tell us if it works for you =)
- tcviper
- Posts: 89
- Joined: Monday 30 June 2014 13:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
Yep, updating raspbian to jessie worked as in the link i pasted above.
- tcviper
- Posts: 89
- Joined: Monday 30 June 2014 13:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
This procedure is very cool however, when rebooting it didnt start, when i then manually enter pm2 start app.js --name HomeBridge it works but when i reboot it ha s nothiing in pm2 list. Any idea?Eduard wrote:i got my HomeBridge running with autostart @reboot (rpi)
I used PM2 instead of forever. If you follow the instructions below, it will autostart HomeBridge after a reboot of you pi...Edit /etc/init.d/pm2-init.sh so thatCode: Select all
sudo npm install pm2 -g cd ~/homebridge/ pm2 start app.js --name HomeBridge pm2 save pm2 startup raspberry sudo su -c "env PATH=$PATH:/usr/local/bin pm2 startup raspberry -u pi" sudo chmod +x /etc/init.d/pm2-init.sh
export PM2_HOME="/home/pi/.pm2"
(was export PM2_HOME="/root/.pm2" but this causes errors)
Reboot and check proceslist...Code: Select all
sudo update-rc.d pm2-init.sh defaults
Should something look like...Code: Select all
sudo reboot pm2 list
Enjoy!Code: Select all
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬────────────┬──────────┐ │ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │ ├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼────────────┼──────────┤ │ HomeBridge │ 0 │ fork │ 9092 │ online │ 0 │ 0s │ 9.113 MB │ disabled │ └────────────┴────┴──────┴──────┴────────┴─────────┴────────┴────────────┴──────────┘
-
- Posts: 5
- Joined: Monday 05 May 2014 2:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Done, but still the same issueHeisenberg wrote:Try updating Domoticz.js. Then sudo reboot and see if it helps:charlysquare wrote:not better
https://github.com/nfarina/homebridge/b ... omoticz.js
Code: Select all
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] There was a problem connecting to Domoticz.
-
- Posts: 10
- Joined: Monday 30 September 2013 22:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
I can't for the life of me find the persists file/folder!
Everything else is working fine. Just can't add the devices perviously added as I need to find 'persists'.
Anyone know where it is?
Everything else is working fine. Just can't add the devices perviously added as I need to find 'persists'.
Anyone know where it is?
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
you can find it in the homebridge folder: cd ~/homebridge/persist/asmithdub wrote:I can't for the life of me find the persists file/folder!
Everything else is working fine. Just can't add the devices perviously added as I need to find 'persists'.
Anyone know where it is?
btw, you don't need to manually add the devices anymore with the latest Homebridge: https://github.com/nfarina/homebridge/w ... tion-Guide
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 10
- Joined: Monday 30 September 2013 22:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Thanks for that!Heisenberg wrote:you can find it in the homebridge folder: cd ~/homebridge/persist/asmithdub wrote:I can't for the life of me find the persists file/folder!
Everything else is working fine. Just can't add the devices perviously added as I need to find 'persists'.
Anyone know where it is?
btw, you don't need to manually add the devices anymore with the latest Homebridge: https://github.com/nfarina/homebridge/w ... tion-Guide
Just installed homebridge yesterday. The devices are still showing up individually in Eve. Any ideas?
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
Try resetting Homekit Configuration on your IOS device: Settings -> Privacy -> HomekitJust installed homebridge yesterday. The devices are still showing up individually in Eve. Any ideas?
After that start Eve again
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 10
- Joined: Tuesday 28 July 2015 22:04
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Contact:
Re: Siri / HomeKit support for Domoticz
Really, I'm going to search for that one, once I've got an update, I will let it know hereG3rard wrote: I did try it but couldn't get it working. It was some while ago so don't know anymore what didn't work.
However Nodejs 0.12 is part of the Synology packages. You could try that. Please share your results.
-
- Posts: 10
- Joined: Monday 30 September 2013 22:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Thanks again. Removed and reinstalled homebridge.Heisenberg wrote:Try resetting Homekit Configuration on your IOS device: Settings -> Privacy -> HomekitJust installed homebridge yesterday. The devices are still showing up individually in Eve. Any ideas?
After that start Eve again
persist doesn't seem to exist anymore and devices are still missing from 'add accessories an Eve'. No homebridge option either.
very strange!
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Siri / HomeKit support for Domoticz
Hi Guys,
After a while away from this I thought I'd give it another go. After installing nodes 0.12.6 and getting NPM installed I ran it and I get this error... Any ideas? Could it be to do with the new updated homebridge?
Cheers
After a while away from this I thought I'd give it another go. After installing nodes 0.12.6 and getting NPM installed I ran it and I get this error... Any ideas? Could it be to do with the new updated homebridge?
Code: Select all
[Domoticz] Loaded services for Curtains Open Off
[Domoticz] Initializing platform accessory 'Curtains Open On'...
[Domoticz] Loaded services for Curtains Open On
[Domoticz] Initializing platform accessory 'Early F1 Bedroom Power'...
[Domoticz] Loaded services for Early F1 Bedroom Power
[Domoticz] Initializing platform accessory 'Early F1 Bedroom Watch'...
[Domoticz] Loaded services for Early F1 Bedroom Watch
[Domoticz] Initializing platform accessory 'Film Remote'...
[Domoticz] Loaded services for Film Remote
[Domoticz] Initializing platform accessory 'Home'...
[Domoticz] Loaded services for Home
/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:164
throw new Error("Cannot add a bridged Accessory with the same UUID as an
^
Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 70f8bb9a-8a53-493e-b080-507a89e4b98d
at Bridge.Accessory.addBridgedAccessory (/home/pi/homebridge/node_modules/HAP-NodeJS/lib/Accessory.js:164:13)
at /home/pi/homebridge/app.js:135:18
at /home/pi/homebridge/node_modules/HAP-NodeJS/lib/util/once.js:15:19
at callbackLater (/home/pi/homebridge/platforms/Domoticz.js:96:53)
at Request._callback (/home/pi/homebridge/platforms/Domoticz.js:160:6)
at Request.self.callback (/home/pi/homebridge/node_modules/request/request.js:373:22)
at Request.emit (events.js:110:17)
at Request.<anonymous> (/home/pi/homebridge/node_modules/request/request.js:1318:14)
at Request.emit (events.js:129:20)
at IncomingMessage.<anonymous> (/home/pi/homebridge/node_modules/request/request.js:1266:12)
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: Siri / HomeKit support for Domoticz
I indeed had to upgrade to Jessie on my RPiB+, reinstall node 4.0.0. Only then everything compiled properly and homebridge finally started. Yay!!
Interestingly though... Eve was able to get devices but Insteon never saw any device. But what worried me was that when I change some device name or restart homebridge, more often than not, Eve couldn't connect or find anything. It was like a roulette..sometimes it works, sometimes it doesn't. Strangely, requesting homebridge via the browser always returned the proper data in the response. So maybe Eve sometimes couldn't bonjour it's way into homebridge?
Interestingly though... Eve was able to get devices but Insteon never saw any device. But what worried me was that when I change some device name or restart homebridge, more often than not, Eve couldn't connect or find anything. It was like a roulette..sometimes it works, sometimes it doesn't. Strangely, requesting homebridge via the browser always returned the proper data in the response. So maybe Eve sometimes couldn't bonjour it's way into homebridge?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- Thyraz
- Posts: 7
- Joined: Friday 28 August 2015 13:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Siri / HomeKit support for Domoticz
Is the new HomeBridge where we don't have to add the single devices already in the beta repo for Domoticz on Raspberry?
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Siri / HomeKit support for Domoticz
Anyone have this working with the new homebridge? I followed wiki to the letter and it doesn't work... Hmmm
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
I have no problems here. Siri is working stable since the last two weeks.simon_rb wrote:Anyone have this working with the new homebridge? I followed wiki to the letter and it doesn't work... Hmmm
What exactly doesn't work? Could you post more details like logs, screenshots or just more info of your errors?
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 27
- Joined: Tuesday 28 October 2014 22:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
hello,
i have install a raspberry sd image on my raspberry witch contains hombridge.
how can i update homebridge to the last version?
i have install a raspberry sd image on my raspberry witch contains hombridge.
how can i update homebridge to the last version?
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Siri / HomeKit support for Domoticz
Thank you, there is a bit of a log a couple of of posts above..Heisenberg wrote:I have no problems here. Siri is working stable since the last two weeks.simon_rb wrote:Anyone have this working with the new homebridge? I followed wiki to the letter and it doesn't work... Hmmm
What exactly doesn't work? Could you post more details like logs, screenshots or just more info of your errors?
Cheers
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: Siri / HomeKit support for Domoticz
hello everyone, this is my first post and i don't want it to be a cry for help so i will word it slightly different
i have domoticz as my main HA system, sent my vera back and its working almost flawlessly... i am using openmediavault (based on debian) and also have homebridge running which is almost flawless as well, but i have a strange occurrence which i doubt it anything to do with Domoticz but someone on here may have an idea..
when i ask siri to turn up / down the temp on my nest it does do what i ask, but it replies with:
Ok i have set the 0000004A-0000-1000-8000-0026BB to 19 degrees ?!?!?
i tried changing the name in the Eve app and also changing the siri name in eve but i cannot get it to stop calling nest 0000004A-0000-1000-8000-0026BB
the "shim" has nest as the name as well... i cannot find a single thing about it on google, and the developers only seem to have git accounts which i don't have.
does anyone have any pointers ?
cheers
i have domoticz as my main HA system, sent my vera back and its working almost flawlessly... i am using openmediavault (based on debian) and also have homebridge running which is almost flawless as well, but i have a strange occurrence which i doubt it anything to do with Domoticz but someone on here may have an idea..
when i ask siri to turn up / down the temp on my nest it does do what i ask, but it replies with:
Ok i have set the 0000004A-0000-1000-8000-0026BB to 19 degrees ?!?!?
i tried changing the name in the Eve app and also changing the siri name in eve but i cannot get it to stop calling nest 0000004A-0000-1000-8000-0026BB
the "shim" has nest as the name as well... i cannot find a single thing about it on google, and the developers only seem to have git accounts which i don't have.
does anyone have any pointers ?
cheers
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
-
- Posts: 43
- Joined: Sunday 26 October 2014 22:11
- Target OS: Linux
- Domoticz version:
- Location: france
- Contact:
Re: Siri / HomeKit support for Domoticz
Hi
first thanks for all works very good job
I use nfarina homebridge with domoticz 2524 and all is ok for light
But is it possible to recognize blind and temp information
Thanks a lot
first thanks for all works very good job
I use nfarina homebridge with domoticz 2524 and all is ok for light
But is it possible to recognize blind and temp information
Thanks a lot
Who is online
Users browsing this forum: No registered users and 1 guest