-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loaded plugin no accessories? #33
Comments
I think you are missing ], between platforms and accessories. |
You need this I think, after your initial homebridge set up config "platforms": [ |
Still the same, I copy past the text using nano config.json Save the file, reboot domoticz and start homebridge and I get the same problem. "Loaded config.json with 0 accessories and 1 platforms." [Sun Jul 03 2016 20:18:49 GMT+0000 (UTC)] Registering platform 'homebridge-edomoticz.eDomoticz'
|
Post your full config blurring out any passwords |
I just started with domoticz and homebridge. The installation of domoticz and homebridge went well. I use the app insteon+ after I started homebridge I see the homebridge in the app. So that is working fine. pi@raspberrypi:~/homebridge$ sudo npm install -g homebridge-sonos Below the complete config.json { |
still no luck, still no accessory? |
@scheveningen The config file you posted is not valid, I think this should solve your problem:
|
still no luck. BUT below is the way is start homebridge, Tuesday, 12 July 2016, 8:25:17 pm UTC pi@raspberrypi:~$ homebridge And if I edit the config.json I type, Is there a change that I edit the config.json in the wrong directory? It is just a guess. |
@scheveningen I think the correct directory for the |
YES!!! this is the problem, I edit the wrong config.json! But now there is a small new problem. |
@scheveningen You can write to that file using |
@jochem725 sorry for the late replay, but is work fine now! Thank you so much. |
I try to install the plugin, But it won't work. I'm sure I have a small error in my config.json file.
But I can not figure it out. Install the plugin 2 times to be sure. Room name is the same as the name in my sonos app.
[Sat Jul 02 2016 16:49:32 GMT+0000 (UTC)] Loaded plugin: homebridge-sonos
[Sat Jul 02 2016 16:49:32 GMT+0000 (UTC)] Registering accessory 'homebridge-sonos.Sonos'
[Sat Jul 02 2016 16:49:32 GMT+0000 (UTC)] ---
[Sat Jul 02 2016 16:49:32 GMT+0000 (UTC)] Loaded config.json with 0 accessories and 1 platforms.
[Sat Jul 02 2016 16:49:32 GMT+0000 (UTC)] ---
config.json file
{
"description": "Configuration file for Domoticz platform.",
"platforms": [
{
"platform": "Domoticz",
"name": "Domoticz",
"server": "127.0.0.1",
"port": "8080"
}
{
"accessories": [
{
"accessory": "Sonos",
"name": "Bedroom Speakers",
"room": "Woonkamer"
}
]
}
The text was updated successfully, but these errors were encountered: