Announcement

Collapse
No announcement yet.

Creativity -> Scenes -> Take a snapshot of all lights that are on --- not working

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

    Creativity -> Scenes -> Take a snapshot of all lights that are on --- not working

    Hi, I am trying to use this feature and it appears to be working but no new scene is created, and I get an error in the log.

    JowiHue 4.0.5.5
    Homeseer HS4 Standard Edition 4.2.5.0 (Windows)

    Here's what I get in the log:
    11/3/2021 9:10:46 AM JowiHue Info Snapshot scene in group JowiHue Groups was successfully created.
    11/3/2021 9:10:46 AM JowiHue Error Error: (SceneSnapshot):An item with the same key has already been added.


    Couple of things to note:

    1) I recently upgraded to the HS4 version of the plugin and just started using it.
    2) I was using it before with HS3 and my previous "scenes" under creativity were imported in to the new plugin. These work just fine as they are.


    Click image for larger version  Name:	2021-11-03_09h18_10.jpg Views:	0 Size:	11.1 KB ID:	1506124




    Attached Files

    #2
    Not sure what happened, but I tried it again now and it worked.


    11/3/2021 11:29:02 AM JowiHue Info Snapshot scene in group JowiHue Groups was successfully created.


    Nothing to see here I guess, sorry for the noise.

    Comment


      #3
      No problem, sometimes the plugin needs a restart or a kick in the b*tt

      -- Wim

      Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

      1210 devices/features ---- 392 events ----- 40 scripts

      Comment


        #4
        It's an intermittent problem and is happening again, although that's not helpful to you. If I get a specific sequence of events to cause the issue I'll add an update. Restarting the plugin didn't help and at this point it's not working at all. I'll keep fidgeting around with it.

        Comment


          #5
          Is it possible you have lights with the same name? Not 100% sure but that might cause an issue on the snapshots maybe. If it is, the snapshot will work if one of the double lights is off and cause issue when both lights are on?

          Wim
          -- Wim

          Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

          1210 devices/features ---- 392 events ----- 40 scripts

          Comment


            #6
            Just a note -- this is still an issue for me. Earlier in this work the snapshot worked at one point, for one capture, but outside of that exception this hasn't been working for me.

            If the double light name issue is a problem (I'll need to check but I'm fairly certain each has a unique name to make things easier for me) would something show up in the debug logs? Also, can I increase the debug verbosity to help determine what's happening?

            I went to Creativity -> Presets -> Select lights to test and/or taking snapshot
            And it shows all the lights and none are duplicated names there, if that helps clarify this.

            This is what I got in the logs just now when trying:

            11/13/2021 7:30:16 AM JowiHue Info Snapshot scene in group JowiHue Groups was successfully created.
            11/13/2021 7:30:16 AM JowiHue Error Error: (SceneSnapshot):An item with the same key has already been added.

            Comment


              #7

              I think there's probably something wrong with one or more of my devices but these logs don't seem to help me understand how to find it.

              Do these mean anything to anyone else? I found the logging options under "Tracing" and got these from the jowihue log file when trying to do a snapshot:

              06:43:06.1584102 -- (HSPI.PostBackProc) received data {"Button":"scenesnapshot","Tab":"scenes","Preset":"","Sce ne" :"","Animation":"","Group":"JowiHue Groups","Selection":""}
              06:43:06.1584102 -- (CreativityPage.GetResponseCreativity) Debug: Handling scenesnapshot
              06:43:06.1604138 -- (SceneFunctions.SceneSnapshot) Error: HWQ: dequeue command:An item with the same key has already been added.

              Comment


                #8
                dmcentire

                Good news, I found a way to copy the issue here and resolved it here. It will be in the next version, which will be released this or next week depending on testing of other changes.

                Wim
                -- Wim

                Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

                1210 devices/features ---- 392 events ----- 40 scripts

                Comment


                  #9
                  Awesome! Glad it was something other than just me :-)

                  Comment

                  Working...
                  X