Hello,
For your information i have try homebridge with indig and it's work.
How it's work :
Siri order on IOS --> homebridge --> Webserver --> API Indigo --> Device
I can ask on my Appl Watch to open or close a light or start a scene.
What you need :
- On IOS the APP MyTouchHome (2$99)
- On your mac
- Node.js
- Homebridge
- Wamp
- Indigo (of course).
Here an exemple of the config file of homebridge :
- Code: Select all
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "XXX-XX-XX"
},
"description": "This is an example configuration file with all supported devices. You can use this as a template for creating your own configuration file containing devices you actually own.",
"accessories": [
{
"accessory": "Http",
"name": "Kitchen light",
"on_url": "http://localhost/api/kitcheLightOn.php",
"off_url": "http://localhost/api/kitcheLightOff.php",
"http_method": "POST"
}
]
}
I have only 3 little problem :
- I need tu use a php web serve between homebridge and indigo, because i have some problem to contact API directly and the authentification method. But may be you can.
- it's not very secure, be sure the
http://localhost/api/XXX is not allow on Internet
- I need t start manullay homebridge. But i think i can use Automator for this.
If you want i explain how, i can do this.