tattn / homebridge-rm-mini3

Broadlink RM mini3 plugin for Homebridge
Apache License 2.0
54 stars 18 forks source link

How to increase the number of switches to configure #16

Open dennyww opened 7 years ago

dennyww commented 7 years ago

How to increase the number of switches to configure, and now can only show one, increase the of errors

{ "bridge": { "name": "Homebridge", "username": "CD:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-156" },

"description": "The Onion!",

"platforms": [],

"accessories": [ { "accessory": "RM mini3", "name": "Broadlink RM mini3", "host": "192.168.10.8", "data": [ { "type": "on", "on": "5aa5aa555aa5aa550", "off": "5aa5aa555aa5aa550" },{ "type": "on", "on": "5aa5aa555aa5aa550", "off": "5aa5aa555aa5aa550" },{ "type": "on", "on": "5aa5aa555aa5aa550", "off": "5aa5aa555aa5aa550" } ] } ] }

shlomi1515 commented 4 years ago

"accessories": [ { "accessory": "RM mini3", "name": "TV", --------------------------------------<<<<< NAME FIRST DEVICE "host": "192.168.50.187", "data": [ { "type": "on", "on": "YYYYY", "off": "YYYYY" } ] }, { "accessory": "RM mini3", "name": "TV2", --------------------------------------<<<<< NAME SECOND DEVICE "host": "192.168.50.187", "data": [ { "type": "on", "on": "XXXX", "off": "XXXX" } ] } ]