Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SilverCrest Smart Button (LIDL) _TZ3000_rco1yzb1 TS004F #6107

Closed
markusmauch opened this issue Jun 4, 2022 · 50 comments
Closed

SilverCrest Smart Button (LIDL) _TZ3000_rco1yzb1 TS004F #6107

markusmauch opened this issue Jun 4, 2022 · 50 comments

Comments

@markusmauch
Copy link

markusmauch commented Jun 4, 2022

Device

  • Product name: SilcerCrest Smart Button (LIDL)
  • Manufacturer: _TZ3000_rco1yzb1
  • Model identifier: TS004F
  • Device type : Switch

https://www.lidl.de/p/silvercrest-smart-button-mit-magnetischer-wandhalterung-zigbee-smart-home/p100339621

Screenshots

image
image
image
image

The device shows up as a connected switch but is not available in the device editor.

@steff75
Copy link

steff75 commented Jun 7, 2022

I also got this today. Could it possibly be the same as this one, just in a different case?
#6031

Anyway, I paired it in with Phoscon and it creates a switch and a light. When I press the button, all the lights that exist in Phoscon are turned on without me even linking a light.

@oli737
Copy link

oli737 commented Jun 20, 2022

Same Problem here. All devices turning on or off on button press.

@kuhsaber
Copy link

kuhsaber commented Jun 21, 2022

I have the same problem. I connected the silvercrest smart button via phoscon, then the button switches ALL the lights on and off.
side note: when phoscon is off (docker container off) the smartbutton continues to turn ALL lights on and off (if pressed once or twice).

@LarschOakheart
Copy link

jep i have the same problem with two of these switches

@oli737
Copy link

oli737 commented Jun 21, 2022

It does not only switch lights on all at once.
Also electric outlets switch on too on button press.

@Smanar
Copy link
Collaborator

Smanar commented Jun 21, 2022

Hello can you try this DDF

{
  "schema": "devcap1.schema.json",
  "manufacturername": "_TZ3000_rco1yzb1",
  "modelid": "TS004F",
  "product": "TS004F",
  "sleeper": false,
  "status": "Gold",
  "subdevices": [
    {
      "type": "$TYPE_SWITCH",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0006"
      ],
      "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/buttonevent"
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }
  ],
  "bindings": [
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0006"
    },
    {
      "bind": "unicast",
      "src.ep": 1,
      "dst.ep": 1,
      "cl": "0x0008"
    }
  ]
}

And add the device in the list in the button_maps.json file (you will found it in the "devices" folder too)

        "Tuya3gangMap": {
            "vendor": "Tuya",
            "doc": "3-gang remote",
            "modelids": ["_TZ3000_rco1yzb1", "_TZ3000_t8hzpgnd", "_TZ3000_wkai4ga5", "_TZ3000_bi6lpsew", "_TZ3400_keyjhapk", "_TYZB02_key8kk7r",

It will not solve the groupcast issue yet, but will make the state/buttonevent working.

@traschke
Copy link
Contributor

Just a little feedback while I was playing around with these switches (it's my first time I got into adding own DDFs):

I am using the docker container deconzcommunity/deconz on armv7.
I mounted the DDF to /usr/share/deCONZ/devices/tuya/_TZ3000_rco1yzb1_switch.json and mounted a modified button_maps.json to /usr/share/deCONZ/devices/button_maps.json, where _TZ3000_rco1yzb1 was added to the modelids array of the Tuya3gangMap object.

Afterwards I restarted the deCONZ container and added the first switch (out of 3) via the Phoscon WebUI. It seemed to work and surprisingly the switch didn't turn on/off all devices. I could also connect the switch to OpenHAB and see the buttonevent being updated.

I added the second switch and it behaved like others mentioned before, turning all devices on/off. The buttonevent also didn't update on the second one (not in openHAB and not in the REST API). After that, the first switch also stopped working (doing literally nothing, no turning on/off all devices and buttonevent also not updated anymore). I removed both switches and re-added them and they behaved like the second one did, controlling all devices and no buttonevent updates.

I always get 2 devices/sensors per switch in the REST API (from GET api/<apikey>/sensors):

  "32": {
    "config": {
      "battery": null,
      "group": "65520",
      "on": true,
      "reachable": true
    },
    "ep": 1,
    "etag": "32c5f268b3f58453a3b9297e4a33bf83",
    "lastannounced": null,
    "lastseen": "2022-06-23T20:31Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "mode": 1,
    "modelid": "TS004F",
    "name": "TS004F",
    "state": {
      "buttonevent": null,
      "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-1000"
  },
  "33": {
    "config": {
      "on": true,
      "reachable": true
    },
    "etag": "63eead54a5881bba7838b0f0157c286f",
    "lastannounced": null,
    "lastseen": "2022-06-23T20:31Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "mode": 1,
    "modelid": "TS004F",
    "name": "Switch 33",
    "state": {
      "buttonevent": null,
      "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-0006"
  }

Hope this helps in some way. If something needs to be tested, I'm glad to help.

@Smanar
Copy link
Collaborator

Smanar commented Jun 24, 2022

You have a "core mix" ....

"uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-1000"

This one is created with the legacy code, and it use the group feature "group": "65520",

"uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-0006"

This one is created by the DDF code and don't use the group feature.

I can't explain what happen :

  • The first one is probably created before the DDF was added ?
  • The first one can be created because the legacy code is too fast (If it s that, can be usefull, we have this issue on another device too)
  • On your last try nothing is working, but I can add the group feature on the DDF if this kind of working mode is better for you (can disable broadcast request)
  • Can check too if you don't have a bad entry created in "light" section.

@traschke
Copy link
Contributor

I had some more time to tinker around with the switch.

I'll try to answer your questions first:

The first one is probably created before the DDF was added ?

I deliberately checked the Github Issues before I've done anything with the switch. I found this issue and added your DDF and button mappings before adding the device to my network. Today I double checked if the files are in the correct locations and also checked their filesystem permissions. Seems fine on my side.

The first one can be created because the legacy code is too fast (If it s that, can be usefull, we have this issue on another device too)

As I have no deep insights in the internal functionality of deCONZ, I cannot answer this.

On your last try nothing is working, but I can add the group feature on the DDF if this kind of working mode is better for you (can disable broadcast request)

Same as above. I could never replicate this state. The only state I get now is the switch turning on all devices on single press and turning them off again on double press. There are still two switch devices present und /sensors and also a entry in the light section (See below)

Can check too if you don't have a bad entry created in "light" section.

Today I started a "fresh" run. I made sure all switches are removed and only worked with one switch for now. I indeed discoved an odd looking entry in the Phoscon light section called Dimmer switch 11.

image

The REST API returns this:

  "11": {
    "etag": "2d46612476b0191fd423f93a6aa82932",
    "hascolor": false,
    "lastannounced": null,
    "lastseen": "2022-06-26T18:39Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "modelid": "TS004F",
    "name": "Dimmer switch 11",
    "state": {
      "alert": "none",
      "on": false,
      "reachable": true
    },
    "swversion": null,
    "type": "Dimmer switch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01"
  }

In the PhosconUI section for switches there is one entry called TS004F.

image

The REST API on the other hand still returns two entries und the /sensors endpoint:

  "22": {
    "config": {
      "battery": null,
      "on": true,
      "reachable": true
    },
    "ep": 1,
    "etag": "57102ed75a55a901072f4f4850ecead1",
    "lastannounced": null,
    "lastseen": "2022-06-26T18:39Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "mode": 1,
    "modelid": "TS004F",
    "name": "TS004F",
    "state": {
      "buttonevent": null,
      "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-1000"
  },
  "23": {
    "config": {
      "on": true,
      "reachable": true
    },
    "etag": "e122d2f722548697213bfe23dba502aa",
    "lastannounced": null,
    "lastseen": "2022-06-26T18:39Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "mode": 1,
    "modelid": "TS004F",
    "name": "Switch 23",
    "state": {
      "buttonevent": null,
      "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-0006"
  }

I don't know if it helps, but here is a log from the deCONZ Container instance while adding the switch and some general device info:

  • Rapsberry Pi 4 on Raspbian GNU/Linux 10 (buster)
  • deconzcommunity/deconz Docker Container on armv7
    • Version: 2.16.01 / 21.4.2022
  • ConBee II
    • Firmware: 26780700
20:37:38:650 send permit join, duration: 65
20:37:47:650 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:71:27:ff:fe:a0:e8:a9%' COLLATE NOCASE: LIDL Livarno Lux
20:37:47:651 DB SELECT manufacturername FROM nodes WHERE mac LIKE '5c:02:72:ff:fe:1e:79:44%' COLLATE NOCASE: LIDL Livarno Lux
20:37:47:653 DB SELECT manufacturername FROM nodes WHERE mac LIKE '58:8e:81:ff:fe:fa:02:23%' COLLATE NOCASE: LIDL Livarno Lux
20:37:47:654 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:2e:14:ff:fe:2a:25:4c%' COLLATE NOCASE: LIDL Livarno Lux
20:37:47:655 DB SELECT manufacturername FROM nodes WHERE mac LIKE 'b4:e3:f9:ff:fe:bf:47:ab%' COLLATE NOCASE: _TZ3000_qd7hej8u
20:37:55:690 updated fingerprint for sensor Multisensor (Badezimmer)
20:37:55:692 updated fingerprint for sensor Multisensor (Badezimmer)
20:37:55:693 ZCL attribute report 0x00124B002454932A for cluster: 0x0402, ep: 0x01, frame control: 0x18, mfcode: 0x0000 
20:37:55:695 discard double entry in binding queue (size: 1) for for 0x00124B002454932A, cluster 0x0001
20:37:56:177 Bind response success for 0x00124b002454932a ep: 0x01 cluster: 0x0001
20:37:56:776 ZCL configure reporting rsp seq: 158 0x00124B002454932A for ep: 0x01 cluster: 0x0001 attr: 0x0021 status: 0x00
20:37:57:650 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:71:27:ff:fe:a0:e8:a9%' COLLATE NOCASE: LIDL Livarno Lux
20:37:57:652 DB SELECT manufacturername FROM nodes WHERE mac LIKE '5c:02:72:ff:fe:1e:79:44%' COLLATE NOCASE: LIDL Livarno Lux
20:37:57:653 DB SELECT manufacturername FROM nodes WHERE mac LIKE '58:8e:81:ff:fe:fa:02:23%' COLLATE NOCASE: LIDL Livarno Lux
20:37:57:655 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:2e:14:ff:fe:2a:25:4c%' COLLATE NOCASE: LIDL Livarno Lux
20:37:57:656 DB SELECT manufacturername FROM nodes WHERE mac LIKE 'b4:e3:f9:ff:fe:bf:47:ab%' COLLATE NOCASE: _TZ3000_qd7hej8u
20:38:07:650 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:71:27:ff:fe:a0:e8:a9%' COLLATE NOCASE: LIDL Livarno Lux
20:38:07:651 DB SELECT manufacturername FROM nodes WHERE mac LIKE '5c:02:72:ff:fe:1e:79:44%' COLLATE NOCASE: LIDL Livarno Lux
20:38:07:651 DB SELECT manufacturername FROM nodes WHERE mac LIKE '58:8e:81:ff:fe:fa:02:23%' COLLATE NOCASE: LIDL Livarno Lux
20:38:07:652 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:2e:14:ff:fe:2a:25:4c%' COLLATE NOCASE: LIDL Livarno Lux
20:38:07:653 DB SELECT manufacturername FROM nodes WHERE mac LIKE 'b4:e3:f9:ff:fe:bf:47:ab%' COLLATE NOCASE: _TZ3000_qd7hej8u
20:38:07:795 unknown node 0x2C1165FFFEC7223C (0xF03B), lqi: 255
20:38:07:796 APS-DATA.indication from unknown node 0x2C1165FFFEC7223C
20:38:07:800 new node - ext: 0x2c1165fffec7223c, nwk: 0xF03B
20:38:07:801 device announce 0x2C1165FFFEC7223C (0xF03B) mac capabilities 0x80
20:38:07:802 set fast probe address to 0x2C1165FFFEC7223C (0xF03B)
20:38:07:803 FP indication 0x0000 / 0x0013 (0x2C1165FFFEC7223C / 0xF03B)
20:38:07:804                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:07:805 device announce 0x2C1165FFFEC7223C (0xF03B) mac capabilities 0x80
20:38:07:811 ZDP get node descriptor for 0xF03B
20:38:07:812 ZDP get node descriptor for 0xF03B
20:38:07:980 DB UPDATE device_descriptors SET data = x'0240800210525200002c520000', timestamp = 1656268687 WHERE device_id = (SELECT id FROM devices WHERE mac = '2c:11:65:ff:fe:c7:22:3c') AND endpoint = 0 AND type = 2
20:38:07:981 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 0, 2, x'0240800210525200002c520000', 1656268687 FROM devices WHERE mac = '2c:11:65:ff:fe:c7:22:3c'
20:38:07:001 FP indication 0x0000 / 0x8002 (0x2C1165FFFEC7223C / 0xF03B)
20:38:07:001                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:07:002 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8002
20:38:07:006 ZDP get active endpoints for 0xF03B
20:38:07:008 [2] get active endpoints for 0x2c1165fffec7223c
20:38:08:009 ZDP get active endpoints for 0xF03B
20:38:08:293 FP indication 0x0000 / 0x8002 (0x2C1165FFFEC7223C / 0xF03B)
20:38:08:294                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:08:294 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8002
20:38:08:301 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 291 ms
20:38:08:787 FP indication 0x0000 / 0x8005 (0x2C1165FFFEC7223C / 0xF03B)
20:38:08:788                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:08:788 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8005
20:38:08:789 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) clear timeout on cluster 0x8005
20:38:08:793 ZDP get simple descriptor 0x01 for 0xF03B
20:38:08:795 [3] get simple descriptor 0x01 for 0x2c1165fffec7223c
20:38:08:796 ZDP get simple descriptor 0x01 for 0xF03B
20:38:09:288 FP indication 0x0000 / 0x8005 (0x2C1165FFFEC7223C / 0xF03B)
20:38:09:289                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:09:289 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8005
20:38:09:295 [3] get simple descriptor 0x01 for 0x2c1165fffec7223c
20:38:09:295 ZDP get simple descriptor 0x01 for 0xF03B
20:38:09:784 FP indication 0x0000 / 0x8005 (0x2C1165FFFEC7223C / 0xF03B)
20:38:09:785                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:09:786 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8005
20:38:09:792 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 496 ms
20:38:10:282 FP indication 0x0000 / 0x8005 (0x2C1165FFFEC7223C / 0xF03B)
20:38:10:283                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:10:283 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8005
20:38:10:289 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 993 ms
20:38:10:787 LightNode 11: Dimmer switch 11 added
20:38:10:788 DB UPDATE device_descriptors SET data = x'0104010401010700000100030004000600001001e00819000a00030004000500060008000010', timestamp = 1656268690 WHERE device_id = (SELECT id FROM devices WHERE mac = '2c:11:65:ff:fe:c7:22:3c') AND endpoint = 1 AND type = 4
20:38:10:789 DB INSERT INTO device_descriptors (device_id, endpoint, type, data, timestamp) SELECT id, 1, 4, x'0104010401010700000100030004000600001001e00819000a00030004000500060008000010', 1656268690 FROM devices WHERE mac = '2c:11:65:ff:fe:c7:22:3c'
20:38:10:815 FP indication 0x0000 / 0x8004 (0x2C1165FFFEC7223C / 0xF03B)
20:38:10:816                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:10:816 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8004
20:38:10:816 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) clear timeout on cluster 0x8004
20:38:10:823 [4.1] Get manufacturer code
20:38:10:823 [4.2] get basic cluster attr 0x0004 for 0x2c1165fffec7223c
20:38:10:949 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:050 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:149 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:249 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:290 FP indication 0x0000 / 0x8004 (0x2C1165FFFEC7223C / 0xF03B)
20:38:11:291                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:11:291 ZDP indication search sensors 0x2C1165FFFEC7223C (0xF03B) cluster 0x8004
20:38:11:297 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 473 ms
20:38:11:349 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:449 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:549 delay sending request 255 dt 0 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:650 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:650 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:11:651 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:651 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:11:750 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:750 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:11:782 FP indication 0x0104 / 0x0000 (0x2C1165FFFEC7223C / 0xF03B)
20:38:11:782                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:11:783 Clear fast probe timeout for cluster 0x0000, 0x2C1165FFFEC7223C
20:38:11:788 [4.1] Get model ID
20:38:11:789 [4.2] get basic cluster attr 0x0005 for 0x2c1165fffec7223c
20:38:11:850 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:850 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:11:950 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:11:951 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:049 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:049 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:149 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:150 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:249 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:249 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:287 FP indication 0x0104 / 0x0000 (0x2C1165FFFEC7223C / 0xF03B)
20:38:12:287                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:12:293 [4.1] Get model ID
20:38:12:293 [4.2] get basic cluster attr 0x0005 for 0x2c1165fffec7223c
20:38:12:350 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:351 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:449 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:450 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:450 delay sending request 16 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:550 delay sending request 255 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:550 delay sending request 6 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:551 delay sending request 16 dt 1 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:650 delay sending request 255 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:651 delay sending request 6 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:651 delay sending request 16 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:749 delay sending request 255 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0000 onAir: 1
20:38:12:750 delay sending request 6 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:750 delay sending request 16 dt 2 ms to 0x2C1165FFFEC7223C, ep: 0x01 cluster: 0x0004 onAir: 1
20:38:12:760 enqueue APS request failed with error 2, drop
20:38:12:778 FP indication 0x0104 / 0x0000 (0x2C1165FFFEC7223C / 0xF03B)
20:38:12:779                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:12:784 [4.1] Get model ID
20:38:12:785 [4.2] get basic cluster attr 0x0005 for 0x2c1165fffec7223c
20:38:12:849 enqueue APS request failed with error 2, drop
20:38:12:949 enqueue APS request failed with error 2, drop
20:38:13:188 SensorNode 22: Switch 22 added
20:38:13:194 FP indication 0x0104 / 0x0000 (0x2C1165FFFEC7223C / 0xF03B)
20:38:13:194                       ...     (0x2C1165FFFEC7223C / 0xF03B)
20:38:13:198 discard double entry in binding queue (size: 2) for for 0x2C1165FFFEC7223C, cluster 0x0001
20:38:13:265 DEV found DDF for 0x2C1165FFFEC7223C, path: /usr/share/deCONZ/devices/tuya/_TZ3000_rco1yzb1_switch.json
20:38:13:284 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:285 [4.1] Get sw build id
20:38:13:285 [4.2] get basic cluster attr 0x4000 for 0x2c1165fffec7223c
20:38:13:286 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:286 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 0 ms
20:38:13:287 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:287 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1 ms
20:38:13:288 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:288 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2 ms
20:38:13:289 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 3 ms
20:38:13:766 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:766 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 480 ms
20:38:13:767 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:767 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 481 ms
20:38:13:769 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:769 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 483 ms
20:38:13:770 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:13:770 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 484 ms
20:38:14:266 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:267 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 981 ms
20:38:14:268 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:269 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 983 ms
20:38:14:271 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:272 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 986 ms
20:38:14:273 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:274 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 988 ms
20:38:14:763 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:764 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1477 ms
20:38:14:764 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:764 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1478 ms
20:38:14:772 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:773 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1486 ms
20:38:14:773 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:773 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1487 ms
20:38:14:774 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:774 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1488 ms
20:38:14:774 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:14:774 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1488 ms
20:38:15:261 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:262 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1976 ms
20:38:15:263 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:264 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1978 ms
20:38:15:271 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:272 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1986 ms
20:38:15:273 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:273 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 1987 ms
20:38:15:756 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:757 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2471 ms
20:38:15:758 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:758 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2472 ms
20:38:15:760 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:761 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2475 ms
20:38:15:762 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:15:762 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2476 ms
20:38:16:251 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:16:252 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2966 ms
20:38:16:253 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:16:253 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 2967 ms
20:38:16:749 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:16:749 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 3463 ms
20:38:16:750 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:16:751 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 3464 ms
20:38:17:247 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:17:248 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 3961 ms
20:38:17:248 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:17:249 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 3963 ms
20:38:17:650 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:71:27:ff:fe:a0:e8:a9%' COLLATE NOCASE: LIDL Livarno Lux
20:38:17:650 DB SELECT manufacturername FROM nodes WHERE mac LIKE '5c:02:72:ff:fe:1e:79:44%' COLLATE NOCASE: LIDL Livarno Lux
20:38:17:651 DB SELECT manufacturername FROM nodes WHERE mac LIKE '58:8e:81:ff:fe:fa:02:23%' COLLATE NOCASE: LIDL Livarno Lux
20:38:17:652 DB SELECT manufacturername FROM nodes WHERE mac LIKE '84:2e:14:ff:fe:2a:25:4c%' COLLATE NOCASE: LIDL Livarno Lux
20:38:17:653 DB SELECT manufacturername FROM nodes WHERE mac LIKE 'b4:e3:f9:ff:fe:bf:47:ab%' COLLATE NOCASE: _TZ3000_qd7hej8u
20:38:17:745 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:17:746 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 4460 ms
20:38:17:746 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:17:747 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 4460 ms
20:38:18:245 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:18:246 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 4959 ms
20:38:18:246 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:18:247 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 4961 ms
20:38:18:743 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:18:744 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 5457 ms
20:38:18:744 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:18:745 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 5458 ms
20:38:19:164 ZCL attribute report 0x5C0272FFFE1E7944 for cluster: 0x0006, ep: 0x01, frame control: 0x18, mfcode: 0x0000 
20:38:19:239 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:19:239 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 5953 ms
20:38:19:240 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:19:240 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 5954 ms
20:38:19:738 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:19:738 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 6452 ms
20:38:19:739 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:19:739 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 6453 ms
20:38:20:238 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:20:238 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 6952 ms
20:38:20:239 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:20:239 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 6953 ms
20:38:20:670 saved node state in 0 ms
20:38:20:671 sync() in 0 ms
20:38:20:736 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:20:736 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 7450 ms
20:38:20:737 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:20:737 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 7451 ms
20:38:21:234 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:235 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 7948 ms
20:38:21:235 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:235 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 7949 ms
20:38:21:649 send permit join, duration: 0
20:38:21:734 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:735 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 8449 ms
20:38:21:735 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:736 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 8449 ms
20:38:21:751 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:752 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 8466 ms
20:38:21:752 MAC poll fastEnddeviceProbe() 0x2C1165FFFEC7223C
20:38:21:753 wait response fastEnddeviceProbe() 0x2C1165FFFEC7223C, elapsed 8466 ms
20:38:21:828 Search sensors done

@markusmauch
Copy link
Author

markusmauch commented Jun 26, 2022

Maybe it's a bit off topic but I've switched to Zigbee2MQTT, which supports this button quite well as well as all my other devices that gave me a lot of trouble when using deCONZ.

@Mimiix
Copy link
Collaborator

Mimiix commented Jun 26, 2022

Reopened as development is still in progress.

@Mimiix Mimiix reopened this Jun 26, 2022
@Smanar
Copy link
Collaborator

Smanar commented Jun 27, 2022

I will give this link at Manup, he already have some idea for this issue.
There is the issue with the legacy code faster than the DDF core, and as it s even based, the result can be totaly random.

And we have

  • 1 sensor created with DDF code
  • 1 sensor created by Legacy code
  • 1 light created by Legacy code

And ofc only the first one is needed.

@nanniknr1
Copy link

The problem with switching ALL devices on/off is a known problem and already discussed here:

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/What-you-can-do-when-a-switch-turns-(almost)-all-devices-on-off

This solution worked for me.

@Smanar
Copy link
Collaborator

Smanar commented Jun 30, 2022

But he have another issue.
The state/buttonevent is never updated, because of "fake" entry in the API. Only the first sensor need to be created.
Fo me it happen because the legacy code is faster than the DDF one and start to create its entry before the DDF one block it.

@github-actions
Copy link

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 github-actions bot added the stale label Jul 22, 2022
@traschke
Copy link
Contributor

@Smanar Are there any updates on the ddf/legacy code issue? I tried repairing the device with the latest update, but unfortunately it hasn't worked and still produced 3 items.

@Smanar
Copy link
Collaborator

Smanar commented Jul 23, 2022

Yep #6196
Will be on next one, but I have somes user with the same issue, and it work for them, something you can try is making the DDF code use the same unqueid than for the legacy code.


      "type": "$TYPE_SWITCH",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0006"
      ],

With using 0x1000 instead of 0x0006, but better to wait for next version, I think it can solve so much issue.

@github-actions github-actions bot removed the stale label Jul 24, 2022
@github-actions
Copy link

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 github-actions bot added the stale label Aug 14, 2022
@traschke
Copy link
Contributor

Just wanted to leave a qick update:
I tried the Smart Buttons with the latest beta release v2.18.0-beta and the pairing issue seems to be resolved. I only see one device under sensors with a UUID ending with 0006, so it seems ok to me. I tried pairing 4 of these buttons and all paired flawlessly.

One thing I noticed upon setup is, that initially the button still somehow triggers the state of all devices (ON/OFF), but not actually turning them ON (single-press) or OFF (double-press). This means Phoscon reports that all lights were turned on in browser UI, but in fact the real light is still off (or on). In this state the button does not report any buttonevent via rest api. By accident I discovered, that by pressing the button 3 times it somehow switches the mode (?). After pressing the button 3 times, everything works as expected, no ghost turning on/off of lights in phoscon and buttonevent is populated correct with single and double press. Is there perhabs a mapping issue with 3 clicks? Honestly I have absolutely no clue how much actions this button supports (single, double, triple press?).

@Smanar
Copy link
Collaborator

Smanar commented Aug 15, 2022

So the triple press enable/disable the broadcast mode ?
There is nothing in code to manage the triple press, and I don't see something on other project, so it s perhaps something specific to this device.
And nothing about thoses "2 mode" ..... (and BTW nice catch)

@jeroen85
Copy link

I think you can compare it with the Moes smart knob _TZ3000_4fjiwweb. See manual page 2 and 12.
Smart_knob_manual.pdf

@traschke
Copy link
Contributor

I searched up the manual online. Unfortunately it seems only to be available in German: Manual (German).

It mentions the following (Page 13):

Functions:

Button Function
Press 1x Switch on
Press 2x (quick press) Power off
Press and hold Dim lighting devices up/down

Additionally it mentions the following about the 3x press: (Page 14)

Switching between remote dimmer and scene linking function

  1. Make sure the Smart Button is in remote dimmer mode. Quickly press the smart button 3x. The LED display flashes 3x if successful.
    NOTE: The button must be pressed 3x quickly and evenly.
  2. You can control the devices in scene link mode.
  3. To return to remote dimmer mode, quickly press the smart button 3x. The LED display flashes 3x if successful.

@github-actions github-actions bot removed the stale label Aug 16, 2022
@Smanar
Copy link
Collaborator

Smanar commented Aug 16, 2022

ha ok, it s the scene mode.
On the remote dimmer mode we are looking for

            "map": [
                [1, "0x01", "ONOFF", "0xfd", "0", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "B1 short"],
                [1, "0x01", "ONOFF", "0xfd", "1", "S_BUTTON_1", "S_BUTTON_ACTION_DOUBLE_PRESS", "B1 double"],
                [1, "0x01", "ONOFF", "0xfd", "2", "S_BUTTON_1", "S_BUTTON_ACTION_LONG_RELEASED", "B1 long"],
                [1, "0x02", "ONOFF", "0xfd", "0", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "B2 short"],
                [1, "0x02", "ONOFF", "0xfd", "1", "S_BUTTON_2", "S_BUTTON_ACTION_DOUBLE_PRESS", "B2 double"],
                [1, "0x02", "ONOFF", "0xfd", "2", "S_BUTTON_2", "S_BUTTON_ACTION_LONG_RELEASED", "B2 long"],
                [1, "0x03", "ONOFF", "0xfd", "0", "S_BUTTON_3", "S_BUTTON_ACTION_SHORT_RELEASED", "B3 short"],
                [1, "0x03", "ONOFF", "0xfd", "1", "S_BUTTON_3", "S_BUTTON_ACTION_DOUBLE_PRESS", "B3 double"],
                [1, "0x03", "ONOFF", "0xfd", "2", "S_BUTTON_3", "S_BUTTON_ACTION_LONG_RELEASED", "B3 long"],
                [1, "0x04", "ONOFF", "0xfd", "0", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "B4 short"],
                [1, "0x04", "ONOFF", "0xfd", "1", "S_BUTTON_4", "S_BUTTON_ACTION_DOUBLE_PRESS", "B4 double"],
                [1, "0x04", "ONOFF", "0xfd", "2", "S_BUTTON_4", "S_BUTTON_ACTION_LONG_RELEASED", "B4 long"]
            ]

So we are using only the onoff cluster, I think in the other mode it use the Scene cluster 0x0005, it s for that deconz is not detecting buttonevent.

@Smanar
Copy link
Collaborator

Smanar commented Sep 1, 2022

BTW except the long press, the DDF is working ? (to know if I can make a PR with it) with deconz version > 2.18 ?

@traschke
Copy link
Contributor

traschke commented Sep 6, 2022

Yes, it's working for single and double press as long as I don't switch accidentally to the scene mode (3x press). Long press is the only issue. I've been using it for the last couple weeks with no further issues on single and double press.

@Smanar
Copy link
Collaborator

Smanar commented Sep 7, 2022

Thx , have made a PR (some others users ask for this device)

@Smanar
Copy link
Collaborator

Smanar commented Sep 8, 2022

BTW, I have added the missing battery support, if you can test it ?
#6304

@traschke
Copy link
Contributor

traschke commented Sep 8, 2022

Battery seems to work after re-pairing the switch:

"48": {
    "config": {
      "battery": 90,
      "on": true,
      "reachable": true
    },
    "etag": "1dd0a1451df6241cbf838bb31dcf9691",
    "lastannounced": null,
    "lastseen": "2022-09-08T16:50Z",
    "manufacturername": "_TZ3000_rco1yzb1",
    "mode": 1,
    "modelid": "TS004F",
    "name": "Switch Livingroom",
    "state": {
      "buttonevent": null,
      "lastupdated": "none"
    },
    "type": "ZHASwitch",
    "uniqueid": "2c:11:65:ff:fe:c7:22:3c-01-0006"
  }

Some comments above you mentioned that sleeper should be set to true, but in the PR it's set to false. Did you miss that in the PR by any chance?

@Smanar
Copy link
Collaborator

Smanar commented Sep 8, 2022

Yep, right, I will correct it, better to use the good value.

@github-actions
Copy link

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 github-actions bot added the stale label Sep 30, 2022
@Sting2saw
Copy link

I have only Battery entry after connecting it with phoscon Web App, anyone else has this Problem?
Screenshot_20220930_150741_io homeassistant companion android

@Smanar
Copy link
Collaborator

Smanar commented Sep 30, 2022

IDK how work HA, but take a look direclty in the API, phoscon / help / API Information / sensors / Device_ID
You need to have a field state/buttonevent.

@github-actions github-actions bot removed the stale label Oct 1, 2022
@jeinwag
Copy link

jeinwag commented Oct 7, 2022

I have only Battery entry after connecting it with phoscon Web App, anyone else has this Problem?

There is no entity for the button, please read https://www.home-assistant.io/integrations/deconz/#remote-control-devices.

@thealkly
Copy link

thealkly commented Oct 9, 2022

I am new to github, i assume if the PR is merged it will be release someday?
Right now the switch is displayed like in the screenshot of @Sting2saw
Just bought a couple of switches as they are available in the store and compared to the shortcut button from ikea cheaper.
Thanks!!

@jeinwag
Copy link

jeinwag commented Oct 10, 2022

@thealkly I guess it will be released with one of the next HA releases. Until then, you can still use the button with the deconz_event trigger as explained in the link I posted above.

@github-actions
Copy link

github-actions bot commented Nov 1, 2022

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 github-actions bot added the stale label Nov 1, 2022
@FHEMUser
Copy link

FHEMUser commented Nov 6, 2022

Hello.
I tested this button and have the same problem. I used the DDF that will be posted here and my other two plug devices will switch on/off if i hit the button.

I have no file caled "buton_maps.json" so i create one and add the text to it.
No changes.

So i edit the group entry on cluster info from 0x0000 to 0x0002 an hit exec.
Then the button will no more switch the other two devices.
But is this the correct way ?

I use FHEM for home automation and here this button will not work if i edit the group.
I delete, use autocreate and so on.
I don´t know why, but now it will work on FHEM but the goup in the cluster is back to 0x0000

On/off will work, dimmer will not work.

@Smanar
Copy link
Collaborator

Smanar commented Nov 6, 2022

Hello, what is your deconz version ?
The corrective is on the official, so you have nothing to do.

And I m not sure to understand what you are doing, the issue is about a switch, so you are puting light in the device group ? You are using phoscon or FHEM to do that ?

Switch group are special, and can't be deleted, you can add a light in a switch group, but the reverse will not work.

There is no dimmer feature on plugs ?

@github-actions github-actions bot removed the stale label Nov 7, 2022
@FHEMUser
Copy link

FHEMUser commented Nov 7, 2022

Hello.
Version
2.13.01 / 6.10.2021
26660700

I think my Version is to old. I can not update because my system is old too (Stretch I think?)
So I must switch to an newer Raspbian Version.

I was thinking the group numbers are only numbers.

Good to hear that the new version will work.
Thanks for your response

@FHEMUser
Copy link

On thing, please look on the title:
SilcerCrest Smart Button

The right Name is
SilverCrest

@Smanar Smanar changed the title SilcerCrest Smart Button (LIDL) _TZ3000_rco1yzb1 TS004F SilverCrest Smart Button (LIDL) _TZ3000_rco1yzb1 TS004F Nov 10, 2022
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

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 github-actions bot added the stale label Dec 9, 2022
@github-actions
Copy link

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.

@BooWseR
Copy link

BooWseR commented Jan 20, 2023

Unfortunately, the "problem" with the different modes has not yet been fixed, or it has not been merged?!

I noticed that when I change the mode, a single press "turns on" all the lamps, a double press turns all the lamps "off" again. The lamps themselves do not react, the status only changes in Phoscon / deConz.

I'm not sure about this comment: #6107 (comment)
Should i add this map? Or is it already?

And what's about this comment: #6107 (comment)
I see that this change did not make it into the PR. On purpose?

@Smanar
Copy link
Collaborator

Smanar commented Jan 20, 2023

Hello, If I m right the device work only in one mode, and not the scene one.

About the first comment yep the code is here https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/button_maps.json#L1293
But only for thoses devices

"modelids": ["_TZ3000_ee8nrt2l", "_TZ3000_ygvf9xzp", "_TZ3000_t8hzpgnd", "_TZ3000_wkai4ga5", "_TZ3000_bi6lpsew", "_TZ3400_keyjhapk", "_TYZB02_key8kk7r", "_TZ3400_keyjqthh", "_TZ3400_key8kk7r", "_TZ3000_vp6clf9d", "_TYZB02_keyjqthh", "_TZ3000_peszejy7", "_TZ3000_qzjcsmar", "_TZ3000_owgcnkrh", "_TZ3000_adkvzooy", "_TZ3000_arfwfgoa", "_TZ3000_a7ouggvs", "_TZ3000_rrjr1q0u", "_TZ3000_abci1hiu", "_TZ3000_dfgbtub0", "_TZ3000_rco1yzb1", "_TZ3000_gbm10jnj", "_TZ3000_5e235jpa", "_TZ3000_sj7jbgks", "_TZ3000_w8jwkczz", "_TZ3000_dziaict4", "_TZ3000_famkxci2", "_TZ3000_itb0omhv", "_TZ3000_tzvbimpq", "_TZ3000_mh9px7cq"],

About the second comment, was because on older deconz version, the core create more than entry for this device. If I m right long time it was solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests