Can't seem to stop false notifications with this.
I have current detectors on both machines. These are connected to a GC-100 sensor inputs.
The GC-100 sees the power on/off of both machines fine.
The problem is the washing machine triggers the sensor constantly because of change in cycles, this is expected obviously.
What I did on an old system was set a virtual device to ON for x minutes when the washer would become running, then after the x minutes it would check the state of the machine. If both were off, the washer was done and it notified me correctly. The thing was on the next wash cycle, the virtual device would be restarted from that time and continuing for x minutes from there, HS doesn't do this.
So it will run for x minutes then turn off no matter the state of the actual machine which causes the notification to be sent.
My actual event was:
All this did was add another delayed event to turn the device off but it still turned off 8 minutes after the first start. Not what I want.
What I want is a way to set "something" (thinking a counter at this point) to ON when the washer becomes running, but only ON for a set time. But it will need to restart that time every time the washer becomes running.
Is there a way to do this?
I have current detectors on both machines. These are connected to a GC-100 sensor inputs.
The GC-100 sees the power on/off of both machines fine.
The problem is the washing machine triggers the sensor constantly because of change in cycles, this is expected obviously.
What I did on an old system was set a virtual device to ON for x minutes when the washer would become running, then after the x minutes it would check the state of the machine. If both were off, the washer was done and it notified me correctly. The thing was on the next wash cycle, the virtual device would be restarted from that time and continuing for x minutes from there, HS doesn't do this.
So it will run for x minutes then turn off no matter the state of the actual machine which causes the notification to be sent.
My actual event was:
Code:
IF Main Laundry GC-100-06 Root GC-100-06 Washer changes and becomes Running THEN Set Device: Main Laundry Washer Status Control to On Set Device: Main Laundry Washer Status Control to Off after a delay of 8 Minutes, 0 Seconds​
What I want is a way to set "something" (thinking a counter at this point) to ON when the washer becomes running, but only ON for a set time. But it will need to restart that time every time the washer becomes running.
Is there a way to do this?
Comment