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:	107
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:	98
Size:	31.4 KB
ID:	1310237
    -- Wim

    Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
    650 devices ---- 336 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:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
        650 devices ---- 336 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:
           
          Jun-13 14:42:10 JowiHue Error: (BridgeFound):Start:Object reference not set to an instance of an object.
          Jun-13 14:42:10 JowiHue Warning: Bridge Philips hue changed IP from 10.215.81.139:80 to 10.215.81.106:80 - Restarting processes for this bridge
          Jun-13 14:42:06 JowiHue Error: (SetDeviceByUserRequest):Start:SDBUR setstate on start -----Object variable or With block variable not set.
          Jun-13 14:41:52 Event Event Trigger "Utility Door 2 30 Min"
          Jun-13 14:41:30 JowiHue ==============================================================================================
          Jun-13 14:41:30 JowiHue Device of reporting bridge and light firmware updates is enabled
          Jun-13 14:41:30 JowiHue 2 Animations available for use in this plugin
          Jun-13 14:41:30 JowiHue 8 Local scenes available for use in the JowiHue plugin
          Jun-13 14:41:30 JowiHue 22 Presets available for use in the JowiHue plugin
          Jun-13 14:41:30 JowiHue -------------------------------------Plugin info ---------------------------------------------
          Jun-13 14:41:30 JowiHue Bridge Philips hue is at version of type on a
          Jun-13 14:41:30 JowiHue 7 Groups available on bridge 'Philips hue'
          Jun-13 14:41:30 JowiHue 16 lights and/or plugs connected to bridge 'Philips hue'
          Jun-13 14:41:30 JowiHue -------------------------------------Bridge info ---------------------------------------------
          Jun-13 14:41:30 JowiHue ==============================================================================================
          Jun-13 14:41:28 JowiHue * Bridge Philips hue at 10.215.81.139:80 not connected (not reachable)
          Jun-13 14:41:28 JowiHue Warning: Bridge Philips hue not reachable on 10.215.81.139 is bridge powered on or IP/Port address has changed?
          Jun-13 14:41:28 JowiHue Cannot find bridge Philips hue on ip adress 10.215.81.139:80 marking unreachable
          Jun-13 14:41:28 JowiHue Warning: Bridge Philips hue not reachable on 10.215.81.139 is bridge powered on or IP/Port address has changed?
          Jun-13 14:41:27 JowiHue Cannot find bridge Philips hue on ip adress 10.215.81.139:80 marking unreachable
          Jun-13 14:41:27 JowiHue Importing SensorModels
          Jun-13 14:41:26 JowiHue Importing SensorTypes
          Jun-13 14:41:26 Plug-In Finished initializing plug-in JowiHue
          Jun-13 14:41:26 Starting Plug-In JowiHue loaded in 2523 milliseconds
          Jun-13 14:41:26 JowiHue Importing lampTypes
          Jun-13 14:41:26 Starting Plug-In Plugin JowiHue started successfully in 1547 milliseconds
          Jun-13 14:41:26 JowiHue InitIO:Plugin basic initialisation done
          Jun-13 14:41:26 JowiHue Changed Bridges table
          Jun-13 14:41:26 JowiHue Starting plugin JowiHue 2.0.3.3 on Windows
          Jun-13 14:41:25 Starting Plug-In Initializing plugin JowiHue ...
          Jun-13 14:41:24 Info Plugin JowiHue has connected. IP:127.0.0.1:62038

          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:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
              650 devices ---- 336 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:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                  650 devices ---- 336 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:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                      650 devices ---- 336 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:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                          650 devices ---- 336 events ----- 40 scripts

                          Comment


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

                            Comment

                            Working...
                            X