-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Advanced scheduling module #231
Comments
Hi, this will be possible somewhere in the future. As time scheduling is a bit hard to make with all the possibilities there will be. But this will be implemented with the option to support multiple environments. Because then you can create your own triggers like the spray system in the environment part. There you can set all kind of timer settings. That will then be available for all types of sensors and switches. Your heater should work with a sensor in the environment settings so that it does not need a timer on the switch. As I think that is the right way. But, look at the sprayer settings in the environment part and that will be available for all kind of setups. |
Understood. Thanks for the feedback. Would it be possible to already have the timer for a switch trigger in seconds rather than minutes? Currently the ceramic bulbs are operated using the temperature environment and sensor. Therefore the pool heater is on a separate timer. Thinking about running a second Pi to double the amount of environment settings for now. |
Yes, your 'issue' with heating is exactly the reason why the new environment system should be more flexible. And the new system will allow multiple heating ways in 1 environment. For now, the timer is only checked once every 30 seconds. So I have changed the code a bit, that it will accept 0.5 minutes (30 seconds) as input. But it will still only check once every 30 seconds. This means a value of 0.1 = 6 seconds, could run up to 30 seconds due to the timer interval. |
Great! |
What's the limiting factor on how often the timer checks? Just that it's a more involved change than the changes in 542b2cf? Due to the too-small size of my fresh water reservoir, I'd like to be able to set the switch timing on my misters low enough so it won't run out when I go away for vacation. Granularity of 15 seconds would be ideal for me, personally, as 30 seconds still means that I'm artificially increasing the period to make sure the water lasts the entire time. |
@Benjin the power switch will be updated every 30 seconds. And that will also update the timers. So that means that once every 30 seconds a timer change can be handled. So specifying a lower would not work, and the lowest timer actions is 30 seconds. The lower values of even 10 seconds will be created through the environment system. Currently you can have only one sprayer system, but in the future there will be multiple. And that sprayer system, you can specify up to 1 second precision the spray time. So I will not change the timer logic of the power switches, but there will be more options in the environment part to suit small power actions for +/- 10 seconds |
For both... could you look at: #210 :) ? |
Hi, as version 4 is released, and there is now the option to have multiple areas of the same type (like temperature) in 1 enclosure. So you can now fine tune every relay using areas. And it is possible to enter decimal values in the on, off, power on and settle timeouts. The smallest unit is still 0.1 which is 6 seconds. I hope this will make it a bit easier to work with. |
I'll try to confirm everything's looking good tonight. |
Any updates? Is it working like you want? |
Can we close this issue? Is it working for everybody? |
Okay, I've finally had the time to try this out! I have no idea if I've configured this correctly (I'm finding the combination of begin/end time, on/off duration, and relay on/off delay pretty confusing; perhaps I can help with the descriptions?) With this configuration, I was expecting that the misters would toggle between off and on every 6 seconds (0.1 minutes), but when I timed it, it was actually toggling every 30 seconds. I'm running this on a Raspberry Pi 3 B, if that makes a difference. |
You should not use a Basically a timer works with an operating window which is defined with the begin and end time. Lets say you create an operating window of 10 hours. In that 10 hours, you can say the relay should be on for Then when you want you sprayer to work for 30 seconds, use that value in I hope this makes it a bit clear. And yes, documentation is lacking on this... :( |
Any updates on this... In the meantime I have updated a lot of documentation again: https://theyosh.github.io/TerrariumPI/setup/#areas |
I’ve been out of country all month, but I’ll check once I’m home after the holidays.
Good luck, be nice, and have fun,
Benjin Dubishar
…________________________________
From: TheYOSH ***@***.***>
Sent: Wednesday, December 22, 2021 5:25:41 AM
To: theyosh/TerrariumPI ***@***.***>
Cc: Benjin Dubishar ***@***.***>; Mention ***@***.***>
Subject: Re: [theyosh/TerrariumPI] Advanced scheduling module (#231)
Any updates on this... In the meantime I have updated a lot of documentation again: https://theyosh.github.io/TerrariumPI/setup/#areas
—
Reply to this email directly, view it on GitHub<#231 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMJAY55C5JF2FOPVWVQBWLUSGRSLANCNFSM4GL5YGBQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
No problem, as long you where not waiting on me :) |
Closing due to new release and waiting on response. Please open when you feel the need to. |
This is a request to enhance the timer settings of switches.
Currently it is possible to set just 2 values, amount of time to turn on a switch and the amount of time to turn it off again.
Would be nice to have a separate timer function/module that can be used to set different start and stop times (hh:mm:ss) for multiple switches.
Currently I use separate timers and smart plugs to run things like aquarium filter, automated morio worm feeder, fish feeder, aquarium heater, Nest camera’s, rain system. Would be great to have all of these timer settings and triggers in 1 place.
Especially the ability to schedule actions for just seconds instead of minutes would make this a great feature.
The text was updated successfully, but these errors were encountered: