ok @vapor83 i used it
to know if my device is good connected to “mqqt” cayenne, that is always true because the connection working good all time (ex: when i “power on” my ESP or reset).
BUT : the thing i want is to know if someone open the dashboard on the web or on smartphone , at this time, my ESP device detect it, and send all data to cayenne immediately (without waiting 5 minutes).
Why ? Because (for the moment, i hope resolved in future) when i open Cayenne Dashboard it said “server error” or “blanc” widget without data. I’m waiting few seconds (because i send refresh data all 30sec) and all data appear !
+Because we are on 21 century and i don’t want to wait 30s