Any chance this will be added soon? Would there be a workaround to detect an internet connection or lack of a connection without the ping plugin?
Just for info, related topic #950
@lyndondr At this moment we're working full on getting things stable and fixing bugs, so handling feature request is at a lower priority right now.
How about this ping library?
https://github.com/bluemurder/esp8266-ping/blob/master/src/Pinger.cpp
As i see it is using os_timer_disarm() for waiting icmp echo, i am not sure if it is blocking function or not.
@enesbcs That library is using a callback function, so it looks to me it is just what we may need.
For testing purposes:
https://github.com/enesbcs/ESPEasyPluginPlayground/blob/master/_P126_Ping.ino
Whether prompt there is a firmware already with the built-in plug-in? I can not figure out how to embed a plugin. Is it expected? Please show the instructions for installing the plugin.
Binary with P126 plugin:
https://www.letscontrolit.com/forum/download/file.php?id=3594
Binary with P126 plugin:
https://www.letscontrolit.com/forum/download/file.php?id=3594
Dear enesbcs! Thank you for answering my request for help. I managed to install the firmware on nodemcu, but failed to flash the sonof basic. I could not install this file in the Sonoff basic. Perhaps this file is 4M, Sonof basic have only 1M? Is there a similar file for 1M? Thanks a lot in advance!
Most helpful comment
Binary with P126 plugin:
https://www.letscontrolit.com/forum/download/file.php?id=3594