Game Countdown Switch
Posted: Thursday 30 May 2019 21:48
Hi,
After unsuccessful long research, I am going to the community for help. I set switches in Domoticz to Parental Control my kid's internet. The post is here: https://www.domoticz.com/forum/viewtopi ... ol#p209453
The system works great, and my son is learning responsibility by telling me himself when he gets off his games. Nevertheless, there are days when he would not get off and I still need to cut off the internet manually.
There are a few issues with my current system:
- The current Internet scheduling is not flexible. It goes on and off on a pre-configured schedule using Dummy Switches and scripts.
- Sometimes I turn the internet outside of the "regular" schedule and it goes on unscheduled.
- For unscheduled access, I have a reminder script that sends notifications every 10min that the internet is still on.
I am looking to improve my system by implementing a smart count-down switch. Preferably, a User variable to set how long the Internet will be on (e.g. 30min, 90min, etc.) It will allow me to keep my scheduling system, but expand the flexibility and turn-on or extend the time by a pre-set number of minutes. Can anyone provide references for suggestions on how to implement this kind of a count-down?
The count-down needs to detect the following:
1) Is the Internet on (Dummy Switch)? If yes, keep the Dummy on for add additional time (User Variable)
2) Is the internet is off (again, just checking the status of the Dummy switch): If off, turn the switch on for the duration of the timer.
If a User variable is too complex, I was thinking to have a simple solution with multiple count-down timers for 15min, 30min, 60min, 90min, 120min.
Thank you in advance,
AlleyCat
After unsuccessful long research, I am going to the community for help. I set switches in Domoticz to Parental Control my kid's internet. The post is here: https://www.domoticz.com/forum/viewtopi ... ol#p209453
The system works great, and my son is learning responsibility by telling me himself when he gets off his games. Nevertheless, there are days when he would not get off and I still need to cut off the internet manually.
There are a few issues with my current system:
- The current Internet scheduling is not flexible. It goes on and off on a pre-configured schedule using Dummy Switches and scripts.
- Sometimes I turn the internet outside of the "regular" schedule and it goes on unscheduled.
- For unscheduled access, I have a reminder script that sends notifications every 10min that the internet is still on.
I am looking to improve my system by implementing a smart count-down switch. Preferably, a User variable to set how long the Internet will be on (e.g. 30min, 90min, etc.) It will allow me to keep my scheduling system, but expand the flexibility and turn-on or extend the time by a pre-set number of minutes. Can anyone provide references for suggestions on how to implement this kind of a count-down?
The count-down needs to detect the following:
1) Is the Internet on (Dummy Switch)? If yes, keep the Dummy on for add additional time (User Variable)
2) Is the internet is off (again, just checking the status of the Dummy switch): If off, turn the switch on for the duration of the timer.
If a User variable is too complex, I was thinking to have a simple solution with multiple count-down timers for 15min, 30min, 60min, 90min, 120min.
Thank you in advance,
AlleyCat