Announcement

Collapse
No announcement yet.

JowiHue action set lights doesn't show device on

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

    JowiHue action set lights doesn't show device on

    JowiHue action set lights doesn't show device on. I changed a little while back to using the JowiHue Action set lights as the HS way to turn on a device stopped working.

    I just now realized that none of the devices show they are on. I have several events that checks to see if a light is already on before it sets them and the device is not on according to HS. Is there a fix on the HS side or is there a way in an event to see if a light is on?

    Hope that makes sense!?

    #2
    Because the devices have a dim value, the on value is only used to set the dimvalue to the last known dim value, so there is no 'status' on.
    What I am using myself for events to check if a light is on is using the "is greater then off" option of the device conditions, like in below event.

    Click image for larger version

Name:	2019-06-13 09_56_18-HomeSeer Web Control - Ev....png
Views:	267
Size:	33.0 KB
ID:	1310236

    Also I am using using the JowiHue condition "if any light in group is on/off". Very usefull if you have grouped your devices in a room group or other logical groups.

    Click image for larger version

Name:	2019-06-13 10_00_55-HomeSeer Web Control - Ev....png
Views:	254
Size:	31.4 KB
ID:	1310237
    -- 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


      #3
      The problem is they are colored lights so there is hue, intensity, lux and off on. None of these seem to change when I turn on the light using action.

      Comment


        #4
        Do the phisical lights change? if so, it seems the updates back to the plugin are missed somehow? Here all devices update when changes are done, either with HS events or other apps. So I seem to miss what you exactly are doing? If you check the properties of the on/off devices, JowiHue tab, you wil see the JSON string coming from the bridge. Do the Hue/Sat and bri values match your current valies of the corresponding devices?

        Maybe posting an image of your actions could help also?

        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


          #5
          Every time I update the JowiHue I get errors in the log and it doesnt work. I wind up removing the bridge and re adding it then everything is ok. Here is the log. I just got the latest plugin and will let you know if that helps.


          Code:
           [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:42:10[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (BridgeFound):Start:Object reference not set to an instance of an object.[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:42:10[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Bridge Philips hue changed IP from 10.215.81.139:80 to 10.215.81.106:80 - Restarting processes for this bridge[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:42:06[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (SetDeviceByUserRequest):Start:SDBUR setstate on start -----Object variable or With block variable not set.[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:52[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Event[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Event Trigger "Utility Door 2 30 Min"[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#009966]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#009966]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#009966]==============================================================================================[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]Device of reporting bridge and light firmware updates is enabled[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]2 Animations available for use in this plugin[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]8 Local scenes available for use in the JowiHue plugin[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]22 Presets available for use in the JowiHue plugin[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#660099]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#660099]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#660099]-------------------------------------Plugin info ---------------------------------------------[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]Bridge Philips hue is at version of type on a[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]7 Groups available on bridge 'Philips hue'[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#996600]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#996600]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#996600]16 lights and/or plugs connected to bridge 'Philips hue'[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#660099]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#660099]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#660099]-------------------------------------Bridge info ---------------------------------------------[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#009966]Jun-13 14:41:30[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#009966]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#009966]==============================================================================================[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:28[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]* Bridge Philips hue at 10.215.81.139:80 not connected (not reachable)[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:28[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Bridge Philips hue not reachable on 10.215.81.139 is bridge powered on or IP/Port address has changed?[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:28[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Cannot find bridge Philips hue on ip adress 10.215.81.139:80 marking unreachable[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:28[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Bridge Philips hue not reachable on 10.215.81.139 is bridge powered on or IP/Port address has changed?[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:27[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Cannot find bridge Philips hue on ip adress 10.215.81.139:80 marking unreachable[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:27[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Importing SensorModels[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Importing SensorTypes[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Finished initializing plug-in JowiHue[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Starting Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]JowiHue loaded in 2523 milliseconds[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Importing lampTypes[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Starting Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin JowiHue started successfully in 1547 milliseconds[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]InitIO:Plugin basic initialisation done[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Changed Bridges table[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:26[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Starting plugin JowiHue 2.0.3.3 on Windows[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:25[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Starting Plug-In[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Initializing plugin JowiHue ...[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="align: left"][COLOR=#000000]Jun-13 14:41:24[/COLOR][/TD]
           			[TD="align: left"] [/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]Info[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Plugin JowiHue has connected. IP:127.0.0.1:62038[/COLOR][/TD]
           		[/TR]
          [/TABLE]

          Comment


            #6
            It seems getting the latest version of the plugin I now see the device on and off working.


            Still not sure why I get the error every time I install a new version

            Comment


              #7
              It looks like the IP address from you Philips Hue bridge is changing regulary. Is this due to the DHCP settings on the router? The plugin should have solved this automatically but looking at your log it does not do this correctly. Will look into this.
              For the time being you could look into the DHCP settings of your router to see if you can reserve the address for the Philips Hue bridge? That should prevent the error you are seeing from happening.

              I will recheck the change of IP address here

              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


                #8
                The DHCP is set to static for this. Thats where the ...106 comes from. I have never understood why it has some other address in the log. would that casue the errors?

                Error: (BridgeFound):Start:Object reference not set to an instance of an object.

                When I get this I always have to remove the bridge and mess around to re add it.

                Comment


                  #9
                  How are you removing the bridge? Removing the bridge device without the plugin active should do the trick?
                  -- 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


                    #10
                    Yes I am turning off the plug in and remove and re add the bridge. But I never had to to this before. Seems to have started several versions back.

                    Any idea why it has some other and then gets the correct ip from the dhcp server

                    Comment


                      #11
                      I have no idea why this could be happening. Do you have other (virtual) bridges active maybe? The ha homebridge for example is emulating a Hue bridge to enable othe device controls? Maybe the plugin gets confused by something like that? I have forced an ip change here, hoping it would show something, but the plugin changed the internal administration and did not come back on it, so I am withou a clue yet... only doubt here is on the emulated bridges...
                      -- 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


                        #12
                        I have an insteon bridge and the Philips hue bridge. Every time I restart hs I have to remove the jowihue connection to the bridge and then add it back again. Is there some log setting I should enable next time I reboot?

                        I added a screen shot below of the plugins.

                        Comment


                          #13
                          I doubt that an insteon bridge will confuse the plugin. So there must be something else going on here....

                          Could you try a detaild trace for me and send me the log? Follow these steps for the trace:
                          1. set detailed trace and log to file on the configuration page f the plugin
                          2. stop the plugin and start the plugin again, causing the IP issue...... and the trace is active, so I hope to see the cause behind this
                          3. let the pugin run for 30 minutes or so
                          4. then disable the detailed trace and log to file options on the configuration page
                          5. Send me the log file?
                          Send the file to jowihue at ziggo dot nl

                          Thanks! Hoping to catch the root of the issue

                          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


                            #14
                            Sent you email with the log. thank you!

                            Comment

                            Working...
                            X