FAQ
TL;DR: Use 2 timers to toggle Rule1 and block Sundays; "First make a backup of your configuration." Then enable Rule2. [Elektroda, raks0, post #20562433]
Why it matters: This helps Tasmota smart-plug owners who automate voltage-threshold control for PV systems and need a no-operation day.
Quick Facts
- Default is local only (0 cloud access). For remote control, integrate via MQTT with an external IoT hub. [Elektroda, raks0, post #20564448]
- Use 2 timers: Timer1 enables Rule1; Timer2 disables Rule1 and forces Power1 off. [Elektroda, raks0, post #20562433]
- Schedules apply only to selected days; uncheck Sunday to keep the socket off all day. [Elektroda, raks0, post #20587302]
- Timers run from the device clock; verify time zone and NTP so hours match. ["Tasmota Timers"]
- Enter the rule commands once; afterward manage days/times from the Schedule UI. [Elektroda, raks0, post #20587363]
How do I stop my Tasmota socket turning on from voltage on Sundays only?
Create Rule2 that reacts to Timer1 and Timer2 and toggles Rule1. Configure Timer1 for your allowed window. Configure Timer2 for the block window and add Power1 0 to force the relay off. Finally, enable Rule2 to enforce the schedule-based override. [Elektroda, raks0, post #20562433]
What exact Rule2 command should I use?
Use: Rule2 On clock#Timer=1 do rule1 1 endon On clock#Timer=2 do rule1 0 endon On clock#Timer=2 do power1 0 endon. Then enable with: rule2 1. This makes Timer1 turn Rule1 on, and Timer2 turn Rule1 off and force the relay off. [Elektroda, raks0, post #20562433]
Do I need to re-enter commands after I change the schedule days or hours?
No. Enter the rule and enable it once. After that, adjust days and hours only in the Schedule UI. The rule continues to enforce your timer-based logic automatically. [Elektroda, raks0, post #20587363]
How do I configure days so it never runs on Sunday?
Open Schedule and tick the days when the socket should operate. Leave Sunday unchecked. The socket will not switch at all on Sunday, regardless of voltage. [Elektroda, raks0, post #20587302]
Why did my socket stop earlier than 09:00?
Your schedule defines the active window for Monday–Saturday only. On Sundays, the outlet stays off the entire day, independent of time. Verify your selected days and window to match expectations. [Elektroda, raks0, post #20590562]
Can I control my Tasmota plug when I’m away from home Wi‑Fi?
Tasmota is local-first. "Tasmota works locally, so it doesn't directly give you the possibility to control it from outside." For remote control, integrate via MQTT into Home Assistant or Node‑RED. [Elektroda, raks0, post #20564448]
How can I view my current rule status or contents?
Open the Tasmota web console and type: rule0. It prints the state and contents of Rule1–Rule3. Share the output when troubleshooting or planning changes. [Elektroda, raks0, post #20562214]
How do I disable a timer quickly?
Open the Timers page and toggle Enable off, or send a command like: Timer1 {"Enable":0}. Timers rely on the device clock, so ensure time and timezone are correct to avoid hour mismatches. ["Tasmota Timers"]
How do I build a voltage‑threshold rule to reduce PV over‑voltage?
Use Rules to trigger actions when a sensor value crosses a threshold and issue Power1 commands. The Rules documentation shows event syntax and examples you can adapt to voltage readings. Pair this with scheduling as needed. ["Tasmota Rules"]
What happens to voltage-based switching when Rule1 is off?
It stops. "Rule 2 will turn rule 1 on or off depending on the timers setting." Add Power1 0 when disabling to ensure the relay turns off and stays off during the blocked window. [Elektroda, raks0, post #20562433]
How many timers can I use, and can I combine them?
Tasmota supports up to 16 timers. You can reference multiple Clock#Timer events in a single rule to orchestrate more complex allow/deny windows or staged actions. ["Tasmota Timers"]
Quick How‑To: Set up the Sunday block from scratch
- Create Timer1 for your allowed window on permitted days.
- Create Timer2 for the blocked window; add a Power1 0 action.
- Enter the Rule2 string shown above and run: rule2 1 in the console. [Elektroda, raks0, post #20562433]
Do rules and schedules require MQTT?
No. Rules and schedules run entirely on the device. MQTT is optional for remote control or integration with platforms like Home Assistant. [Elektroda, raks0, post #20564448]
Where can I learn the exact commands for Rules and Timers?
See the Tasmota Commands, Rules, and Timers documentation. As one expert put it, “Using rules you can do many things.” Start there for syntax and examples. [Elektroda, xury, post #20562162]