VAR1 cannot trigger the shutter, it looks like sleep.

Please create a new post if you have any queries.
Post Reply
Lynn
Posts: 18
Joined: Sat Feb 11, 2023 11:19 pm

VAR1 cannot trigger the shutter, it looks like sleep.

Post by Lynn »

Question from the user:
--------------
Hello,
I bought 2 roller shutter switches with Tasmota on them from Amazon. I think the idea of using Tasmota on your devices is really good!
Unfortunately, they don't work as expected and i had to write the following review:
"Basically a great switch. After teaching it, it works as it should.Unfortunately, the communication between the ESP and its own chip doesn't seem to work permanently. If you press the button, it also works via the data point. After a few hours, however, something seems to "go to sleep". lt is no longer possible to press it via the data point.Only after pressing the button again is a new % value accepted. I stillhope that it will be fixed somehow."
Both devices behave the same and can no longer be controlled viaVAR1 after a few hours. The devices can be reached via MOTThowever. lt can be "woken up" again by controlling it via the Power datapoint.
I have over 30 other Tasmota devices here, all of which work without problems. These all communicate via MOTT with the Sonof adapter onthe l0 broker.
Your shutter controls are permanently accessible via WLAN and have100% availability, That's not the reason:
----------------------------
Lynn
Posts: 18
Joined: Sat Feb 11, 2023 11:19 pm

Re: VAR1 cannot trigger the shutter, it looks like sleep.

Post by Lynn »

According to our setting, we can use Var1 to change the position of the shutter. For example, command "Var1 50" at the console will trigger the shutter move to the position of 50%.
I use VAR1 to trigger the shutter as below:
10:28, VAR1 60%;
14:43, VAR1 20%;
16:44, VAR1 80%;
19:53, VAR1 10%;
The shutter worked and didn’t have the “sleep” situation as you said. Once the rule1 is at the ON status, VAR1 is valid to trigger the movement.
For your situation, I am afraid the rule1 is at OFF status. Please check.
Possible Reason to disable rule1:
1. In rule3, we let the shutter to restart automatically if the wifi is disconnected.
2. Then, tasmota disabled the rule1 by mistake when rebooting.
-----------
If you ensure the reason is rule1 at OFF status, you can try to avoid disabling rule1 as below:
Set a short timer to enable rule1 at our rule3. (By default, it is 20. Now I set it as 1.)
Copy the command below and paste it on your console.

Code: Select all

Rule 3 ON Wifi#Disconnected DO Restart 1 ENDON 
ON system#init DO Backlog rule1 1; rule2 1 ENDON 
ON Wifi#Connected DO Backlog TuyaSend1 7,0; TuyaSend1 7,1; TuyaSend1 7,0; TuyaSend1 7,1 ENDON 
ON Time#Minute|1 DO Backlog rule1 1; rule2 1 ENDON
scarver
Posts: 9
Joined: Thu Mar 06, 2025 3:06 pm

Re: VAR1 cannot trigger the shutter, it looks like sleep.

Post by scarver »

Very interesting but not fully understood!
How can I switch the shutter without the timmer setting? Is it also possible to switch per rules or something like this?
And is it also possible to switch to different Shutter positions? 0% / 30 % / 50% / 70 % / 100% ????
Something like this and for different Day and Time???

I am new with rules and console!
Until today I used the WEB UI from Tasmota devices with ESP8266.
ESP 32 is different?

Hopefully got help.
Then I can support the currysmarter tasmota switches!

Scarver
scarver
Posts: 9
Joined: Thu Mar 06, 2025 3:06 pm

Re: VAR1 cannot trigger the shutter, it looks like sleep.

Post by scarver »

Nobody have ananswer!?
:roll:
Post Reply