homebridge-blynk icon indicating copy to clipboard operation
homebridge-blynk copied to clipboard

multiple blynk devices

Open smackflad opened this issue 5 years ago • 3 comments

Is it possible to add multiple Blynk devices into homebridge? for example I have a device with a temperature sensor and another device with a switch, how can I use both of them with homebridge?

smackflad avatar Apr 16 '19 11:04 smackflad

i just got the homebridge working with my local Blynk server.. (D1 mini microconttroller with a DHT22 connected to Blynk server and homebridge connected to the local Blynk server) I already made a different Raspberry pi homebridge to get other devices connected to my Apple Home app... Next step for me would be getting all my local Blynk server devices (22) and other IoT devices connected in one Homebridge..

I dont know if you are still trying to get your question answered or solved? The answer appears to be yes... maybe i could help?

theOracle1984 avatar Feb 05 '20 15:02 theOracle1984

I also am trying to get multiple blynk devices to work. Any documentation on this or how to list the separate devices in the json?

kritch83 avatar Mar 06 '20 14:03 kritch83

For all those with similar problems, you need to go into your Homebridge UI and under "Settings", then select "Clear Cache" and "Reset" once your config file is completed. That clears the cached accessories and resets the homebridge accessories. You also need to go into your "Home" app on your IOS device and remove the bridge and re-add it or you will get conflict errors when homebridge tries to start. Here is a example of my config json on my private blynk server:

{ "bridge": { "name": "Blynk Bridge", "username": "0E:E2:E8:34:31:D9", "port": 51829, "pin": "240-21-376" }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "platform": "config" }, { "platform": "Blynk", "name": "Aquarium", "serverurl": "http://localhost:8080", "token": "token here", "pollerperiod": "60", "accessories": [ { "name": "Aquarium Light", "widget": "Switch", "mode": "SWITCH", "caption": "Aquarium Light", "pin": "V1" } ] }, { "platform": "Blynk", "name": "Grow Light", "serverurl": "http://localhost:8080", "token": "token here", "pollerperiod": "60", "accessories": [ { "name": "Grow Light", "widget": "Switch", "mode": "SWITCH", "caption": "Grow Light", "pin": "V4" } ] } ] }

kritch83 avatar Mar 06 '20 15:03 kritch83