Samfox2 / homebridge-doorbell

Apache License 2.0
4 stars 4 forks source link

there is something wrong #2

Closed julianfez closed 7 years ago

julianfez commented 7 years ago

to fix your code you should change this.devices = config["devices"]; with this.devices = config["doorbells"];

also try to fix like this "for(index = 0; index < count; index++)"

and finally add in the config.json underneath the platform like this "platform": "Doorbell", "name": "doorbell",

thats it

Samfox2 commented 7 years ago

Thx!