Closed WTPGaming closed 3 years ago
Haven't tried this with the hosted service but should work provided the API calls are the same. The accessory configs have incorrect pinnumbers assigned to them. That value needs to only be the number
{
"model": "DeskLight",
"name": "DeskLightWarm",
"pintype": "DIGITAL",
"pinnumber": "D4",
"type": "BUTTON"
}
Looks like the rest api is going away, closing this
Fresh install of both homebridge and homebridge-blynk-platform...
Issue: After everything is paired and my device is connected to homebridge, i go to turn on my first accessory, and it send the update command with the value of 0 or 1 respectively (http://blynk-cloud.com/xxxxxxx/update/D5?value=0), but following that homebridge freezes, the ui continues to update and everything works but it seems that homekit-blynk-platform just freezes, the logs show nothing out of the ordinary (actually they show nothing at all)
Steps to reproduce:
{ "mdns": { "interface": "192.168.1.21" }, "bridge": { "name": "Homebridge", "username": "C8:D7:19:C5:45:4B", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration file. You can use this as a template for creating your own configuration file.", "platforms": [ { "platform": "config", "name": "Config", "port": 8080, "sudo": true, "restart": "sudo -n systemctl restart homebridge", "log": { "method": "systemd", "service": "homebridge" } }, { "platform": "BlynkPlatform", "serverurl": "http://blynk-cloud.com", "pollerseconds": 1, "devices": [ { "manufacturer": "WTPGaming", "name": "DeskLights", "token": "xxxxxxxxxx", "deviceId": "31225", "discover": true }, { "manufacturer": "WTPGaming", "name": "DeskLightsThing", "token": "xxxxxxxxxx", "deviceId": "112233", "discover": false, "accessories": [ { "model": "DeskLight", "name": "DeskLightWarm", "pintype": "DIGITAL", "pinnumber": "D4", "type": "BUTTON" }, { "model": "DeskLight", "name": "DeskLightCold", "pintype": "DIGITAL", "pinnumber": "D5", "type": "BUTTON" } ] } ] } ], "accessories": [] }
Please help me! I'm a big fan of all the work you've done here and I've given you a star!!! thanks for your consideration!!!