Announcement

Collapse
No announcement yet.

Need help with Washer/Dryer notifications

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help with Washer/Dryer notifications

    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:
    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​
    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?

    #2
    Might've found the answer myself but it seems "ugly".
    Open to better ideas still.

    Code:
    IF
    Main Laundry GC-100-06 Root GC-100-06 Washer changes and becomes Running
    
    THEN
    Remove Delayed Device Actions for: Main Laundry Control
    
    Set Device:
    Main Laundry Washer Status Control to Off
    
    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​
    This does restart the virtual device and clears the last delayed action, might do the job if no one has a better idea.

    Comment


      #3
      I created virtual devices for my appliances. Washer has On, Running, Off, and Waiting statuses. I monitor power with a plug in switch. My event for Off is IF washer power has been at 0 watts for exactly 2 minutes AND IF Washer is Running AND IF Dryer is Off, set Washer to Off (If Dryer is On, the Washer is set to Waiting).

      Comment


        #4
        I use a Kasa power monitoring plug and the below works for me.

        Click image for larger version

Name:	Screenshot 2023-01-10 142246.png
Views:	105
Size:	34.5 KB
ID:	1585745

        Comment


          #5
          Mine are just current sensors, either on or off, can't determine wattage.

          Comment


            #6
            You might still be able to use "has been off for exactly..." I monitored the washer cycle to determine the time, as it would periodically drop during the run time.

            Comment


              #7
              I use a series of events and a timer. When the Washer is started the timer is stopped and reset. When the washer is stopped and draws less than the minimum current, the timer is started. If it draws current again, the timer is reset. If the timer reaches 2 minutes, it is considered finished.

              Click image for larger version

Name:	F298B9FF-CA21-4A28-B7BB-DD241E5E1DF0.jpg
Views:	103
Size:	28.4 KB
ID:	1585760

              Click image for larger version

Name:	9B8A8669-F6A4-4F08-AD48-FBEAE70CAD2B.jpg
Views:	93
Size:	25.6 KB
ID:	1585761

              Click image for larger version

Name:	9BF5FAD1-7DB3-4156-8DC0-49D3E88DFC3B.jpg
Views:	92
Size:	39.3 KB
ID:	1585762

              Click image for larger version

Name:	0162C5B7-99DB-4772-9C27-0C45E393AF12.jpg
Views:	91
Size:	31.3 KB
ID:	1585763
              HS4 Pro, 4.2.19.16 Windows 10 pro, Supermicro LP Xeon

              Comment

              Working...
              X