On my windows I have sensors, which triggers a notification when they are open too long.
When the first timer is finished I get a notification to close a window:
B_Bathroom_down AND ( B_Bathroom_down; ! B_Bathroom_timer_cold)
Than, every 5 minutes I get a repeat notification:
BFirstmessagecold AND !B_second_timer AND (( Brepeatmessagecold ; B_Bathroom_down) or ( Brepeatmessagecold ; now > 5:00))
This works fine.
But sometimes , I would like to have the windows open longer and don’t want to receive the repeat messages.
Is there a way to disable the repeat message when the sensor of the window is still “true”
I would like:
-a virtual switch.
-Timer: 4 hours
A window is opened, I will get the first notification to close, than after 5 minutes the repeat messages come every 5 minutes.
I click the virtual switch and 4 hours I don’t get the repeat messages ( after 4 hours the virtual switch is reset and I get again the repeat messages).
If you place this in its own PLEG device, you can disable the device. You can even create scenes to enable/disable the device depending on how you set it up.
@ Don Philips: Yes , but I have a lot of different devices in this PLEG instance , that would mean the PLEG instance won’t work anymore.
@ RichardTSchaefer: Ah , yes , offcourse, just the virtual switch in the condition , when the virtual switch changes to false , the whole condition is not true anymore.
BFirstmessagecold AND !B_second_timer AND (( Brepeatmessagecold ; B_Bathroom_down) or ( Brepeatmessagecold ; now > 5:00)) I can just insert the virtual switch in front? , like this?
[b]Virtualswitch AND[/b] BFirstmessagecold AND !B_second_timer AND (( Brepeatmessagecold ; B_Bathroom_down) or ( Brepeatmessagecold ; now > 5:00))
[quote author=Cor link=topic=49018.msg321491#msg321491 date=1494400791]
@ Don Philips: Yes , but I have a lot of different devices in this PLEG instance , that would mean the PLEG instance won’t work anymore.
/quote]
That is why I was recommending placing it in its PLEG so other stuff could still work. I have a test instance I disable so I can play without breaking stuff.
I agree. I guess I was envisioning 1 PLEG device for all of those windows and doors - for days you are airing out the house, which would include turning off the thermostat, and maybe turning on ceiling fans (if you have them connected).
Best Home Automation shopping experience. Shop at Ezlo!