Originally posted by stipus
View Post
Announcement
Collapse
No announcement yet.
Apple Homekit(Siri) integration with Homeseer
Collapse
X
-
Guys, for the life of me I just can not get this working.
I am using my Mac with El Capitain and obviously the home bridge is running.
From my IOS devices, when using MyTouchHome and add accessories it just keeps spinning and no devices ever show up no matter if I am using Homelier or any others.
1.) Has anyone tried this with the new Mac OS and IOS 9.0.2?
2.) Anyone every run into this issue?
I have confirmed that the HAP namespace is registered in bonjour with the right ip address and have confirmed that I can access the web service on port 51286 from my ipad/iphone.
Any thoughts?
Code:homebridge>npm run start > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge > DEBUG=* node app.js || true Starting HomeBridge server... _____________________________________________________________________ IMPORTANT: Homebridge is in the middle of some big changes. Read more about it here: https://github.com/nfarina/homebridge/wiki/Migration-Guide _____________________________________________________________________ Loading 1 platforms... [HomeSeer] Initializing HomeSeer platform... [HomeSeer] Fetching HomeSeer devices. [HomeSeer] HomeSeer status function succeeded! Scan this code with your HomeKit App on your iOS device: ┌────────────┐ │ XXXXXXXXXXX │ └────────────┘ Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms Accessory [Homebridge] Creating new IdentifierCache +4ms EventedHTTPServer Server listening on port 51826 +14ms { "bridge": { "name": "Homebridge", "username": "XXXXXXXXXXX", "port": 51826, "pin": "XXXXXXXXXXX" }, "platforms": [ { "platform": "HomeSeer", "name": "HomeSeer", "host": "http://192.168.1.1", "accessories": [ { "ref": 7, "type": "Lightbulb" }, { "ref": 8, "type": "Lightbulb" }, { "ref": 9, "type": "Lightbulb" }, { "ref": 91, "type": "Fan" }, { "ref": 96, "type": "Switch" }, { "ref": 111, "type": "TemperatureSensor", "name": "TempératureSalon" }, { "ref": 112, "type": "TemperatureSensor", "name": "TempératureAtelier" }, { "ref": 58, "type": "Outlet" }, { "ref": 55, "type": "Door" } ] } ] }
Last edited by Krumpy; October 10, 2015, 11:26 AM.HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
Originally posted by petermdevries View PostVery nice.
First I tried to setup homebridge on Windows, but that wasn't easy. After following the steps mentioned above, including installation Visual Studio 2013 Express, the Windows 7 64-bit SDK, the Bonjour SDK, a open-ssl package which was needed for one of the packages it still didn't work. Also I didn't like to have a bunch of tools on the Windows machine. So I decided to install a small Ubuntu server on my ESXi server just for homebridge. So even with little experience with ubuntu this was easier to get it up and running.
However, I just found a small bug with the OccupancySensor. On line 323 the variable motionSensorService is used instead of occupancySensorService which results in an error when starting homebridge when using an OccupancySensor.
Furthermore I have some problems when using Siri with Outlet or Switch. Looks like it works fine in HomeKit/HomeBridge. For example in Eve I can control the device "ABC". But using Siri with "Zet ABC aan" which is dutch for "Turn ABC on" Siri doesn't understand. Looks like something in Siri itself, maybe in the Dutch version?
/Mav
Comment
-
Originally posted by Krumpy View PostGuys, for the life of me I just can not get this working.
I am using my Mac with El Capitain and obviously the home bridge is running.
From my IOS devices, when using MyTouchHome and add accessories it just keeps spinning and no devices ever show up no matter if I am using Homelier or any others.
1.) Has anyone tried this with the new Mac OS and IOS 9.0.2?
2.) Anyone every run into this issue?
I have confirmed that the HAP namespace is registered in bonjour with the right ip address and have confirmed that I can access the web service on port 51286 from my ipad/iphone.
Any thoughts?
Code:homebridge>npm run start > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge > DEBUG=* node app.js || true Starting HomeBridge server... _____________________________________________________________________ IMPORTANT: Homebridge is in the middle of some big changes. Read more about it here: https://github.com/nfarina/homebridge/wiki/Migration-Guide _____________________________________________________________________ Loading 1 platforms... [HomeSeer] Initializing HomeSeer platform... [HomeSeer] Fetching HomeSeer devices. [HomeSeer] HomeSeer status function succeeded! Scan this code with your HomeKit App on your iOS device: ┌────────────┐ │ XXXXXXXXXXX │ └────────────┘ Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms Accessory [Homebridge] Creating new IdentifierCache +4ms EventedHTTPServer Server listening on port 51826 +14ms { "bridge": { "name": "Homebridge", "username": "XXXXXXXXXXX", "port": 51826, "pin": "XXXXXXXXXXX" }, "platforms": [ { "platform": "HomeSeer", "name": "HomeSeer", "host": "http://10.1.2.15", "accessories": [ { "ref": 7, "type": "Lightbulb" }, { "ref": 8, "type": "Lightbulb" }, { "ref": 9, "type": "Lightbulb" }, { "ref": 91, "type": "Fan" }, { "ref": 96, "type": "Switch" }, { "ref": 111, "type": "TemperatureSensor", "name": "TempératureSalon" }, { "ref": 112, "type": "TemperatureSensor", "name": "TempératureAtelier" }, { "ref": 58, "type": "Outlet" }, { "ref": 55, "type": "Door" } ] } ] }
From your configuration file, I can see that you did not configure the HomeSeer platform properly.
- You did copy/paste the default configuration,
- You did change the HomeSeer IP address
- But you didn't change the accessory section !
Each entry in the accessory section such as :
{
"ref": 7,
"type": "Lightbulb"
},
must be configured with:
ref: The HomeSeer device reference you want to import into HomeKit
type: the type of the HomeSeer device. See supported list--
stipus
Comment
-
I used the following how-to as a guideline for the installation of Ubuntu:
http://frankhinek.com/how-to-install...1-on-esxi-5-5/
The I took the howto to install HomeBridge on a Raspberry Pi:
https://github.com/nfarina/homebridg...a-Raspberry-Pi
But unfortunately it didn't work directly. On Ubuntu you need also the libicu-dev package:
https://github.com/nfarina/homebridge/issues/131
And I also updated the node.js to the latest version. So not a step by step instruction, but hopefully some hints.
Comment
-
Would someone please attach their config.json? I think that I get it, but it would be a nice reference to see one that works.
Thanks!HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
The configuration you have should work, if you had homeseer devices references 7,8, 9, 91, 96, 111, 112, 58 and 55
First start with one of your HomeSeer devices.
Choose a standard HomeSeer light
Click on the HomeSeer device name
Click on the advanced tab
Note the device reference --> let's say it's 115
In the HomeBridge config.json file, replace the HomeSeer platform accessories section with the following:
PHP Code:"accessories": [
{
"ref": 115,
"type": "Lightbulb"
}
]
--
stipus
Comment
-
Ok, did that. MyTouchHome still spins when it is attempting to enumerate the devices.. But I got further along on the server side. Thx.
Code:{ "bridge": { "name": "Homebridge", "username": "XXXXXXXXXXX", "port": 51826, "pin": "XXXXXXXXXXX" }, "platforms": [ { "platform": "HomeSeer", "name": "HomeSeer", "host": "http://192.168.1.1", "accessories": [ { "ref": 4, "type": "Lightbulb" }, { "ref": 3, "type": "Lightbulb" } ] } ] } > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge > DEBUG=* node app.js || true Starting HomeBridge server... _____________________________________________________________________ IMPORTANT: Homebridge is in the middle of some big changes. Read more about it here: https://github.com/nfarina/homebridge/wiki/Migration-Guide _____________________________________________________________________ Loading 1 platforms... [HomeSeer] Initializing HomeSeer platform... [HomeSeer] Fetching HomeSeer devices. [HomeSeer] HomeSeer status function succeeded! [HomeSeer] Initializing platform accessory 'Light'... [HomeSeer] Initializing platform accessory 'Test'... Scan this code with your HomeKit App on your iOS device: ┌────────────┐ │ XXXXXXXXXXX │ └────────────┘ EventedHTTPServer Server listening on port 51826 +0ms
Last edited by Krumpy; October 10, 2015, 11:11 AM.HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
When you used your Mac, which OS did it have? I am thinking that it might be incompatibility with El Captain? I hope not, but could find another hdd to install the previous Mac OS.
I suppose that I could try Ubuntu as well.
I think that I am close.
Might also get a sniffer going to see what traffic is going on.
Argh.. Close.HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
Ok, I did not have Xcode installed. I do have it installed now.
Should I redo everything from the git clone https://github.com part, or is there another way of refreshing things?
Curious - which versions of these are you on? It probably does not matter as the various libraries are the important ones:
homebridge>node -v
v4.1.2
homebridge>npm -v
2.14.4
homebridge>
ThxHomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
Ok, got it working. Thanks for all of your help!
Please note that the pin can not be xxxxxx.Last edited by Krumpy; October 10, 2015, 11:24 AM.HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.
Comment
-
Originally posted by petermdevries View PostI used the following how-to as a guideline for the installation of Ubuntu:
http://frankhinek.com/how-to-install...1-on-esxi-5-5/
The I took the howto to install HomeBridge on a Raspberry Pi:
https://github.com/nfarina/homebridg...a-Raspberry-Pi
But unfortunately it didn't work directly. On Ubuntu you need also the libicu-dev package:
https://github.com/nfarina/homebridge/issues/131
And I also updated the node.js to the latest version. So not a step by step instruction, but hopefully some hints.
Thanks a lot for the effort. Unfortunately im still getting errors on "mdns" and "node-gyp" when I try starting the homebridge server. Its most likely my Linux skills, but I believe I followed the steps as close as possible. I have tried both with a clean Ubuntu server, and a Turnkey image with node already on it (latest version). But no luck. If there is any way you can share your image it would be appreciated. Thanks again for the effort.
/Mava
Comment
-
On some linux versions, you have to install the AVAHI library for MDNS to compile/work.
https://github.com/nfarina/homebridg...a-Raspberry-Pi
PHP Code:sudo apt-get install libavahi-compat-libdnssd-dev
--
stipus
Comment
Comment