Hi all,
I am now able to send sensor values with BlynkGet to the blynk cloud (blynk-cloud.com) and the widgets shows the right values. Unfortunately the blynk app reports still that I am "offline" which is not correct, because blynk also updates the fields with the values I sent from ESPeasy.
I use the latest dev binary: ESP_Easy_mega-20200310_dev_ESP8266_4M1M.bin
Thanks for your support !
Br Peter
Blynk reports "offline" but I can write values
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 7
- Joined: 23 Mar 2020, 00:38
Re: Blynk reports "offline" but I can write values
In case it helps, check this out: http://docs.blynk.cc/#blynk-main-operat ... ine-status
I briefly looked at the Blynk code (CPLUGIN_012) and I don't believe it is performing the heartbeat ping. Perhaps a workaround would be to create a timer rule that uses BlynkGet to communicate every 10 secs.
I'm not a Blynk user so this is just my best-guess solution at keeping the APPs status set to Online. BTW, since your values are being written I propose that it's fine to ignore the "Offline" status.
- Thomas
I briefly looked at the Blynk code (CPLUGIN_012) and I don't believe it is performing the heartbeat ping. Perhaps a workaround would be to create a timer rule that uses BlynkGet to communicate every 10 secs.
I'm not a Blynk user so this is just my best-guess solution at keeping the APPs status set to Online. BTW, since your values are being written I propose that it's fine to ignore the "Offline" status.
- Thomas
-
- New user
- Posts: 7
- Joined: 23 Mar 2020, 00:38
Re: Blynk reports "offline" but I can write values
You are right. The update of the values withing the Blynk display runs very well. Thanks for your proposal before. Works great. But because of the working field value updates I assume, its another topic. The only thing is: we thing about using Blynk as an end user app for clients. In that case the would be wondering why blynk shows the "offline" status. But thats maybe a topic for later.
Thanks for your valuable hints Thomas !
br Peter
Thanks for your valuable hints Thomas !
br Peter
Re: Blynk reports "offline" but I can write values
If using a repeating 10 second timer rule to refresh the Blynk host does not work then I'm out of easy ideas. But I'm not a Blynk user, so my knowledge is limited. Hopefully an expert jumps in and has a solution for you.
It seems that the Blynk host needs a periodic ping (heartbeat) to maintain online status. ESPEasy has a generic Ping plugin, but Blynk requires a special ping method. The official Blynk App allows the user to disable the offline notifications, which was a feature added as a result of a discussion about pinging Blynk:
https://community.blynk.cc/t/http-restf ... rver/17683
BTW, there is an alternate ESPEasy Blynk plugin that appears to include the heartbeat ping feature. But it will require you to build your own ESPEasy firmware. See the _C0015.ino (Blynk SSL) file.
https://github.com/letscontrolit/ESPEas ... /_C015.ino
- Thomas
It seems that the Blynk host needs a periodic ping (heartbeat) to maintain online status. ESPEasy has a generic Ping plugin, but Blynk requires a special ping method. The official Blynk App allows the user to disable the offline notifications, which was a feature added as a result of a discussion about pinging Blynk:
https://community.blynk.cc/t/http-restf ... rver/17683
BTW, there is an alternate ESPEasy Blynk plugin that appears to include the heartbeat ping feature. But it will require you to build your own ESPEasy firmware. See the _C0015.ino (Blynk SSL) file.
https://github.com/letscontrolit/ESPEas ... /_C015.ino
- Thomas
-
- New user
- Posts: 7
- Joined: 23 Mar 2020, 00:38
Re: Blynk reports "offline" but I can write values
Hi Thomas,
thanks for your ideas. I will continue to try out. For a "non Blynk user" you know a lot )
Thanks once more!
Be Peter
thanks for your ideas. I will continue to try out. For a "non Blynk user" you know a lot )
Thanks once more!
Be Peter
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 36 guests