Replies: 3 comments 1 reply
-
In the driver code, I see no signs of the Additionally, as Tasmota is not multi-threaded, I'd not expect multiple BTW. As commands like When it comes to upgrading firmware, it should work find if you upgrade via the http url (not https), and make sure to select a binary file name ending with |
Beta Was this translation helpful? Give feedback.
-
@sfromis Thanks for the timely comments. Indeed I have found lots of typos in the doc, so I guess this must just be one more... Regarding the I have been testing a two-step approach where Var2 is a flag for which WebQuery is being tested, but having difficulty with the BlinkOff and Power2 0 actually working. Here is a version of what I am testing now (with comments that I remove for the one-line entry into the console).
I added the delay after the BlinkOff in hopes that would let that command "settle" but the red LED continues to flash. The log at 20:52:13.215 shows 0==0 so I would understand that the following commands would execute. But shouldn't the log then show the states that change, for example showing something like
|
Beta Was this translation helpful? Give feedback.
-
Thanks @sfromis Brain fade on the parens missed that... still in my first 24 hours of learning Tasmota.... and yes, I read the doc on BlinkCount but later lowered the value and forgot that limit. Thank you again. Here is what I ended up with. This is my first Tasmota project so I am very pleased and learned a lot. in commented form:
In one line: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using "Version":"15.0.1(release-tasmota)","BuildDateTime":"2025-06-14T10:30:42"
I am building a watchdog on a smart plug. For this I want to do two web queries, one to my Home Assistant and one to my router. I then do different things if only HA is down or if the router is also down. Sounds simple enough. Two days later.. I am running out of things to try...
The command documentation indicates that one can number the WebQuery instances to separate them, ie WebQuery1 and WebQuery2.
This also implies that one can test the WebQuery results for each numbered query separately. What I am finding though is that all queries return only
RESULT = {"WebQuery":"Connect failed"}
or
RESULT = {"WebQuery":"Done"}
but not what I would expect...
RESULT = {"WebQuery1":"Connect failed"}
or
RESULT = {"WebQuery2":"Done"}
Here is my code... (Power2 and Power3 are LEDs using relay_i instead of led_1 because that works whereas led_i is not working for two LEDs for some reason... but that is another discussion)
What am I missing here?
I could do this with one WebQuery and one Ping instead but 1) I would have to have a build of Tasmota with Ping and I can't seem to flash a new version of Tasmota to the smart plug without getting a insufficient memory error and I don't want to open up the plug to do a clean, hardware flash. 2) I prefer WebQuery since it is higher in the stack than a ping so it actually confirms that the webpage is responding which is a more complete test than a ping could provide (the NIC can still give a ping response while the HA code has hung).
Beta Was this translation helpful? Give feedback.
All reactions