Siri / HomeKit support for Domoticz
Moderator: leecollings
-
- Posts: 137
- Joined: Thursday 01 January 2015 9:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Siri / HomeKit support for Domoticz
Ik have the same challenge. After a reboot it doesn't start. There is also no folder. There is an advantage using pm2. I can now close the Putty client without shutting down the process.
-
- Posts: 52
- Joined: Wednesday 03 September 2014 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Securing homebridge pin
Anyone knows how the pin works?
I have the default configs:
After adding the devices to Instean+ I changed the pin and restarted the Pi. Why can I still control all the devices?
I wonder if Domotica will now be a bridge together with Homebridge for controlling everything ? You can me scenes, schedules etc in Insteon or Eve.
I had some light scenes which where added to Insteon+. If I told siri to switch all lights off it made a disco and even the garagedoor was open because it saw it for a switch
.
Anyone else now makes the scenes only in Insteon+ / Eve?
Do i have to setup a VPN to use Insteon+ outside my lan?
I know a hope questions now it works:) but it is really nice and the response is very fast. It is faster then the Pilot App which is connected directly to Domotica, very strange...Can be a problem over here:-).
I have the default configs:
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
I wonder if Domotica will now be a bridge together with Homebridge for controlling everything ? You can me scenes, schedules etc in Insteon or Eve.
I had some light scenes which where added to Insteon+. If I told siri to switch all lights off it made a disco and even the garagedoor was open because it saw it for a switch

Anyone else now makes the scenes only in Insteon+ / Eve?
Do i have to setup a VPN to use Insteon+ outside my lan?
I know a hope questions now it works:) but it is really nice and the response is very fast. It is faster then the Pilot App which is connected directly to Domotica, very strange...Can be a problem over here:-).
-
- Posts: 24
- Joined: Monday 24 August 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
Yup I did, and the folder exists, it doesn't show up with ls but I can navigate to it with cd.Eduard wrote:
All looks fine until it reboots...
Did you do awithout problems?Code: Select all
sudo update-rc.d pm2-init.sh defaults
Does the folder /home/pi/.pm2 exist?
I have no clue why it just won't work.
Anyhow I also loaded the sonos platform, and I am figuring out how to get that working.
It found my sonos bridge and my two speakers when I loaded homebridge.
Anyone played around with this already? and maybe found some sort of tutorial?
This is starting to bug me...
Everytime I try to launch the homebridge app without PM2 my domoticz crashes and I have no idea why...
(I did a sudo apt-get update and upgrade and I removed the sonos code from my config.json to make sure that wasn't conflicting, the config file is valid)
-
- Posts: 52
- Joined: Wednesday 03 September 2014 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
all devices acts like lights,
Hello,
I connected all my devices to homebridge. When i give a siri command to switch lights on the garagedoor is opening and the doorbell is ringing,
I can't programm in Insteon+ or Eve app what type of device it is.
All the devices from domoticz are lambs;-).
Anyone has the same problem?
Really nice the commands you can give. Colorchanging will be in ios 9 i hope.
“Turn on the lights” or “Turn off the lights.”
“Dim the lights” or “Set the brightness to 50%.”
“Set the temperature to 68 degrees.”
“Turn on the coffee maker.”
If you set up homes, zones, rooms, or scenes, you can use also commands like this:
I connected all my devices to homebridge. When i give a siri command to switch lights on the garagedoor is opening and the doorbell is ringing,
I can't programm in Insteon+ or Eve app what type of device it is.
All the devices from domoticz are lambs;-).
Anyone has the same problem?
Really nice the commands you can give. Colorchanging will be in ios 9 i hope.
“Turn on the lights” or “Turn off the lights.”
“Dim the lights” or “Set the brightness to 50%.”
“Set the temperature to 68 degrees.”
“Turn on the coffee maker.”
If you set up homes, zones, rooms, or scenes, you can use also commands like this:
- “Turn on the upstairs lights.”
“Turn off Chloe’s light.”
“Turn down the kitchen lights”
“Dim the lights in the dining room to 50%.”
“Make the living room lights the brightest.”
“Set the Tahoe house to 72 degrees.”
“Set the thermostat downstairs to 70.”
“Turn on the printer in the office.”
“Set up for a party, Siri.”
“Set the dinner scene.”
“Set my bedtime scene.”
-
- Posts: 331
- Joined: Sunday 22 February 2015 12:19
- Target OS: Linux
- Domoticz version: 2020.x
- Location: Netherlands
- Contact:
Re: all devices acts like lights,
Lambs or lamps? I hope you don't have lambs running around in your house, ha, ha;-)!ivom74 wrote:Hello,
....
All the devices from domoticz are lambs;-).
Anyone has the same problem?
....
(Sorry for this comment, it was just too funny to let it go)
-
- Posts: 52
- Joined: Wednesday 03 September 2014 22:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: all devices acts like lights,
My children will love it, lambs in the living roomBikey wrote:Lambs or lamps? I hope you don't have lambs running around in your house, ha, ha;-)!ivom74 wrote:Hello,
....
All the devices from domoticz are lambs;-).
Anyone has the same problem?
....
(Sorry for this comment, it was just too funny to let it go)

-
- Posts: 24
- Joined: Monday 24 August 2015 22:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
Doing a clean install of homebridge, is this supposed to happen?
If not, why did it happen...
If not, why did it happen...
Code: Select all
> [email protected] install /home/pi/homebridge/node_modules/teslams/node_modules/ mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/home/pi/homebridge/node_modules/teslams/node_modules/ mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
CXX(target) Release/obj.target/kerberos/lib/kerberos.o
kerberos.target.mk:89: recipe for target 'Release/obj.target/kerberos/lib/kerber os.o' failed
make: Leaving directory '/home/pi/homebridge/node_modules/teslams/node_modules/m ongodb/node_modules/mongodb-core/node_modules/kerberos/build'
-
- Posts: 5
- Joined: Wednesday 02 September 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Hi All,
I hope someone can help a newbie. I have only just started to use Domoticz and I am still learning.
I understand that I need to create config.json file.
However I am not sure if I need to include my lights(accessories) in this file? or if they are picked up once I start the program and then I configure them in the IOS app?
If I need to add them in the config file, can some one assist in showing me how I should enter these parameters. I would be most grateful.
I am using LightwaveRF devices attached is a snip from my Devices section.
Best wishes.
I hope someone can help a newbie. I have only just started to use Domoticz and I am still learning.
I understand that I need to create config.json file.
Code: Select all
{
"description": "Configuration file for Domoticz platform.",
"platforms": [
{
"platform": "Domoticz",
"name": "Domoticz",
"server": "127.0.0.1",
"port": "8080"
}
],
"accessories": [
]
}
If I need to add them in the config file, can some one assist in showing me how I should enter these parameters. I would be most grateful.
I am using LightwaveRF devices attached is a snip from my Devices section.
Best wishes.
- Attachments
-
- LightwaveRF devices.PNG (52.64 KiB) Viewed 11875 times
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
You do not need to add the lights in the config.json file. They will be available through Domoticz in the iOS app.
There has been a change in Homebridge recently, so I think you have to add some extra information in the config.json, see my earlier post http://www.domoticz.com/forum/viewtopic ... 864#p52627. (I have Domoticz running on my Synology NAS so therefore I am using another ip and port.)
There has been a change in Homebridge recently, so I think you have to add some extra information in the config.json, see my earlier post http://www.domoticz.com/forum/viewtopic ... 864#p52627. (I have Domoticz running on my Synology NAS so therefore I am using another ip and port.)
Not using Domoticz anymore
-
- Posts: 5
- Joined: Wednesday 02 September 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Thank you for replying G3rard,
Could you give the date of the your post. Your link takes me to the 1st post of this topic.
Best wishes.
Could you give the date of the your post. Your link takes me to the 1st post of this topic.
Best wishes.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Siri / HomeKit support for Domoticz
Strange, link is working here with the right post.
It is the post from 27 August.
It is the post from 27 August.
Not using Domoticz anymore
-
- Posts: 5
- Joined: Wednesday 02 September 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Thank you for your patience G3rad.
So I just need to enter this into a config file (with the comments I have made). As I don't have many lights. I assume I can just remove the room ID entry or as I have seen it somewhere else just put "0"?
Once again. Thank you for your help.
Best wishes.
So I just need to enter this into a config file (with the comments I have made). As I don't have many lights. I assume I can just remove the room ID entry or as I have seen it somewhere else just put "0"?
Code: Select all
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "Configuration file for Domoticz platform.",
"platforms": [
{
"platform": "Domoticz",
"name": "Domoticz",
"server": "192.168.1.102", //Change to Raspberry Pi IP address 192.168.0.x
"port": "8084", // Change to port number 8080
"roomid": "11" //Can I remove this line or should I make it "0" ?
}
],
"accessories": [
]
}
Best wishes.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Siri / HomeKit support for Domoticz
If you don't use a room then indeed use 0.
Also check the Homebridge GitHub site for instructions as the software is still being improved which also can impact the config file (I saw a functionality was added recently to determine if you want to load scenes). Of course this depends on when you have installed the software from GitHub, best way to check this is having a look at the content in Domoticz.js in the platforms folder.
Also check the Homebridge GitHub site for instructions as the software is still being improved which also can impact the config file (I saw a functionality was added recently to determine if you want to load scenes). Of course this depends on when you have installed the software from GitHub, best way to check this is having a look at the content in Domoticz.js in the platforms folder.
Not using Domoticz anymore
-
- Posts: 5
- Joined: Wednesday 02 September 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Thank you G3rard.
I am hoping to get my Raspberry Pi on Friday and then I can start setting things up.
I will be using the latest Raspberry Pi SD image.
I'll let you know how I get on.
Once again thank you for your assistance.
Best wishes.
I am hoping to get my Raspberry Pi on Friday and then I can start setting things up.
I will be using the latest Raspberry Pi SD image.
I'll let you know how I get on.
Once again thank you for your assistance.
Best wishes.
-
- Posts: 29
- Joined: Friday 04 September 2015 1:15
- Target OS: NAS (Synology & others)
- Domoticz version: 2.2980
- Contact:
Re: Siri / HomeKit support for Domoticz
Hi all,
I struggled my way through a Homebridge installation on a Windows server. Not an ideal situation, but eventually the installation ran smoothly.
Now when I try to start Homebridge, I get:
So my 2 questions,
1. Where do I go from here? Since I don't get any error messages..
2. Is it possible to install Homebridge on a Sinology NAS? Untill now I failed in getting nodeJs v0.12.+ installed.
I hope someone can point me into the right direction
Cheers!
I struggled my way through a Homebridge installation on a Windows server. Not an ideal situation, but eventually the installation ran smoothly.
Now when I try to start Homebridge, I get:
Code: Select all
> [email protected] start C:\Users\Administrator\homebridge
> DEBUG=* node app.js || true
1. Where do I go from here? Since I don't get any error messages..
2. Is it possible to install Homebridge on a Sinology NAS? Untill now I failed in getting nodeJs v0.12.+ installed.
I hope someone can point me into the right direction

Cheers!
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
I tried to install it on my Synology NAS but it didn't work (although NodeJS is available as a package in the package center). Depending on which NAS you have you can install Docker and run Debian on it. Then you can try to install Homebridge on Debian which should be working.
I will try this myself in the coming period.
I will try this myself in the coming period.
Not using Domoticz anymore
-
- Posts: 5
- Joined: Wednesday 02 September 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Just wanted to thank G3rard.
I got it working.
Best wishes.
I got it working.
Best wishes.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Siri / HomeKit support for Domoticz
Great that it is working. Credits go to the guys who made Homebridge and added the possibility to link it with Domoticz.
Not using Domoticz anymore
-
- Posts: 39
- Joined: Wednesday 02 September 2015 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Hello everybody,
I need your help. I can`t connect to homebridge.
After typing the pin code. Insteon+ say "Connection Lost. Unable to communicate with device". Eve just broke the connection without message.
I tried:
To reset HomeKit data on iphone.
Deleting data at persist folder.
And recompiling homebridge.
PS After the 100500 attempt of the cleaning siri DB and persist folder it connects.
I need your help. I can`t connect to homebridge.
After typing the pin code. Insteon+ say "Connection Lost. Unable to communicate with device". Eve just broke the connection without message.
I tried:
To reset HomeKit data on iphone.
Deleting data at persist folder.
And recompiling homebridge.
- Spoiler: show
PS After the 100500 attempt of the cleaning siri DB and persist folder it connects.
-
- Posts: 1
- Joined: Friday 11 September 2015 13:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Siri / HomeKit support for Domoticz
Can anyone help me. Have followed the guide and retried many times.
When i run npm run start
it just stay in EventedHTTPServer Server listening on port 51826 +28ms and never move on from there.
I have tried finding the device in eve and insteon without any luck.
When i run npm run start
it just stay in EventedHTTPServer Server listening on port 51826 +28ms and never move on from there.
I have tried finding the device in eve and insteon without any luck.
Who is online
Users browsing this forum: No registered users and 1 guest