MS-105Z integration broken

You need to update the addon :slight_smile:

On the add-on page, HA shows which add-ons need to be updated, and deCONZ is not listed. I don’t know how to update if the update button doesn’t appear.

That’s something you need to check with Home-Assistant. We don’t maintain the HA Addon.

Finally HA offered me to update deCONZ, I’m now running v2.13.4.

But…
I tried a single / double inclusion with Phoscon, dimmer module still not recognized as a dimmable light.
In deCONZ, I tried the DDF/Strict pairing, and on the second time got automatically a DDF similar to what Smanar contributed. So far so good…
But Phoscon or HA don’t recognize it as a dimmable device. As matter of fact, turning on / off the device is still not working (I tried all those steps with another device).

Install my DDF, it correct the type

  "subdevices": [
    {
      "type": "$TYPE_DIMMABLE_LIGHT",

Or just edit yours, and make “hot reload”

Yes, with type as $TYPE_DIMM, my device now appears as a dimmable light.
But… I’m unable to turn them off / on / dim from the app.
When turning it off / on / dim from the device itself, the app reports correctly the state.

Arf, I think it s the problem I have ATM with device included with DDF that not use legacy code after.
One time the device is included, if you disable the DDF core it s still working ?

Can you share log when using a button ? on deconz / debug view with flags “info” and “ddf” ?

I don’t know how to disable DDF.

deConz on HA doesn’t allow me to copy / paste the logs (or anything by the way).

I tried to embed a screenshot but I receive a message that new users cannot send pictures.

in deconz, the “control” panel, or can just change the status to “Draft” (and restart)

IDK how it work, but after somes messages strange you are still “new user” ^^, perhpas using something like hostpic.org

I changed to “Draft” but the device still doesn’t repond to the app button.

When pushing a button in the app: https://www.hostpic.org/images/2201062256240083.jpg

When pushing a physical button: https://www.hostpic.org/images/2201062259050103_tn.jpg

You need to use a native VNC client

Please see the log – I put comments inside the logs

11:00:55:108 dlg action: Read binding table
11:00:55:159 DEV found DDF for 0xCC86ECFFFE134067, path: /data/.local/share/dresden-elektronik/deCONZ/devices/tuya_dimswitch_ms-105z.json
11:00:55:466 Announced to internet https://phoscon.de/discover
11:00:55:467 discovery server date: Fri, 07 Jan 2022 10:00:55 GMT
11:00:55:468 	 local time seems to be ok
11:00:55:893 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2437660-if00 / serialno: DE2437660, ConBee II
11:00:57:115 DEV Tick.Init: booted after 8000 seconds
11:00:57:555 Device firmware version 0x26720700 ConBee II
11:00:57:557 unlocked max nodes: 512
11:00:57:650 Device protocol version: 0x010E
11:00:57:752 Current channel 11
11:00:57:774 CTRL ANT_CTRL 0x03
11:00:57:776 CTRL ZDP_RESPONSE handler 0x0001
11:00:57:809 Device protocol version: 0x010E
11:00:57:907 CTRL ANT_CTRL 0x03
11:00:57:909 CTRL ZDP_RESPONSE handler 0x0001
11:00:58:000 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 17ef02020004000000df
11:00:58:001 Tuya debug 5 : Status: 23 Transid: 239 Dp: 514 (0x02,0x02) Fn: 0 Data 223
11:00:58:004 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 17f1020200040000005e
11:00:58:005 Tuya debug 5 : Status: 23 Transid: 241 Dp: 514 (0x02,0x02) Fn: 0 Data 94
11:00:58:013 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 17f20202000400000021
11:00:58:014 Tuya debug 5 : Status: 23 Transid: 242 Dp: 514 (0x02,0x02) Fn: 0 Data 33
11:01:03:715 New websocket 172.30.32.1:56212 (state: 3) 
11:01:05:116 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26660700.bin.GCF
11:01:05:117 GW firmware version is up to date: 0x26720700
11:01:49:150 Device TTL 6688 s flags: 0x7
11:01:53:615 max transmit errors for node 0xCC86ECFFFE134067, last seen by neighbors 25 s
===================== Now plugging in the device ================================================
11:02:18:767 max transmit errors for node 0xCC86ECFFFE134067, last seen by neighbors 50 s
11:02:31:597 max transmit errors for node 0xCC86ECFFFE134067, last seen by neighbors 63 s
11:02:40:761 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 0003020200040000031e
11:02:40:762 Tuya debug 5 : Status: 0 Transid: 3 Dp: 514 (0x02,0x02) Fn: 0 Data 798
11:02:41:034 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:02:41:097 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00040302000400000000
11:02:41:098 Tuya debug 5 : Status: 0 Transid: 4 Dp: 515 (0x02,0x03) Fn: 0 Data 0
11:02:41:179 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00050404000100
11:02:41:180 Tuya debug 5 : Status: 0 Transid: 5 Dp: 1028 (0x04,0x04) Fn: 0 Data 0
11:02:42:010 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00060101000100
11:02:42:011 Tuya debug 5 : Status: 0 Transid: 6 Dp: 257 (0x01,0x01) Fn: 0 Data 0
11:02:42:128 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 0007020200040000031e
11:02:42:130 Tuya debug 5 : Status: 0 Transid: 7 Dp: 514 (0x02,0x02) Fn: 0 Data 798
11:02:42:682 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000a0302000400000000
11:02:42:684 Tuya debug 5 : Status: 0 Transid: 10 Dp: 515 (0x02,0x03) Fn: 0 Data 0
11:02:42:787 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000b0404000100
11:02:42:788 Tuya debug 5 : Status: 0 Transid: 11 Dp: 1028 (0x04,0x04) Fn: 0 Data 0
11:02:46:455 Tuya debug 1 : Time sync request
...
11:05:37:504 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:37:704 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:37:905 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:38:101 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:38:299 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:38:499 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:38:701 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:38:898 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:39:101 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:39:300 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:39:498 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:39:698 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:39:896 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:40:094 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
11:05:40:293 ZCL attribute report 0xCC86ECFFFE134067 for cluster: 0x0000, ep: 0x01, frame control: 0x08, mfcode: 0x0000 
...
============================== Pushing the physical button (turning on) =================================
11:07:11:642 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:11:643 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:11:842 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:11:843 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:12:046 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:12:047 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:12:240 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:12:241 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:12:439 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:12:440 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:12:640 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:12:641 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:12:838 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:12:839 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:13:037 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:13:039 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:13:236 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:13:237 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:13:438 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:13:440 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:13:636 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:13:637 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:13:835 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:13:837 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:14:034 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:14:035 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:14:233 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:14:234 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:14:434 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:14:436 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:14:632 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:14:634 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:14:832 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:14:834 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:15:031 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:15:033 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:15:232 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:15:233 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:15:430 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:15:431 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:15:629 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:15:630 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:15:830 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:15:831 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:16:027 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:16:028 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:16:227 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:16:228 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:16:426 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000c0101000101
11:07:16:427 Tuya debug 5 : Status: 0 Transid: 12 Dp: 257 (0x01,0x01) Fn: 0 Data 1
11:07:16:826 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000d0202000400000021
11:07:16:827 Tuya debug 5 : Status: 0 Transid: 13 Dp: 514 (0x02,0x02) Fn: 0 Data 33
11:07:17:223 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000e020200040000005e
11:07:17:223 Tuya debug 5 : Status: 0 Transid: 14 Dp: 514 (0x02,0x02) Fn: 0 Data 94
11:07:17:623 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 000f02020004000000a2
11:07:17:624 Tuya debug 5 : Status: 0 Transid: 15 Dp: 514 (0x02,0x02) Fn: 0 Data 162
11:07:18:022 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001002020004000000df
11:07:18:022 Tuya debug 5 : Status: 0 Transid: 16 Dp: 514 (0x02,0x02) Fn: 0 Data 223
11:07:18:421 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00110202000400000122
11:07:18:422 Tuya debug 5 : Status: 0 Transid: 17 Dp: 514 (0x02,0x02) Fn: 0 Data 290
11:07:18:819 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 0012020200040000015f
11:07:18:820 Tuya debug 5 : Status: 0 Transid: 18 Dp: 514 (0x02,0x02) Fn: 0 Data 351
11:07:19:217 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001302020004000001a3
11:07:19:218 Tuya debug 5 : Status: 0 Transid: 19 Dp: 514 (0x02,0x02) Fn: 0 Data 419
11:07:19:616 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001402020004000001e0
11:07:19:617 Tuya debug 5 : Status: 0 Transid: 20 Dp: 514 (0x02,0x02) Fn: 0 Data 480
11:07:20:017 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00150202000400000223
11:07:20:018 Tuya debug 5 : Status: 0 Transid: 21 Dp: 514 (0x02,0x02) Fn: 0 Data 547
11:07:20:416 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00160202000400000260
11:07:20:417 Tuya debug 5 : Status: 0 Transid: 22 Dp: 514 (0x02,0x02) Fn: 0 Data 608
11:07:20:815 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001702020004000002a4
11:07:20:816 Tuya debug 5 : Status: 0 Transid: 23 Dp: 514 (0x02,0x02) Fn: 0 Data 676
11:07:21:216 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001802020004000002e1
11:07:21:217 Tuya debug 5 : Status: 0 Transid: 24 Dp: 514 (0x02,0x02) Fn: 0 Data 737
11:07:21:612 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00190202000400000324
11:07:21:614 Tuya debug 5 : Status: 0 Transid: 25 Dp: 514 (0x02,0x02) Fn: 0 Data 804
11:07:22:012 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001a0202000400000361
11:07:22:013 Tuya debug 5 : Status: 0 Transid: 26 Dp: 514 (0x02,0x02) Fn: 0 Data 865
11:07:22:409 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001b02020004000003a5
11:07:22:411 Tuya debug 5 : Status: 0 Transid: 27 Dp: 514 (0x02,0x02) Fn: 0 Data 933
11:07:22:810 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001c02020004000003e2
11:07:22:811 Tuya debug 5 : Status: 0 Transid: 28 Dp: 514 (0x02,0x02) Fn: 0 Data 994
11:07:23:208 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001d02020004000003ab
11:07:23:209 Tuya debug 5 : Status: 0 Transid: 29 Dp: 514 (0x02,0x02) Fn: 0 Data 939
11:07:23:606 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001e020200040000036e
11:07:23:607 Tuya debug 5 : Status: 0 Transid: 30 Dp: 514 (0x02,0x02) Fn: 0 Data 878
11:07:24:003 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 001f020200040000032a
11:07:24:004 Tuya debug 5 : Status: 0 Transid: 31 Dp: 514 (0x02,0x02) Fn: 0 Data 810
11:07:24:406 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 002002020004000002ed
11:07:24:407 Tuya debug 5 : Status: 0 Transid: 32 Dp: 514 (0x02,0x02) Fn: 0 Data 749
11:07:24:802 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 002102020004000002aa
11:07:24:803 Tuya debug 5 : Status: 0 Transid: 33 Dp: 514 (0x02,0x02) Fn: 0 Data 682
11:07:25:201 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 0022020200040000026d
11:07:25:202 Tuya debug 5 : Status: 0 Transid: 34 Dp: 514 (0x02,0x02) Fn: 0 Data 621
11:07:25:600 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00230202000400000229
11:07:25:601 Tuya debug 5 : Status: 0 Transid: 35 Dp: 514 (0x02,0x02) Fn: 0 Data 553
11:07:25:996 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 002402020004000001ec
11:07:25:997 Tuya debug 5 : Status: 0 Transid: 36 Dp: 514 (0x02,0x02) Fn: 0 Data 492
11:07:26:395 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 002502020004000001a9
11:07:26:396 Tuya debug 5 : Status: 0 Transid: 37 Dp: 514 (0x02,0x02) Fn: 0 Data 425
11:07:26:796 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 0026020200040000016c
11:07:26:797 Tuya debug 5 : Status: 0 Transid: 38 Dp: 514 (0x02,0x02) Fn: 0 Data 364
11:07:27:194 Tuya debug 4 : Address 0xCC86ECFFFE134067 Payload 00270202000400000128
=====> Logs don't stop....



Can you check if the DDF have not created a “sensor” ressource too ? (with the “light” one)
You can see it in phoscon / help / API Information

No, no sensor was created.

I realy don’t understand.
You are sure the state is not changing in the API during short press ? When you have the (0x01, 0x01) command ? It’s visible on phoscon.
The only situation I m seeing to prevent it, is if you have a “sensor” entry that by pass the “light” one.

Fixed, I bought a new ConBee II, and it all works fine. I needed to go again thru the DDF step though, which doesn’t make the pairing easy, but at least it’s working… And I’m 1 month late on my project just because of a bugged device!

1 Like

Still another problem though: Individual light controls work but not group controls, like:

  • In Phoscon I click on a light to turn if off or on: OK
  • In Phoscon I click on a group: the icon color of the bulbs changes but the lights won’t turn on or off.

That’s an different problem. Feel free to report in #phoscon:bug-reports