Turn off a specific device when another specific one is enabled
Posted: Wednesday 13 November 2019 14:58
Hello there!
Sorry for my approximative english...
I have a domoticz with custom webapp ontop to manage the heating of my house.
I have a specific issue is that my heating is made with an electric system that can consume up to 8kW.
My water heater box is consumming 3kW.
Both systems are controlled with domoticz.
My energy provider is giving me 9kW maximum.
To deal with that at this moment, I tweaked my electric heating system to use only 4kW maximum.
I would like to "script" (or any other way) a "priority" like system :
I have setup a schedule for my water heater box, say from 22:00 to 05:00
I would like that, when the electric heating system is turned ON, it should force my water heater box to be OFF.
In other words, give the priority to my electric heating system.
Also there should be a timer (like 1 min) for safety, because if the electric heating system turns ON before the water heater box turns OFF (even a few seconds) it will interrupt my whole energy in the house because I would consume 11kW at a specific point of time, and my electric provider will not allow it.
Do you think it is possible, and how ?
Maybe it could be possible to make a "virtual switch" that would be the "electric heating system" switch, and would behave like this :
When ON order received :
turn water heater box switch OFF
disable schedule on water heater box switch
wait 60s
turn electric heating system ON
When OFF order received :
turn electric heating system OFF
wait 60s
enable schedule on water heater box switch (so that if schedule 22:00 to 05:00 says it should be ON, then it will send ON order)
Thanks
Sorry for my approximative english...
I have a domoticz with custom webapp ontop to manage the heating of my house.
I have a specific issue is that my heating is made with an electric system that can consume up to 8kW.
My water heater box is consumming 3kW.
Both systems are controlled with domoticz.
My energy provider is giving me 9kW maximum.
To deal with that at this moment, I tweaked my electric heating system to use only 4kW maximum.
I would like to "script" (or any other way) a "priority" like system :
I have setup a schedule for my water heater box, say from 22:00 to 05:00
I would like that, when the electric heating system is turned ON, it should force my water heater box to be OFF.
In other words, give the priority to my electric heating system.
Also there should be a timer (like 1 min) for safety, because if the electric heating system turns ON before the water heater box turns OFF (even a few seconds) it will interrupt my whole energy in the house because I would consume 11kW at a specific point of time, and my electric provider will not allow it.
Do you think it is possible, and how ?
Maybe it could be possible to make a "virtual switch" that would be the "electric heating system" switch, and would behave like this :
When ON order received :
turn water heater box switch OFF
disable schedule on water heater box switch
wait 60s
turn electric heating system ON
When OFF order received :
turn electric heating system OFF
wait 60s
enable schedule on water heater box switch (so that if schedule 22:00 to 05:00 says it should be ON, then it will send ON order)
Thanks