Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sleep timer / Inching / Auto turn-off functionality on button press (watering plants) #8984

Closed
bentolor opened this issue Jul 27, 2020 · 4 comments
Labels
duplicated Result - Duplicated Issue

Comments

@bentolor
Copy link

Have you looked for this feature in other issues and in the docs?
Yes

Is your feature request related to a problem? Please describe.
I migrated my Sonoff S20 lately to Tasmota and miss an important functionality: My problem is, that I use the S20 plug to water plants outdoor: With the EWELink firmware there was an "inching" functionality available which allowed me to define a custom time span after which the plug reliably would turn off automatically.

My Wifi connection outdoor is only sporadic available if at all. On demand-programming a new cycle via web interface turned out to be rather cumbersome (UI UX) or not possible (broken Wifi Link).

Therefore restoring my former functionality of just pressing the button to start on demand a new watering cycle which gets automatically turned off i.e. after 10 minutes would be a big win. Yet I drained my water barrels empty more than once…

Describe the solution you'd like
I want to be able to configure a custom time period after which the plug should turned off itself reliably.

This means i.e. after a turning on the plug by a short button press (default behavior) it will automatically turn off after my custom configured time (i.e. 10 mins). This auto-turn-off period could also apply to schedule-triggered turn-ons.

Describe alternatives you've considered
1. Manually programming a new time table entry: Doesn't work due to crappy Wifi connection.
2. Manually turning of: I forget it EVERY time!
3. Looking at the button config options: Didn't see any way to copy my desired behavior

Additional context
Nothing.

(Please, remember to close the issue when the problem has been addressed)

@schrej-zz
Copy link

Hi Bentolor,
should be easy by using rules.
Set timer on button press and turn off when timer elapsed.
Search for rules and timer.
Regards Joerg

@bentolor
Copy link
Author

bentolor commented Jul 27, 2020

Hi @schrej-zz : Thanks for your quick reply. Hmmm… how did I miss that?

Nevertheless: Easy does not match at least for me: I'm a little lost on how to get things working. I would access the web console and there paste something like the following command ?!??:

Rule1  ON Power#state=1 DO RuleTimer1 4 ENDON ON Rules#Timer=1 DO Power 0 ENDON

But this is not working. Also tried Power1 instead of Power.

@bentolor
Copy link
Author

Thanks @schrej-zz : Found a cookbook recipe similar to my use case: https://tasmota.github.io/docs/Rules/#time-delayed-auto-off-switch

Using this I found out I must enter

Rule1  ON Power1#state=1 DO RuleTimer1 4 ENDON ON Rules#Timer=1 DO Power1 Off ENDON
Rule1 1

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Jul 29, 2020
@jonathon-love
Copy link

what about PulseTime?

https://tasmota.github.io/docs/Commands/#control

cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

4 participants