Announcement

Collapse
No announcement yet.

Time Triggered Event

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

    Time Triggered Event

    I have an event turning a hue light on at 6am. The log indicates the event ran but the light doesn't go on. If I run the event manually, the light goes on.


    #2
    Can you post a screenshot of the event?
    Can you set the log level to Trace from the settings page, and post the logs you get when the event is supposed to run?
    thanks

    Comment


      #3
      This is what was in the log:

      9/4/2020 6:00:00 AM HomeSeer Device Control Device: Plugin PhilipsHue Color Control to (0)
      9/4/2020 6:00:00 AM HomeSeer Device Control Device: Plugin PhilipsHue Brightness to 55% (55)
      9/4/2020 6:00:00 AM HomeSeer Device Control Device: Plugin PhilipsHue Status to On (1)
      9/4/2020 6:00:00 AM HomeSeer Event Event Trigger "Night Lighting BR Lamp 1"

      Attached Files

      Comment


        #4
        Did you make sure to set the log level to Trace from the PhilipsHue settings page?

        If you run this same event manually, it works? what do you have in the logs in this case?

        Comment


          #5
          I didn't realize there's a trace for log and one for log file. I set the log setting to trace and changed the event to run at 1 pm. By the way, running the event manually works fine.

          The trace log is too big to attach but here's some of it:

          }
          9/4/2020 1:00:06 PM PhilipsHue Trace {"5":{"state":{"on":true,"bri":194,"hue":51705,"sat":162, "ef fect":"none","xy":[0.3212,0.2083],"ct":153,"alert":"select","colormode":"hs","mode":"homea uto mation","reachable":true},"swupdate":{"state":"noupdates","l astinstall":"2020-08-11T19:51:45"},"type":"Extended color light","name":"Hue Master","modelid":"LCT012","manufacturername":"Signify Netherlands B.V.","productname":"Hue color candle","capabilities":{"certified":true,"control":{"mindiml evel":2000,"maxlumen":450,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"candlebulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:83:c1:0 3-0b","swversion":"1.50.2_r30933","swconfigid":"A9AFB57A","p ro ductid":"Philips-LCT012-1-E14ECLv1"},"6":{"state":{"on":false,"bri":254,"hue":33214,"s at":140,"effect":"none","xy":[0.2611,0.4276],"ct":153,"alert":"lselect","colormode":"hs","mode":"home aut omation","reachable":true},"swupdate":{"state":"noupdates"," lastinstall":"2020-08-24T19:18:02"},"type":"Extended color light","name":"Hue Lamp","modelid":"LCA003","manufacturername":"Signify Netherlands B.V.","productname":"Hue color Lamp","capabilities":{"certified":true,"control":{"mindimlev el":200,"maxlumen":800,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"sultanbulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:97:19:f c-0b","swversion":"1.65.11_hB798F2","swconfigid":"4A7D1A15", "p roductid":"Philips-LCA003-1-A19ECLv6"}}
          9/4/2020 1:00:06 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:07 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:06 PM PhilipsHue Trace Request:Method: GET, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights', Version: 1.1, Content: , Headers:
          {
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"5":{"state":{"on":true,"bri":194,"hue":51705,"sat":162, "ef fect":"none","xy":[0.3212,0.2083],"ct":153,"alert":"select","colormode":"hs","mode":"homea uto mation","reachable":true},"swupdate":{"state":"noupdates","l astinstall":"2020-08-11T19:51:45"},"type":"Extended color light","name":"Hue Master","modelid":"LCT012","manufacturername":"Signify Netherlands B.V.","productname":"Hue color candle","capabilities":{"certified":true,"control":{"mindiml evel":2000,"maxlumen":450,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"candlebulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:83:c1:0 3-0b","swversion":"1.50.2_r30933","swconfigid":"A9AFB57A","p ro ductid":"Philips-LCT012-1-E14ECLv1"},"6":{"state":{"on":false,"bri":254,"hue":33214,"s at":140,"effect":"none","xy":[0.2611,0.4276],"ct":153,"alert":"lselect","colormode":"hs","mode":"home aut omation","reachable":true},"swupdate":{"state":"noupdates"," lastinstall":"2020-08-24T19:18:02"},"type":"Extended color light","name":"Hue Lamp","modelid":"LCA003","manufacturername":"Signify Netherlands B.V.","productname":"Hue color Lamp","capabilities":{"certified":true,"control":{"mindimlev el":200,"maxlumen":800,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"sultanbulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:97:19:f c-0b","swversion":"1.65.11_hB798F2","swconfigid":"4A7D1A15", "p roductid":"Philips-LCA003-1-A19ECLv6"}}
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: GET, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights', Version: 1.1, Content: , Headers:
          {
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace [{"success":{"/lights/5/state/hue":51705}},{"success":{"/lights/5/state/sat":162}},{"success":{"/lights/5/state/bri":194}}]
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"bri":194,"hue":51705,"sat":162}
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: PUT, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights/5/state', Version: 1.1, Content: Q42.HueApi.Models.JsonContent, Headers:
          {
          Content-Type: application/json; charset=utf-8
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"5":{"state":{"on":true,"bri":139,"hue":42830,"sat":104, "ef fect":"none","xy":[0.2887,0.2951],"ct":153,"alert":"select","colormode":"hs","mode":"homea uto mation","reachable":true},"swupdate":{"state":"noupdates","l astinstall":"2020-08-11T19:51:45"},"type":"Extended color light","name":"Hue Master","modelid":"LCT012","manufacturername":"Signify Netherlands B.V.","productname":"Hue color candle","capabilities":{"certified":true,"control":{"mindiml evel":2000,"maxlumen":450,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"candlebulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:83:c1:0 3-0b","swversion":"1.50.2_r30933","swconfigid":"A9AFB57A","p ro ductid":"Philips-LCT012-1-E14ECLv1"},"6":{"state":{"on":false,"bri":254,"hue":33214,"s at":140,"effect":"none","xy":[0.2611,0.4276],"ct":153,"alert":"lselect","colormode":"hs","mode":"home aut omation","reachable":true},"swupdate":{"state":"noupdates"," lastinstall":"2020-08-24T19:18:02"},"type":"Extended color light","name":"Hue Lamp","modelid":"LCA003","manufacturername":"Signify Netherlands B.V.","productname":"Hue color Lamp","capabilities":{"certified":true,"control":{"mindimlev el":200,"maxlumen":800,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"sultanbulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:97:19:f c-0b","swversion":"1.65.11_hB798F2","swconfigid":"4A7D1A15", "p roductid":"Philips-LCA003-1-A19ECLv6"}}
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: GET, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights', Version: 1.1, Content: , Headers:
          {
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace [{"success":{"/lights/5/state/bri":139}}]
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"bri":139}
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: PUT, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights/5/state', Version: 1.1, Content: Q42.HueApi.Models.JsonContent, Headers:
          {
          Content-Type: application/json; charset=utf-8
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"5":{"state":{"on":true,"bri":217,"hue":42830,"sat":104, "ef fect":"none","xy":[0.2887,0.2951],"ct":153,"alert":"select","colormode":"hs","mode":"homea uto mation","reachable":true},"swupdate":{"state":"noupdates","l astinstall":"2020-08-11T19:51:45"},"type":"Extended color light","name":"Hue Master","modelid":"LCT012","manufacturername":"Signify Netherlands B.V.","productname":"Hue color candle","capabilities":{"certified":true,"control":{"mindiml evel":2000,"maxlumen":450,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"candlebulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:83:c1:0 3-0b","swversion":"1.50.2_r30933","swconfigid":"A9AFB57A","p ro ductid":"Philips-LCT012-1-E14ECLv1"},"6":{"state":{"on":false,"bri":254,"hue":33214,"s at":140,"effect":"none","xy":[0.2611,0.4276],"ct":153,"alert":"lselect","colormode":"hs","mode":"home aut omation","reachable":true},"swupdate":{"state":"noupdates"," lastinstall":"2020-08-24T19:18:02"},"type":"Extended color light","name":"Hue Lamp","modelid":"LCA003","manufacturername":"Signify Netherlands B.V.","productname":"Hue color Lamp","capabilities":{"certified":true,"control":{"mindimlev el":200,"maxlumen":800,"colorgamuttype":"C","colorgamut":[[0.6915,0.3083],[0.1700,0.7000],[0.1532,0.0475]],"ct":{"min":153,"max":500}},"streaming":{"renderer":true ,"p roxy":true}},"config":{"archetype":"sultanbulb","function":" mixed","direction":"omnidirectional","startup":{"mode":"safe ty","configured":true}},"uniqueid":"00:17:88:01:08:97:19:f c-0b","swversion":"1.65.11_hB798F2","swconfigid":"4A7D1A15", "p roductid":"Philips-LCA003-1-A19ECLv6"}}
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: GET, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights', Version: 1.1, Content: , Headers:
          {
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace [{"success":{"/lights/5/state/on":true}}]
          9/4/2020 1:00:00 PM PhilipsHue Trace Response:StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
          {
          Connection: close
          Pragma: no-cache
          Pragma: no-cache
          Access-Control-Max-Age: 3600
          Access-Control-Allow-Origin: *
          Access-Control-Allow-Credentials: true
          Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE, HEAD
          Access-Control-Allow-Headers: Content-Type
          X-XSS-Protection: 1; mode=block
          X-Frame-Options: SAMEORIGIN
          X-Content-Type-Options: nosniff
          Content-Security-Policy: default-src 'self'
          Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
          Date: Fri, 04 Sep 2020 18:00:01 GMT
          Server: nginx
          Referrer-Policy: no-referrer
          Content-Type: application/json
          Expires: Mon, 01 Aug 2011 09:00:00 GMT
          }
          9/4/2020 1:00:00 PM PhilipsHue Trace {"on":true}
          9/4/2020 1:00:00 PM PhilipsHue Trace Request:Method: PUT, RequestUri: 'http://192.168.1.216/api/bSb7-qeHEiTAhTDA3oY4HPYjhsStaY1-80nDdHTM/lights/5/state', Version: 1.1, Content: Q42.HueApi.Models.JsonContent, Headers:
          {
          Content-Type: application/json; charset=utf-8
          }
          9/4/2020 1:00:00 PM HomeSeer Device Control Device: Plugin PhilipsHue Color Control to (0)
          9/4/2020 1:00:00 PM HomeSeer Device Control Device: Plugin PhilipsHue Brightness to 55% (55)
          9/4/2020 1:00:00 PM HomeSeer Device Control Device: Plugin PhilipsHue Status to On (1)
          9/4/2020 1:00:00 PM HomeSeer Event Event Trigger "Night Lighting BR Lamp 1"

          Comment


            #6
            I don't see any problem in this log, the bridge reports that command was successfull and lights #5 is on:

            Code:
            9/4/2020 1:00:00 PM PhilipsHue Trace [{"success":{"/lights/5/state/on":true}}]
            are you sure you are looking at the correct light when you test, i.e the one with id=5 in the bridge?

            the only potential problem is that the color control command might override the brightness value you set previously because internally when setting a color the plugin converts it from a RGB value to a HSV value, and a HSV value means Hue, Saturation and Brightness values will be set.
            So either remove the brightness command, or move it after the color control.

            Comment


              #7
              Thanks Spud...moving the brightness fixed the issue although I don't completely understand why. I appreciate your help.

              Comment

              Working...
              X