dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 499 forks source link

TZ3000_gjnozsaz appears but only power and link quality - No power meter #5633

Closed waazdakka closed 2 years ago

waazdakka commented 2 years ago

Describe the bug

The plug appears in deCONZ with all its capabilities, but values stay by default in the electrical mesurement and the simple metering panels

Steps to reproduce the behavior

Expected behavior

Screenshots

image image image

Environment

Smanar commented 2 years ago

Lol, one user have too much notification and the other too less, swap your devices ^^.

Seriously, are you using a DDF ? If yes just go on the binding tab (the third) and at reporting you can change the setting (min / max / change), if it don't work your device use probably polling, try to increase the "interval value"

In the json it s this part

      "report": [
        {
          "at": "0x050B",
          "dt": "0x29",
          "min": 1,
          "max": 60,
          "change": "0x00000001"
        },

min is the minimum delay between 2 report max is the maximum delay between 2 report change is the minimum chnage that trigger a report

duepuntodue commented 2 years ago

Hi everybody,

i got it working. As mentioned before, I am using fhem as a smart home SW. One thing that bothers me is the frequency of the updates: [power value]: 2022-04-04_16:57:15 6 2022-04-04_16:57:16 40 (...) 2022-04-04_16:57:36 6 2022-04-04_16:57:37 104 2022-04-04_16:57:38 41

I get a new value every second. I am struggling to find a specification of the json-content of the file. Is there something where this can be limited?

Dek

Can you please check the application version in cluster 0x0000? Are you using DDF?

De-k commented 2 years ago

Hi,

currently I am using _TZ3000_gjnozsaz.zip

I copied the file to ~/.local/share/dresden-elektronik/deCONZ/devices/_TZ3000_gjnozsaz.json Of the user running deconz (default user pi on Raspberry)

I cannot use the gui, since my raspi is headless: only ssh terminal available. So i will try to adjust the json file according to your hints

Dek

lordCONAN commented 2 years ago

I edited the json @De-k linked to match my plug (_TZ3000_kx0pris5), SSH'd into my HAOS machine, and placed the file in /mnt/data/supervisor/addons/data/core_deconz/.local/share/dresden-elektronik/deCONZ/devices This got power monitoring working for both the 16A and 20A version of the same plug I have.

Smanar commented 2 years ago

Nice, thx for return, but I don't understand why some users have the good folder and other no ... And I have perhaps something new too for HA https://forum.phoscon.de/t/how-to-add-edit-a-ddf-on-ha-using-text-editor/1839/2

nukleuz80 commented 2 years ago

Hi there, i tried the DDF file from @De-k and now i get the measurement sensors. It seems to work fine but the power in Watt is 0.

Do you have any suggestions for it?

Here a screenshot from ioBroker objects and API - they are identical to each other...

grafik

{ "config": { "on": true, "reachable": true }, "etag": "0bbbdee622e75c565a02da42c91c5a43", "lastannounced": "2022-05-12T07:47:01Z", "lastseen": "2022-05-12T08:21Z", "manufacturername": "_TZ3000_gjnozsaz", "modelid": "TS011F", "name": "Power 125", "state": { "current": 17, "lastupdated": "2022-05-12T08:21:28.521", "power": 0, "voltage": 233 }, "type": "ZHAPower", "uniqueid": "a4:c1:38:81:56:ec:63:9a-01-0b04" }

The value for power is updating every 90 seconds with "0".

Smanar commented 2 years ago

So it work fine but every 90s you have a 0 zero value that overwrite the good one ?

I can't make test on my side but some device use a "filter" feature

        {
          "name": "state/power",
          "refresh.interval": 360,
          "read": {
            "at": "0x0400", 
            "cl": "0x0702", 
            "ep": 2,
            "fn": "zcl"
          },
          "parse": {
            "at": "0x0400",
            "cl": "0x0702",
            "ep": 1,
            "eval": "if (Attr.val != -16777215 && Attr.val != 16777215) { Item.val = Attr.val; }",
            "fn": "zcl"
          },
          "default": 0
        }

Here someone check for -16777215, we can't use 0 as value, because you can have a 0 zero value, perhaps you can catch the bad value on logs ?

nukleuz80 commented 2 years ago

Hi @Smanar,

there is no other value than 0 (zero). I have a light with 15Watt in the plug but the value is 0 when the light/plug is on.

So there is every 90 seconds a 0/zero value.

EDIT: So i will check the logs for other values...

Smanar commented 2 years ago

Ha nope, I have bad understand. You don't something with more consumption to test ? Because the tension is working, and they are working same in the DDF.

Mimiix commented 2 years ago

Hi @Smanar,

there is no other value than 0 (zero). I have a light with 15Watt in the plug but the value is 0 when the light/plug is on.

So there is every 90 seconds a 0/zero value.

EDIT: So i will check the logs for other values...

What does the deCONZ Gui show in the respective clusters and attributes?

phwagner82 commented 2 years ago

Hi everyone! what is the current status on this topic? I have the same problems with this type of plugs... Hope you can fix this problem! Kind regards

nukleuz80 commented 2 years ago

Hi @Smanar,

there is no other value than 0 (zero). I have a light with 15Watt in the plug but the value is 0 when the light/plug is on.

So there is every 90 seconds a 0/zero value.

EDIT: So i will check the logs for other values...

What does the deCONZ Gui show in the respective clusters and attributes?

Here is the cluster...

image

Smanar commented 2 years ago

So the value is 0 too on your capture, you haven't a more powerfull device to test with your plug to have a bigger vlaue ?

Smanar commented 2 years ago
{
  "schema": "devcap1.schema.json",
  "manufacturername": "_TZ3000_gjnozsaz",
  "modelid": "TS011F",
  "vendor": "_TZ3000_gjnozsaz",
  "product": "TS011F",
  "sleeper": false,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_ON_OFF_PLUGIN_UNIT",
      "restapi": "/lights",
      "uuid": [
        "$address.ext",
        "0x01"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "state/alert",
          "default": "none"
        },
        {
          "name": "state/on"
        },
        {
          "name": "state/reachable"
        }
      ]
    },
    {
      "type": "$TYPE_CONSUMPTION_SENSOR",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0702"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/consumption",
          "refresh.interval": 300
        },
        {
          "name": "state/lastupdated"
        }
      ]
    },
    {
      "type": "$TYPE_POWER_SENSOR",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0b04"
      ],
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion"
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/current",
          "refresh.interval": 300
        },
        {
          "name": "state/lastupdated"
        },
        {
          "name": "state/power",
          "refresh.interval": 30
        },
        {
          "name": "state/voltage",
          "refresh.interval": 300
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0006",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x10",
          "min": 1,
          "max": 300
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0702",
      "report": [
        {
          "at": "0x0000",
          "dt": "0x25",
          "min": 1,
          "max": 300,
          "change": "0x0000000A"
        }
      ]
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "cl": "0x0B04",
      "report": [
        {
          "at": "0x0505",
          "dt": "0x21",
          "min": 1,
          "max": 500,
          "change": "0x00000003"
        },
        {
          "at": "0x0508",
          "dt": "0x21",
          "min": 1,
          "max": 300,
          "change": "0x0000000F"
        },
        {
          "at": "0x050B",
          "dt": "0x29",
          "min": 1,
          "max": 300,
          "change": "0x00000003"
        }
      ]
    }
  ]
}
phwagner82 commented 2 years ago

@Smanar thank you very much for the file and description. The power metering is working, but only once. the data will not be refreshed. can i support you with some logs to fix the issue? br Philipp

Smanar commented 2 years ago

You have the issue on all return ? Power/ voltage / current/ consumption ? Because the binding don't look so bad, and if the reporting don't working, the poll is enabled too in the DDF ...

If it s not working try to replace

        {
          "name": "state/power",
          "refresh.interval": 30
        },

by

        {
          "name": "state/power",
          "refresh.interval": 300,
          "read": {
            "at": "0x050b",
            "cl": "0x0B04",
            "ep": 1,
            "fn": "zcl"
          },
          "parse": {
            "at": "0x050b",
            "cl": "0x0B04",
            "ep": 1,
            "eval": "Item.val = Attr.val"
          }
        }
phwagner82 commented 2 years ago

yes, i have no data at all, only after restarting the deconz service or rebooting the whole HAOS

Am Mi., 15. Juni 2022 um 20:11 Uhr schrieb Smanar @.***

:

You have the issue on all return ? Power/ voltage / current/ consumption ? Because the binding don't look so bad, and if the reporting don't working, the poll is enabled too in the DDF ...

— Reply to this email directly, view it on GitHub https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5633#issuecomment-1156781179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOAL7RYOODQNQ4WY4RZLAPLVPIMGNANCNFSM5LFRDMUA . You are receiving this because you commented.Message ID: @.***>

nukleuz80 commented 2 years ago

So the value is 0 too on your capture, you haven't a more powerfull device to test with your plug to have a bigger vlaue ?

Now i have values with a more powerful device. I did. not use the file you posted. I think this was my issue...

😎

Smanar commented 2 years ago

@nukleuz80 so the DDF is working as it, without the change from here https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5633#issuecomment-1156781179 ?

phwagner82 commented 2 years ago

It doesn't work for me, the data is not updated.

Smanar commented 2 years ago

Value is updated in deconz ? Can you check is the DDf is used ? with logs or just open the editor with right clic on the node then "edit DDF" and look at file and path on window title.

phwagner82 commented 2 years ago

Hi Smanar! thank you very much for your fast response! Yes, i am using the DDF. If i click on "Edit DDF" the window shows me the DDF file name i used. I am using HomeAssistant OS and i cant use the file permanently. how can i find the right log files?

kind regards Philipp

Smanar commented 2 years ago

Nothing is updated, consumption, power tension, current ... Have you tried this modification https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5633#issuecomment-1156781179

You device look exactly same than the captures in the first post ?

If you have the GUI, can use it for logs (you can't make copy/paste on HA but can make screen capture) then in deconz / help / debug view

phwagner82 commented 2 years ago

device a4:c1:38:a3:8e:06:bf:64 and a4:c1:38:c1:0c:c7:51:88 are the same

15:50:28:084 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: attr/type 15:50:28:086 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: attr/uniqueid 15:50:28:087 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: config/on 15:50:28:087 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: config/reachable 15:50:28:088 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: state/current 15:50:28:089 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: state/lastupdated 15:50:28:090 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: state/power 15:50:28:091 sub-device: a4:c1:38:3c:36:3e:7b:fa-01-0b04, has item: state/voltage 15:50:28:174 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/id 15:50:28:174 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/lastannounced 15:50:28:175 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/lastseen 15:50:28:176 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/manufacturername 15:50:28:176 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/modelid 15:50:28:177 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/name 15:50:28:177 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/swversion 15:50:28:178 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/type 15:50:28:178 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: attr/uniqueid 15:50:28:179 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: state/alert 15:50:28:179 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: state/on 15:50:28:180 sub-device: a4:c1:38:c1:0c:c7:51:88-01, has item: state/reachable 15:50:28:183 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/id 15:50:28:184 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/lastannounced 15:50:28:184 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/lastseen 15:50:28:185 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/manufacturername 15:50:28:186 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/modelid 15:50:28:186 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/name 15:50:28:187 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/swversion 15:50:28:187 SQL exec failed: SELECT attr FROM sensors WHERE uniqueid = 'a4:c1:38:c1:0c:c7:51:88-01-0702' AND deletedState = 'normal', error: no such column: attr (1) 15:50:28:188 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/type 15:50:28:189 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: attr/uniqueid 15:50:28:190 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: config/on 15:50:28:191 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: config/reachable 15:50:28:193 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: state/consumption 15:50:28:193 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0702, has item: state/lastupdated 15:50:28:197 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/id 15:50:28:198 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/lastannounced 15:50:28:198 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/lastseen 15:50:28:199 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/manufacturername 15:50:28:200 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/modelid 15:50:28:201 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/name 15:50:28:202 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/swversion 15:50:28:203 SQL exec failed: SELECT attr FROM sensors WHERE uniqueid = 'a4:c1:38:c1:0c:c7:51:88-01-0b04' AND deletedState = 'normal', error: no such column: attr (1) 15:50:28:203 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/type 15:50:28:204 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: attr/uniqueid 15:50:28:205 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: config/on 15:50:28:205 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: config/reachable 15:50:28:206 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: state/current 15:50:28:206 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: state/lastupdated 15:50:28:207 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: state/power 15:50:28:208 sub-device: a4:c1:38:c1:0c:c7:51:88-01-0b04, has item: state/voltage 15:50:28:309 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/id 15:50:28:311 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/lastannounced 15:50:28:311 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/lastseen 15:50:28:312 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/manufacturername 15:50:28:312 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/modelid 15:50:28:313 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/name 15:50:28:313 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/swversion 15:50:28:314 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/type 15:50:28:315 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: attr/uniqueid 15:50:28:315 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: state/alert 15:50:28:316 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: state/on 15:50:28:316 sub-device: a4:c1:38:a3:8e:06:bf:64-01, has item: state/reachable 15:50:28:318 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/id 15:50:28:319 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/lastannounced 15:50:28:320 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/lastseen 15:50:28:321 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/manufacturername 15:50:28:322 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/modelid 15:50:28:323 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/name 15:50:28:324 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/swversion 15:50:28:325 SQL exec failed: SELECT attr FROM sensors WHERE uniqueid = 'a4:c1:38:a3:8e:06:bf:64-01-0702' AND deletedState = 'normal', error: no such column: attr (1) 15:50:28:326 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/type 15:50:28:327 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: attr/uniqueid 15:50:28:327 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: config/on 15:50:28:328 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: config/reachable 15:50:28:329 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: state/consumption 15:50:28:329 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0702, has item: state/lastupdated 15:50:28:331 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/id 15:50:28:332 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/lastannounced 15:50:28:333 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/lastseen 15:50:28:334 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/manufacturername 15:50:28:334 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/modelid 15:50:28:335 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/name 15:50:28:335 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/swversion 15:50:28:336 SQL exec failed: SELECT attr FROM sensors WHERE uniqueid = 'a4:c1:38:a3:8e:06:bf:64-01-0b04' AND deletedState = 'normal', error: no such column: attr (1) 15:50:28:337 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/type 15:50:28:338 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: attr/uniqueid 15:50:28:338 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: config/on 15:50:28:339 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: config/reachable 15:50:28:340 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: state/current 15:50:28:340 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: state/lastupdated 15:50:28:341 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: state/power 15:50:28:342 sub-device: a4:c1:38:a3:8e:06:bf:64-01-0b04, has item: state/voltage 15:50:28:452 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 142 15:50:30:254 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 113 15:50:31:256 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 95 15:50:33:016 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 852 15:50:33:257 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/voltage expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 230 15:50:33:376 a4:c1:38:aa:7e:f3:c6:c2-01-0b04/state/voltage expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 231 15:50:34:007 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/voltage expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 231 15:50:40:271 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 57

Attr.val; } --> 170 15:55:04:089 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:04:199 DEV: Poll Next failed to enqueue read item: state/voltage / 0xA4C1383C363E7BFA 15:55:04:698 DEV: Poll Next failed to enqueue read item: state/voltage / 0xA4C138A38E06BF64 15:55:04:700 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1389DDE72113A 15:55:05:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138AA7EF3C6C2 15:55:05:199 DEV: Poll Next failed to enqueue read item: state/voltage / 0xA4C138C10CC75188 15:55:06:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1383C363E7BFA 15:55:06:698 DEV: Poll Next failed to enqueue read item: state/voltage / 0xA4C138A38E06BF64 15:55:06:700 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1389DDE72113A 15:55:07:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138AA7EF3C6C2 15:55:07:200 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138C10CC75188 15:55:07:243 DEV Poll Busy /devices/0x588E81FFFEFF5ED6 APS-DATA.confirm id: 102, status: 0x00 15:55:07:277 58:8e:81:ff:fe:ff:5e:d6-01/state/on expression: Item.val = Attr.val --> true 15:55:07:282 DEV Poll Busy /devices/0x588E81FFFEFF5ED6 ZCL response seq: 114, status: 0x00 15:55:07:284 DEV Poll Idle enter /devices/0x588E81FFFEFF5ED6 15:55:08:030 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 165 15:55:08:039 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:08:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1383C363E7BFA 15:55:08:697 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138A38E06BF64 15:55:08:700 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1389DDE72113A 15:55:09:049 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 789 15:55:09:057 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:09:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138AA7EF3C6C2 15:55:09:199 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138C10CC75188 15:55:10:197 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C1383C363E7BFA 15:55:10:698 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138A38E06BF64 15:55:10:736 DEV Poll Busy /devices/0xA4C1389DDE72113A APS-DATA.confirm id: 124, status: 0x00 15:55:10:771 DEV Poll Busy /devices/0xA4C1389DDE72113A ZCL response seq: 117, status: 0x86 15:55:10:772 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1389DDE72113A 15:55:11:027 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 161 15:55:11:035 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:11:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138C10CC75188 15:55:11:243 DEV Poll Busy /devices/0xA4C138AA7EF3C6C2 APS-DATA.confirm id: 129, status: 0x00 15:55:11:273 DEV Poll Busy /devices/0xA4C138AA7EF3C6C2 ZCL response seq: 118, status: 0x86 15:55:11:346 DEV Poll Busy /devices/0xA4C138AA7EF3C6C2 APS-DATA.confirm id: 132, status: 0x00 15:55:11:375 a4:c1:38:aa:7e:f3:c6:c2-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 0 15:55:11:383 DEV Poll Busy /devices/0xA4C138AA7EF3C6C2 ZCL response seq: 119, status: 0x00 15:55:11:385 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138AA7EF3C6C2 15:55:12:033 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/current expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 772 15:55:12:042 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:12:231 DEV Poll Busy /devices/0xA4C1383C363E7BFA APS-DATA.confirm id: 140, status: 0x00 15:55:12:282 DEV Poll Busy /devices/0xA4C1383C363E7BFA ZCL response seq: 121, status: 0x86 15:55:12:324 DEV Poll Busy /devices/0xA4C1383C363E7BFA APS-DATA.confirm id: 143, status: 0x00 15:55:12:372 a4:c1:38:3c:36:3e:7b:fa-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 8 15:55:12:378 DEV Poll Busy /devices/0xA4C1383C363E7BFA ZCL response seq: 122, status: 0x00 15:55:12:381 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1383C363E7BFA 15:55:12:698 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138A38E06BF64 15:55:12:700 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1389DDE72113A 15:55:13:238 DEV Poll Busy /devices/0xA4C138C10CC75188 APS-DATA.confirm id: 150, status: 0x00 15:55:13:262 DEV Poll Busy /devices/0xA4C138C10CC75188 ZCL response seq: 124, status: 0x86 15:55:13:298 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138AA7EF3C6C2 15:55:13:350 DEV Poll Busy /devices/0xA4C138C10CC75188 APS-DATA.confirm id: 154, status: 0x00 15:55:13:376 a4:c1:38:c1:0c:c7:51:88-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 18 15:55:13:412 DEV Poll Busy /devices/0xA4C138C10CC75188 ZCL response seq: 126, status: 0x00 15:55:13:511 DEV Poll Busy /devices/0xA4C138C10CC75188 APS-DATA.confirm id: 156, status: 0x00 15:55:13:552 a4:c1:38:c1:0c:c7:51:88-01-0b04/state/voltage expression: if (Attr.val != 65535) { Item.val = Attr.val; } --> 233 15:55:13:557 DEV Poll Busy /devices/0xA4C138C10CC75188 ZCL response seq: 127, status: 0x00 15:55:13:559 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138C10CC75188 15:55:14:282 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1383C363E7BFA 15:55:14:698 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1389DDE72113A 15:55:14:748 DEV Poll Busy /devices/0xA4C138A38E06BF64 APS-DATA.confirm id: 164, status: 0x00 15:55:14:765 DEV Poll Busy /devices/0xA4C138A38E06BF64 ZCL response seq: 128, status: 0x86 15:55:14:768 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138A38E06BF64 15:55:15:200 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138AA7EF3C6C2 15:55:15:661 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138C10CC75188 15:55:16:032 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 157 15:55:16:040 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x0000 15:55:16:198 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C1383C363E7BFA 15:55:16:698 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C1389DDE72113A 15:55:16:699 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138A38E06BF64 15:55:17:198 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C138AA7EF3C6C2 15:55:17:698 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138C10CC75188 15:55:18:198 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C1383C363E7BFA 15:55:18:698 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C1389DDE72113A 15:55:18:699 DEV: Poll Next failed to enqueue read item: attr/swversion / 0xA4C138A38E06BF64 15:55:19:198 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C138AA7EF3C6C2 15:55:19:698 DEV: Poll Next failed to enqueue read item: state/consumption / 0xA4C138C10CC75188

Smanar commented 2 years ago

You are using the GUI to have logs ?

If yes, after some time, because atm there is the configuration part (busy error that are solved later), do you still have thoses lines


15:55:16:032 a4:c1:38:a3:8e:06:bf:64-01-0b04/state/power expression: if (Attr.val != -32768 && Attr.val != 32768) { Item.val = Attr.val; } --> 157
15:55:16:040 ZCL attribute report 0xA4C138A38E06BF64 for cluster: 0x0B04, ep: 0x01, frame control: 0x18, mfcode: 0x000
```0
github-actions[bot] commented 2 years ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

phwagner82 commented 2 years ago

yes, i am using the gui.

can i filter the log to get better logs? image

Smanar commented 2 years ago

The 2 previous debug line are visible with "info" and "DDF"

The first one mean the device send the attribute value report or poll The second one mean a report

And after some time, I don't think you still have this kind of error

15:55:11:198 DEV: Poll Next failed to enqueue read item: state/current / 0xA4C138C10CC75188

Values are visible on the GUI ? For exemple on the cluster 0x0b04 ?

github-actions[bot] commented 2 years ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

github-actions[bot] commented 2 years ago

As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.