Thanks for asking. I have two use cases that cause me to ask for inter-device status updates.
#1 Overview Tile Use Case
I have 6 different sensors on 4 different ESP8266/32s in my home. Each device has its own Tile. Two Devices share a common Template. So I have 4 sensor Tiles showing a total of 6 sensor Datastreams.
I also built a separate Overview Tile/Template/Device with an ESP32. The Overview uses HTTP GETs to pull Blynk Datastream info from the 6 Datastreams and present all 6 Datastreams in a common view – an overview. This is my normal go-to Tile, where I go to see what’s happening in my house – temperatures, barometer, humidity, etc.
I ALSO want to see in this Tile if any of my sensors is misbehaving, if any of my sensor Devices is down, offline.
I was initially expecting the HTTP GET to a Datastream from an offline Device would return an error code of some kind. Instead, the HTTP GET succeeds, returning the most recent Datastream value it has.
At @PeteKnight ‘s suggestion I used the Blynk Data Invalidation capability’s default value option. That works but is not ideal. To make it work today, I look for the default value returned from the HTTP GET and know the sensor Device is offline.
What I really want is a more direct way to know that one of the many devices I am reporting on from a consolidated command Tile/Device is offline.
It Would Be Nice if
-
One Device – the Overview Device – could query each of the sensor Devices periodically to see if they are Offline or Online.
-
Or if an Offline Event at one of the sensor devices would trigger some kind of signal to the Overview Device to let the Overview Device know the sensor is offline.
#2 Command and Control Use Case
I have multiple SONOFFs running on old Blynk. I’ve not yet ported this system to Blynk 2.0.
In Blynk 2.0, each SONOFF Device will have a Tile. They all will share a common Template, I expect.
I also built a Scheduler in old Blynk on a separate device, an ESP32, that lets me input Start/Stop times (using your very handy Start/Stop Time widget) and view several independent schedules that I can apply to any or all of the SONOFFs.
The Scheduler is where I go first to see how the system is behaving, see what’s on and what’s off. I want the Scheduler to know if any of the SONOFFs is Offline so I can check and, perhaps, reboot the device.
In both use cases, there’s a main, or overview Tile that displays or controls other Devices. I want that main or overview view to ALSO show if any of the other Devices is offline or misbehaving.
Hope this is helpful. All suggestions welcome.