Announcement

Collapse
No announcement yet.

Devices and Groupings

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

    Devices and Groupings

    I've noticed a couple of strange things now that I'm looking more at my Xaiomi devices..

    For device 9, which is a multi function device, which does temperature, pressure and humidity (I'll attach the JSON at the end).
    As you can see from the screen shot, the battery Pressure 9 and Battery Humidity 9 aren't grouped with the others. Even if it were, I think it would still look a little strange - wouldn't it be something like 'Device 9 root', with the battery, temp etc as child objects? Since it's a single multi function device, there should be no need for the 3 batteries.

    I can understand why there's 3 battery devices showing - the JSON is pulling back 3 devices, and there's a battery object in each, but since the unique ID is, well unique, other than the function suffix, they should be able to be grouped together, or ideally eliminated. You could just return the temperature battery value, but check all 3, and drop an error status in the root object if they do not match?



    Click image for larger version

Name:	CaptureJowi1.PNG
Views:	44
Size:	69.5 KB
ID:	1272262

    Looking at the device in Phoscon, it's only showing a single battery when you bring up the device, which makes sense, since there's only one battery in it.

    Click image for larger version

Name:	CaptureJowi2.PNG
Views:	43
Size:	22.0 KB
ID:	1272263


    G


    ZHATemperature

    **************************** Object info *****************************
    {
    "ep": 1,
    "etag": "5111c21a24f0497555cecc263d0789a6",
    "state": {
    "temperature": 2003,
    "lastupdated": "2019-01-04T13:18:29"
    },
    "config": {
    "on": true,
    "battery": 98,
    "reachable": true,
    "offset": 0
    },
    "name": "Temperature 9",
    "type": "ZHATemperature",
    "modelid": "lumi.weather",
    "manufacturername": "LUMI",
    "uniqueid": "00:15:8d:00:02:37:4f:ed-01-0402"
    }
    ************************* End Object info ***************************
    ZHAHumidity

    **************************** Object info *****************************
    {
    "ep": 1,
    "etag": "a0d1228db309feeff9d47c8655516f6c",
    "state": {
    "humidity": 4480,
    "lastupdated": "2019-01-04T13:18:29"
    },
    "config": {
    "on": true,
    "battery": 98,
    "reachable": true,
    "offset": 0
    },
    "name": "Humidity 9",
    "type": "ZHAHumidity",
    "modelid": "lumi.weather",
    "manufacturername": "LUMI",
    "uniqueid": "00:15:8d:00:02:37:4f:ed-01-0405"
    }
    ************************* End Object info ***************************
    ZHAPressure

    **************************** Object info *****************************
    {
    "ep": 1,
    "etag": "a0d1228db309feeff9d47c8655516f6c",
    "state": {
    "lastupdated": "2019-01-04T13:18:29",
    "pressure": 970
    },
    "config": {
    "on": true,
    "battery": 98,
    "reachable": true
    },
    "name": "Pressure 9",
    "type": "ZHAPressure",
    "modelid": "lumi.weather",
    "manufacturername": "LUMI",
    "uniqueid": "00:15:8d:00:02:37:4f:ed-01-0403"
    }
    ************************* End Object info ***************************
    Attached Files

    #2
    Thought I caught the creation of extra batteries. You are on the beta right? Will recheck why this can happen still.

    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


      #3
      Originally posted by w.vuyk View Post
      You are on the beta right? Will recheck why this can happen still.

      Wim
      I am NOT on the beta. There's been a few odd things going on, so I've been holding off new betas for the last month or so. I can upgrade to the beta if you think that will fix the issue? I was toying with upgrading DeConz to 54, since I saw that was released yesterday.

      If I do upgrade, how should I handle the additional devices, or all the devices?


      G

      Comment


        #4
        Upgrading deCONZ to 54 is a good thing it seems, I am now also on this level and some older issue I was having seem to be resolved now (crissing fingers)
        The beta should take care of the extra beta's indedd, so it might be good to try. Jus make sure you have a backup of HS3 vofe upgrading.

        I think you can initially keep the extra devices, the plugin should remove them. If it does not, stop the plugin for a moment and remove the extra battery devices.

        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
          Originally posted by w.vuyk View Post
          Upgrading deCONZ to 54 is a good thing it seems, I am now also on this level and some older issue I was having seem to be resolved now (crissing fingers)
          The beta should take care of the extra beta's indedd, so it might be good to try. Jus make sure you have a backup of HS3 vofe upgrading.

          I think you can initially keep the extra devices, the plugin should remove them. If it does not, stop the plugin for a moment and remove the extra battery devices.

          Wim
          Code:
           [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:20 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]socket opened for deCONZ-GW on 192.168.42.130:443[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Double light detected!! On bridge deCONZ-GW a sensor is present with ID 11 and name Master Bedroom Window. On bridgedeCONZ-GW a sensor is present with ID 4 and name Master Bedroom Window[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: The plugin will remove the version of the light or plug that has not been used[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 806 and 708 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (CheckDevice)::Object reference not set to an instance of an object.[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (CheckDevice)::Gathering information from device Master Bedroom Window ref:774 of type Light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 765 and 711 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 764 and 444 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (CheckDevice)::Object reference not set to an instance of an object.[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Error: (CheckDevice)::Gathering information from device Master Bedroom Window ref:757 of type Light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 748 and 711 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Double light detected!! On bridge deCONZ-GW a sensor is present with ID 11 and name Master Bedroom Window. On bridgePhilips hue a sensor is present with ID 11 and name Master Bedroom Window[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: The plugin will remove the version of the light or plug that has not been used[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 739 and 708 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 733 and 711 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Warning: Orphaned Light Master Bedroom Window found, bridge device is unknown or bridge no longer registered[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 724 and 708 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 716 and 708 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:15 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]Check devices on refererence 582 and 444 those seem to control the same light[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:14 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]* Connected to bridge deCONZ-GW at 192.168.42.130:80[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          [TABLE="cellspacing: 0"]
          [TR]
          [TD="colspan: 1, align: left"][COLOR=#000000]Jan-05 8:39:14 PM[/COLOR][/TD]
           			[TD="colspan: 1, align: left"][COLOR=#000000] [/COLOR][/TD]
           			[TD="colspan: 3, align: left"][COLOR=#000000]JowiHue[/COLOR][/TD]
           			[TD="colspan: 8, align: left"][COLOR=#000000]* Connected to bridge Philips hue at 192.168.42.118:80[/COLOR][/TD]
           		[/TR]
          [/TABLE]
          The plugin didn't remove the additional devices, so I stopped the plugin and manually removed them. When I started up the plugin again, I got the above in the log, which is basically what I got in the log the first time (it also upgraded the database to V5).

          Also, I lost connection with the Hue hub again, so i had to detach and reattach it; and again, it still works from the app.

          I'll check in the morning to see if the additional battery devices come back. I'll probably update to V54 tomorrow.


          G

          Comment


            #6
            That does not look very good. I have eased the plugin in removing devices as it could also remove devices if the plugin would start while a gateway was starting slow. which could result in unwanted removal of devices. I am working on the bridge maintenance page to enable viewing the issues there. But that is a large change and is taking quite some time here.

            What is you conclusion when you check the devices mentioned? Reference 582 and 444 for example? Or 716 and 708? Are these devices indeed controlling the same light? Can you check what might be happening there?
            -- 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


              #7
              I had a quick look last night before heading to bed, and saw the pic below. Device 765 is the live device, all the others show

              Code:
              start light config -- Object reference not set to an instance of an object.
              Not sure if it's important or not, but the physical bulb is a tunable white Sylvania. The graphic for the 711 device is correct, all the others are incorrect. The "Technology Address" for all the bulbs is "LIGHTIFY A19 Tunable White-1". And also to add, this bulb is on my DeConz (and is the only bulb on the DeConz - all my other bulbs are on the Hue Hub).


              Click image for larger version

Name:	CaptureJowi3.PNG
Views:	78
Size:	312.9 KB
ID:	1273263

              Comment


                #8
                Ok, that does not look very good. I think these might have been created by 2.0.2.8 or earlier. The beta plugin should no longer do this. Can you post the JSON from the Properties\JowiHue tab for me on the working device? This particular bulb is very non-standard on zigbee so far, that is why you see the hue/sat devices where you would not expect them. But it seems to be needed for CT control, which is working I suppose?

                You best stop the plugin and remove the doubles, make sure to keep the 765 and childs. Then start the plugin and it should no longer complain.

                Sorry about these doubles....
                -- 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

                Working...
                X