[quote=“damianxd, post:404, topic:186853”]Yes!, sorry… I forgot to add that on the readme:
"platforms": [
{
"platform" : "Vera",
"name" : "Vera"
}
]
In your case it would be:
[code]{
“bridge”: {
“name”: “Homebridge”,
“pin”: “987-65-432”,
“username”: “CC:22:3D:E3:CE:30”,
“veraIP”: “192.168.0.228”
},
"platforms": [{
"platform": "PhilipsHue",
"name": "Philips Hue",
"ip_address": "192.168.0.209",
"username": "theuser"
}, {
"platform" : "Vera",
"name" : "Vera"
}],
"accessories": [{
"accessory": "Applescript",
"name": "",
"on": "tell application '''' to activate",
"off": "quit application ''''"
},
{
"accessory": "Http",
"name": "Downstairs Heater",
"switchHandling": "yes",
"http_method": "GET",
"on_url": "https://",
"off_url": "https://",
"status_url": "https://"
}
]
}[/code]
For the moment the configuration of the VeraIP is external and it goes on this folder:
/home/<name>/.veralink/config.js
When you start the homebridge app you will notice the config file listed on the output like this
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see
[b] Please add your configuration file to /home/damian/.veralink/config.js [/b]
Loaded plugin: homebridge-veralink
VeraLink initializing
Registering platform 'homebridge-veralink.Vera'
---
Loaded config.json with 0 accessories and 1 platforms.
---
Loading 1 platforms...
[Vera] Initializing Vera platform...
/home/damian/nikai/test/index.js:27
I will add the configuration on from homebridge config.js in the next update.[/quote]
All that worked so far, Thanks ;D