Im unable to use this plugin.. get several errors. I think might be possible I misunderstood config.json structure for this plugin. Could you please plublish an entire config.json file functional.
I was using cmdswitch2, but I liked the posibility of configure in homebridge the types of accesories (this is not available on cmdsw2).
This is the functional config on cmdsw2:
{
"bridge":{
"name":"Homebridge Casa",
"username":"CC:22:3D:E3:CE:30",
"port":51925,
"pin":"031-45-154"
},
"description":"iHome",
"accessories":[
And this is the config.json Ive tried for cmdaccessory but did't work
{
"bridge":{
"name":"Homebridge Casa",
"username":"CC:22:3D:E3:CE:30",
"port":51925,
"pin":"031-45-154"
},
"description":"iHome",
"accessories":[
Im unable to use this plugin.. get several errors. I think might be possible I misunderstood config.json structure for this plugin. Could you please plublish an entire config.json file functional.
I was using cmdswitch2, but I liked the posibility of configure in homebridge the types of accesories (this is not available on cmdsw2).
This is the functional config on cmdsw2: { "bridge":{ "name":"Homebridge Casa", "username":"CC:22:3D:E3:CE:30", "port":51925, "pin":"031-45-154" }, "description":"iHome", "accessories":[
], "rooms":[{
}], "platforms":[ { "platform":"cmdSwitch2", "switches":[ { "name":"Lampara Living", "on_cmd":"/var/homebridge/commands/poweron.sh 16", "off_cmd":"/var/homebridge/commands/poweroff.sh 16", "state_cmd":"/var/homebridge/commands/status.sh 16" } ] } ] }
And this is the config.json Ive tried for cmdaccessory but did't work { "bridge":{ "name":"Homebridge Casa", "username":"CC:22:3D:E3:CE:30", "port":51925, "pin":"031-45-154" }, "description":"iHome", "accessories":[
], "rooms":[{
}], "platforms":[ { "platform":"cmdAccessory", "name": "CMD Accessory", "switches":[ { "name":"Luz Living", "on_cmd":"/var/homebridge/commands/poweon.sh 10", "off_cmd":"/var/homebridge/commands/poweroff.sh 10", "state_cmd":"/var/homebridge/commands/status.sh 10", "type":"Switch" }
] }