Hello all - I’m looking for suggestions on how to create many “virtual devices” (each with their own auth token) all running from the same physical device. In my case, this is a Raspberry Pi device, and I need to create many virtual devices as the Pi is aggregating many networked devices that are not able to operate using Blynk. For example, I have lights that are controlled via Wifi, pumps that are controlled via a dedicated (closed) controller over RS422, and a security platform that has it’s own dedicated (closed) controller.
A “simple” approach would be to have a different process instantiation (launch the program) for each device, where I use a configuration file and/or command line options to instruct each launched process what device is it managing and what auth token it should use). Anyone have any reason why this might not work? I’ll be trying it in the next couple of days unless somebody says it’s not going to work.
But a better answer would be to have a single process able to subscribe to the Blynk server as multiple devices (again, each with their own Auth Token). But in looking at the documentation, I don’t see an obvious way to approach this.
Anyone else tried to tackle this problem?