Trigger relay every other day. #962
-
|
Daily scheduling works fine, but Is it possible to schedule a relay every other day? For example, I would like the mist pump to actuate 30 seconds at 20:00 on every second day. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Sorry, for not seeing this earlier. But this is not possible within TerrariumPI itself. I only work with max 24 hours. But this can be done with a cron job. You can schedule a cron job https://crontab.guru/#0_20_*/2__ that will run a script that will toggle the relay on through the API, waits 30 sec, and toggles it off with the API. But this means, that you cannot use that relay on an area of an enclosure. Else that will bite each other. |
Beta Was this translation helpful? Give feedback.
Sorry, for not seeing this earlier.
But this is not possible within TerrariumPI itself. I only work with max 24 hours.
But this can be done with a cron job. You can schedule a cron job https://crontab.guru/#0_20_*/2__ that will run a script that will toggle the relay on through the API, waits 30 sec, and toggles it off with the API.
But this means, that you cannot use that relay on an area of an enclosure. Else that will bite each other.