Hi all, is there any way how to start advanced flow then virtual device switch is turned on?
I would like to have button when guests come to apartment, then i just turn on switch and it raises water temperature in water heater which is controlled via Sonoff tasmota TH320D via MQTT.
I have advanced flows like this, and there is no option to set temperature when i choose AND or THEN.
Or how to start theese flows periodically, but temp needs to be at first place…
When your guests arrive you turn on the virtual device. That is your trigger.
You want the boiler turned on when the watertemperature is below 65 degrees. That is the condition,
so:
WHEN: virtual device is turned on
AND: temperature is below 65 degrees
THEN: turn on boiler
When your guests leave:
WHEN: virtual device is turned off
AND temperature is above 55 degrees
THEN: turn off boiler
Your flow will handle the boiler switch-on and -off during their presence or absence
About your screenprint:
If the watertemperature is greater then 70 degrees, you want the boiler to turn off? Not only when the virtual-device-card is on, but always?
If the watertemperature is less then 45 degrees you always want the boiler to turn on?
If that is true, you should remove the ‘Is turned on’-cards in the second and third line
The third line: when the watertemperature is below 45 degress AND the switch is on the boiler will not turn on.
(edit 23:30 this is not correct: line 1 will turn the boiler on)
The second line: when the watertemperature is above 68 degrees AND the switch is off the boiler will not turn off.
(edit 23:30 this is not correct: line 4 will turn the boiler off)
Both, second and third work, i have tested it short while ago when all went to bathroom
When the switch is on, only first and second line are working, because of 3rd and 4th card…
This looks good, but, for this i need to re-wire boiler from circuit breaker and contactor.
Because, we have two tarrif electricity, “cheaper” when boiler heats up water and “more expensive” when it gets remotely disconnected from power grid. And in this time also tasmota is powered off, and if in this time, when tasmota is off, temp goes less than “60” degrees, then becomes online again, it wont turn on boiler, because it does not check temp, thats why im checking temp on all 4 rows, but sure, i can do it by 5 minutes