Announcement

Collapse
No announcement yet.

Event action stampede

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

    Event action stampede

    I have tried to create some simple events in order to warn me if somebody changes the current temperature but it seems that if you do so every change executes around 6 actions even if somebody changes the temperature with one step.
    If I generate a pushover message when somebody messes with the temperature I receive 6 pushover message. This is also the case with mail.

    jan-09 22:41:27 Pushover 3P Pushover Notification Sent
    jan-09 22:41:26 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:26 Pushover 3P Pushover Notification Sent
    jan-09 22:41:25 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:25 Pushover 3P Pushover Notification Sent
    jan-09 22:41:24 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:24 Pushover 3P Pushover Notification Sent
    jan-09 22:41:23 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:23 Pushover 3P Pushover Notification Sent
    jan-09 22:41:22 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:22 Pushover 3P Pushover Notification Sent
    jan-09 22:41:21 Event Event Trigger "Verwarming change nest"
    jan-09 22:41:20 Device Control Device: Nest woonkamer CV Temperatuur woonkamer ingesteld to + (1001) by/from: CAPI Control Handler

    #2
    could you set the log level to Debug in the Nest config page, and post the logs again.

    also please provide a screenshot of your Event configuration

    Comment


      #3
      Here you are. This time 3 pushover events:

      jan-11 22:31:30 Pushover 3P Pushover Notification Sent
      jan-11 22:31:29 Event Event Trigger "Verwarming change nest"
      jan-11 22:31:29 Pushover 3P Pushover Notification Sent
      jan-11 22:31:29 Nest DEBUG data: {"path":"/","data":{"devices":{"thermostats":{"UaKpquEs7aGuqCWuYhx0og_ VumSUMP-v":{"humidity":55,"locale":"nl-NL","temperature_scale":"C","is_using_emergency_heat":false, "has_fan":false,"software_version":"4.3.3","has_leaf":false, "device_id":"UaKpquEs7aGuqCWuYhx0og_VumSUMP-v","name":"Family Room","can_heat":true,"can_cool":false,"hvac_mode":"heat","t arget_temperature_c":21.5,"target_temperature_f":71,"target_ temperature_high_c":24.0,"target_temperature_high_f":75,"tar get_temperature_low_c":20.0,"target_temperature_low_f":68,"a mbient_temperature_c":21.0,"ambient_temperature_f":70,"away_ temperature_high_c":24.0,"away_temperature_high_f":76,"away_ temperature_low_c":16.0,"away_temperature_low_f":62,"structu re_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg","fan_timer_active":false,"name_l ong":"Family Room Thermostat","is_online":true,"last_connection":"2015-01-11T21:31:44.754Z"}}},"structures":{"2UqRzVaVrCHxITyCyVh8NC48 ll8-K6mpQZPqdxtBqpMgqINhK4ATZg":{"name":"Huis","country_code":"N L","away":"home","thermostats":["UaKpquEs7aGuqCWuYhx0og_VumSUMP-v"],"structure_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg"}},"metadata":{"access_token":"c. k3X4MxZzIBU1Eb58L21WfKOP3tigs2cEtpENP5AWj00DUFIvbLLst82u2wgU b1rPfUo6JoOJOmunwppqt5N820GoyZnMDl5xXBZxoCL2GuRDaAvYrutVtODa Vi9FLOa9MeMWHKKKUMwdEqoY","client_version":2}}}
      jan-11 22:31:29 Nest DEBUG event: put
      jan-11 22:31:28 Event Event Trigger "Verwarming change nest"
      jan-11 22:31:28 Nest DEBUG data: {"path":"/","data":{"devices":{"thermostats":{"UaKpquEs7aGuqCWuYhx0og_ VumSUMP-v":{"humidity":55,"locale":"nl-NL","temperature_scale":"C","is_using_emergency_heat":false, "has_fan":false,"software_version":"4.3.3","has_leaf":false, "device_id":"UaKpquEs7aGuqCWuYhx0og_VumSUMP-v","name":"Family Room","can_heat":true,"can_cool":false,"hvac_mode":"heat","t arget_temperature_c":21.5,"target_temperature_f":71,"target_ temperature_high_c":24.0,"target_temperature_high_f":75,"tar get_temperature_low_c":20.0,"target_temperature_low_f":68,"a mbient_temperature_c":21.0,"ambient_temperature_f":70,"away_ temperature_high_c":24.0,"away_temperature_high_f":76,"away_ temperature_low_c":16.0,"away_temperature_low_f":62,"structu re_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg","fan_timer_active":false,"name_l ong":"Family Room Thermostat","is_online":true,"last_connection":"2015-01-11T21:31:43.941Z"}}},"structures":{"2UqRzVaVrCHxITyCyVh8NC48 ll8-K6mpQZPqdxtBqpMgqINhK4ATZg":{"name":"Huis","country_code":"N L","away":"home","thermostats":["UaKpquEs7aGuqCWuYhx0og_VumSUMP-v"],"structure_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg"}},"metadata":{"access_token":"c. k3X4MxZzIBU1Eb58L21WfKOP3tigs2cEtpENP5AWj00DUFIvbLLst82u2wgU b1rPfUo6JoOJOmunwppqt5N820GoyZnMDl5xXBZxoCL2GuRDaAvYrutVtODa Vi9FLOa9MeMWHKKKUMwdEqoY","client_version":2}}}
      jan-11 22:31:28 Nest DEBUG event: put
      jan-11 22:31:28 Pushover 3P Pushover Notification Sent
      jan-11 22:31:27 Event Event Trigger "Verwarming change nest"
      jan-11 22:31:27 Nest DEBUG data: {"path":"/","data":{"devices":{"thermostats":{"UaKpquEs7aGuqCWuYhx0og_ VumSUMP-v":{"humidity":55,"locale":"nl-NL","temperature_scale":"C","is_using_emergency_heat":false, "has_fan":false,"software_version":"4.3.3","has_leaf":false, "device_id":"UaKpquEs7aGuqCWuYhx0og_VumSUMP-v","name":"Family Room","can_heat":true,"can_cool":false,"hvac_mode":"heat","t arget_temperature_c":21.5,"target_temperature_f":71,"target_ temperature_high_c":24.0,"target_temperature_high_f":75,"tar get_temperature_low_c":20.0,"target_temperature_low_f":68,"a mbient_temperature_c":21.0,"ambient_temperature_f":70,"away_ temperature_high_c":24.0,"away_temperature_high_f":76,"away_ temperature_low_c":16.0,"away_temperature_low_f":62,"structu re_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg","fan_timer_active":false,"name_l ong":"Family Room Thermostat","is_online":true,"last_connection":"2015-01-11T21:28:16.673Z"}}},"structures":{"2UqRzVaVrCHxITyCyVh8NC48 ll8-K6mpQZPqdxtBqpMgqINhK4ATZg":{"name":"Huis","country_code":"N L","away":"home","thermostats":["UaKpquEs7aGuqCWuYhx0og_VumSUMP-v"],"structure_id":"2UqRzVaVrCHxITyCyVh8NC48ll8-K6mpQZPqdxtBqpMgqINhK4ATZg"}},"metadata":{"access_token":"c. k3X4MxZzIBU1Eb58L21WfKOP3tigs2cEtpENP5AWj00DUFIvbLLst82u2wgU b1rPfUo6JoOJOmunwppqt5N820GoyZnMDl5xXBZxoCL2GuRDaAvYrutVtODa Vi9FLOa9MeMWHKKKUMwdEqoY","client_version":2}}}
      jan-11 22:31:27 Nest DEBUG event: put
      jan-11 22:31:26 Nest DEBUG PUT: path=devices/thermostats/UaKpquEs7aGuqCWuYhx0og_VumSUMP-v payload={"target_temperature_c":21.5}
      jan-11 22:31:26 Device Control Device: Nest woonkamer CV Temperatuur woonkamer ingesteld to + (1001) by/from: CAPI Control Handler

      Comment


        #4
        I think there is 2 different problems here:

        (1) when you change the current temperature, it seems that you receive several updates from the Nest API containing the same values. I'm not sure what's causing this. If you restart the plugin and try to change the target temperature do you have the same problem or does it only appear after a period of time.


        (2) even with several updates you should be able to trigger only the event once. Your event may be misconfigured, could you tell me what trigger you use? you need to use one that checks that the device value actually change

        Comment


          #5
          Hi Spud,

          Restart didn't solve the problem but I solved it by changing the event so I get one pushover event if the temperature changes.

          Tnx for now..

          Comment

          Working...
          X