Replies: 6 comments 7 replies
-
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi- I had originally tried this, but ran into two scenarios where it didn't work:
My solution that covered all the situations required a compile to add 'ping' support. Less convenient, but handles the additional situations:
This ensures not only a WiFi connection, but that the WiFi connection is actually capable of passing data. And it recovers from an accidental 'wifi 0' as well. |
Beta Was this translation helpful? Give feedback.
-
There are some things to be aware of if using webquery. My router transfers 870KB for its login page. I have 111 Tasmota devices currently, which means 96.5MB TCP (~1Gb) transfer for the check every 5 minutes, if the router doesn't throttle and toss the DDOS on it's login. Ping uses a 64B UDP packet, and the pings are paced at one second intervals, so 7.1KB per second, for 8 seconds. The second issue is microwave interference. The webquery is a single large transfer, making it susceptible to transmission error. When the microwave is on, a few of the pings are lost, but most still make it through avoiding spurious reboots. |
Beta Was this translation helpful? Give feedback.
-
It's worthwhile setting up a build environment for Tasmota in any case. I turn off a few of the drivers I don't need in addition to turning on ping. The net is a smaller module that avoids having to load the minimal firmware in most cases during upgrades. |
Beta Was this translation helpful? Give feedback.
-
Is this still not solved? And isn't it needed to close the syntax with "Rule1 1" to activate the rule? |
Beta Was this translation helpful? Give feedback.
-
The proposed workaround seems to work well. If the page served by your router is relatively large, you could try request a nonexistent html page, as a 404 error doesn't break the script. I set mine up as follows:
And activated it with:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I'd like to share a work-a-round for my problem with Gosung SP111 and EP2 devices.
The problem was that almost everytime I restarted my router/repeater I had to check the state of my smart plugs and had to manually restart those devices, that didn't reconnect to Wifi (not even after some days!). I tried all options of tasmota and even disabled WMM (Wireless Multimedia) on my router. That improved it a little bit and I had less devices not coming back to network, bit it still happend.
After some hours trying to understand tasmota rules and what works in default builds, I came up with this rule that finally sovled the reconnection problems for me completely that I'd like to share:
It simply restarts the tasmota after 60 Seconds without Wifi and all my reconnection problems after router/repeater reboots are now solved.
I hope this might help others, too.
Cheers - Jens.
Beta Was this translation helpful? Give feedback.
All reactions