Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

Hi. I have a problem with IKEA TRADFRI wireless dimmer (ICTC-G-1).
When I add it it detects as two device
zigbee - TRADFRI wireless dimmer_Switch
zigbee - TRADFRI wireless dimmer_LvlControl
and logs show this, when i rotate dimmer.
2020-02-03 14:51:04.940 (zigbee) Decode8085 - SQN: 6c, Addr: e345, Ep: 01, Cluster: 0008, Cmd: 05, Unknown: 02
2020-02-03 14:51:04.991 (zigbee) Decode8085 - SQN: 6d, Addr: e345, Ep: 01, Cluster: 0008, Cmd: 01, Unknown: 02
but not working. How can I add support for it?
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

Please go to the web admin , then in tools device list raw (Json) and do an export and attach the output here


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

export.zip
export json file
(1.69 KiB) Downloaded 38 times
But i switched plugin to beta version
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

Now i removed Tradfri wireless dimmer from DeviceConf.txt and add json file to Conf/Certified.
And get new Errors ((
2020-02-03 15:40:57.374 (zigbee) WARNING - ZigateCmd: 0100 02c4d601010001000000000200200021 ZigateQueue: 342
2020-02-03 15:40:57.376 (zigbee) WARNING - ZigateCmd: 00E0 02c4d601010000 ZigateQueue: 343
2020-02-03 15:40:57.377 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010000000000000000FF ZigateQueue: 344
2020-02-03 15:40:57.378 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010001000000000000FF ZigateQueue: 345
2020-02-03 15:40:57.379 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010003000000000000FF ZigateQueue: 346
2020-02-03 15:40:57.379 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010009000000000000FF ZigateQueue: 347
2020-02-03 15:40:57.380 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010b05000000000000FF ZigateQueue: 348
2020-02-03 15:40:57.381 (zigbee) WARNING - ZigateCmd: 0140 02c4d601011000000000000000FF ZigateQueue: 349
2020-02-03 15:40:57.382 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010004000000000000FF ZigateQueue: 350
2020-02-03 15:40:57.383 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010005000000000000FF ZigateQueue: 351
2020-02-03 15:40:57.384 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010006000000000000FF ZigateQueue: 352
2020-02-03 15:40:57.385 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010008000000000000FF ZigateQueue: 353
2020-02-03 15:40:57.386 (zigbee) WARNING - ZigateCmd: 0140 02c4d601010019000000000000FF ZigateQueue: 354
Attachments
backupPI.zip
(1.78 KiB) Downloaded 32 times
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

my config is not loading....

2020-02-03 16:08:27.064 Status: (zigbee) --> Config for LUMI/lumi.sensor_switch.aq2
2020-02-03 16:08:27.066 Status: (zigbee) --> Config for IKEA_TRADFRI/TRADFRI control outlet
2020-02-03 16:08:27.068 Status: (zigbee) --> Config for IKEA_TRADFRI/TRADFRI bulb E27 WS clear 950lm
2020-02-03 16:08:27.069 Status: (zigbee) --> Config for IKEA_TRADFRI/FLOALT panel WS 60x60
2020-02-03 16:08:27.070 Status: (zigbee) --> Config for IKEA_TRADFRI/TRADFRI bulb E14 WS opal 400lm
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

It looks like as a new device. Please try with the latest version of the plugin from this end of day.
You'll need to remove the device from Domotciz and redo the pairing

Is there any On / Off on that device , could you put a screenshot or a reference link ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

dim.png
dim.png (4.99 KiB) Viewed 958 times
2020-02-04 16:27:57.310 Error: (zigbee) 'onMessage' failed 'KeyError'.
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 858 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 505 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 269 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 467 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 509 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function processFrame
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 100 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function ZigateRead
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 2088 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function Decode8085
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

lenz wrote: Tuesday 04 February 2020 14:29 dim.png
2020-02-04 16:27:57.310 Error: (zigbee) 'onMessage' failed 'KeyError'.
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 858 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 505 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 269 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2020-02-04 16:27:57.310 Error: (zigbee) ----> Line 467 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 509 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function processFrame
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 100 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function ZigateRead
2020-02-04 16:27:57.311 Error: (zigbee) ----> Line 2088 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function Decode8085
Thanks, but very hard to understand what happen. SO please next time, could kindly put the context, what have you done with the switch and put much more logs than just the errors !

I have push a fixed for that one, but still somethink will be missing
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

Ideally, this should be a non-adjustable level control (progress bar)
After connecting, as far as I understood correctly, he requests the state of the 0008 cluster from the server to set the current level, and then sends the level itself to the 0008 cluster
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

log from system
log_dimmer.txt
(7.56 KiB) Downloaded 43 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

So just update the plugin , the pairing seems to be ok, so now what you need to do is

One action on the device and check how the widget behave and what is produced in the log
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

2020-02-04 17:51:01.039 Status: (zigbee) [1] NEW OBJECT: 8954 Model Name: TRADFRI wireless dimmer
2020-02-04 17:51:06.063 (zigbee) WARNING - ZigateCmd: 0140 02895401010b05000000000000FF ZigateQueue: 16
2020-02-04 17:51:06.063 (zigbee) WARNING - ZigateCmd: 0140 02895401011000000000000000FF ZigateQueue: 17
2020-02-04 17:51:06.064 (zigbee) WARNING - ZigateCmd: 0140 02895401010004000000000000FF ZigateQueue: 18
2020-02-04 17:51:06.064 (zigbee) WARNING - ZigateCmd: 0140 02895401010006000000000000FF ZigateQueue: 19
2020-02-04 17:51:06.065 (zigbee) WARNING - ZigateCmd: 0140 02895401010008000000000000FF ZigateQueue: 20
2020-02-04 17:51:06.065 (zigbee) WARNING - ZigateCmd: 0140 02895401010019000000000000FF ZigateQueue: 21
2020-02-04 17:51:06.068 (zigbee) Creation Group
2020-02-04 17:51:06.050 Status: (zigbee) [2] NEW OBJECT: 8954 Model Name: TRADFRI wireless dimmer
2020-02-04 17:51:06.050 Status: (zigbee) [2] NEW OBJECT: 8954 Model Name: TRADFRI wireless dimmer
2020-02-04 17:51:21.007 Status: (zigbee) Request Disabling Accepting new Hardware
2020-02-04 17:51:32.267 Status: EventSystem: reset all device statuses...
2020-02-04 17:51:36.368 Status: (zigbee) Accepting new Hardware: Disable
2020-02-04 17:51:38.524 (zigbee) UpdateDevice - (zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01) 1:2
2020-02-04 17:51:38.498 Status: User: Admin initiated a switch command (4/zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01/Set Level)
2020-02-04 17:51:42.169 (zigbee) readCluster - 0001 - 8954/01 unknown attribute: 003a 20 0001 00
2020-02-04 17:51:42.171 (zigbee) readCluster - 0001 - 8954/01 unknown attribute: 003b 20 0001 14
2020-02-04 17:52:53.707 (zigbee) UpdateDevice - (zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01) 1:26
2020-02-04 17:52:53.664 Status: User: Admin initiated a switch command (4/zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01/Set Level)
2020-02-04 17:53:45.462 (zigbee) UpdateDevice - (zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01) 0:Off
2020-02-04 17:53:45.423 Status: User: Admin initiated a switch command (4/zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01/Off)
2020-02-04 17:54:29.621 (zigbee) UpdateDevice - (zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01) 1:63
2020-02-04 17:54:29.593 Status: User: Admin initiated a switch command (4/zigbee - TRADFRI wireless dimmer_LvlControl-000d6ffffe2d02e6-01/Set Level)
2020-02-04 17:55:20.983 (zigbee) removeDeviceInList - request to remove Device: 8954 with IEEE: 000d6ffffe2d02e6
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

I don’t understand what you are doing. You need to use the device and the domoticz widget will be updated. Not vice versa.




Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

1. remove from the device.
2. update plugin.
3. add new device
everything I do
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

When i add it an use i recieve this errors

2020-02-04 18:09:05.599 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:05.600 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:06.403 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:06.405 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:07.458 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:07.460 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:08.065 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
2020-02-04 18:09:08.066 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
2020-02-04 18:09:08.117 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:09.776 Status: EventSystem: reset all device statuses...
2020-02-04 18:09:11.627 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:11.628 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:17.393 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
2020-02-04 18:09:17.394 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
2020-02-04 18:09:17.446 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:17.547 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:17.599 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

What do you mean using it ?
Can you make the relation between and action on the object and the log. Basically what produced what


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
lenz
Posts: 11
Joined: Monday 03 February 2020 12:45
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by lenz »

pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

let me re-explain you the situation.

The device you have is not integrated with the plugin and so we need to do some re-engineering to understand how this device behave.
For instance each of the Logs are telling that the plugin receive an event and doesn't know what to do with.

If you want to get a full integration, then you need to do some analysis on, when you press 1 button on the device, what is/are the logs produced on the plugin side. With that I'll be able to make the plugin updating the Widget created in Domoticz.


To be more precise what I need is:

- What action on the device is triggering
2020-02-04 18:09:05.599 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
2020-02-04 18:09:05.600 Error: (zigbee) Decode8085 - Unknown step_mod 04 and/or up_down ff cluster 0008 Cmd 04 Unknown 02 for device 18d3
- What action on the device is triggering
2020-02-04 18:09:06.403 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
2020-02-04 18:09:06.405 Error: (zigbee) Decode8085 - Unknown step_mod 07 and/or up_down None cluster 0008 Cmd 07 Unknown 02 for device 18d3
- What action on the device is triggering
2020-02-04 18:09:08.065 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
2020-02-04 18:09:08.066 Error: (zigbee) Decode8085 - Unknown step_mod 05 and/or up_down None cluster 0008 Cmd 05 Unknown 02 for device 18d3
Finaly, I suspect more work to be done, as I feel that the behaviour can be adapted based on a configuration that you select from the Ikea app.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

I final was able to purchase one wireless dimmer, and can tell you that it works now on the beta and will soon retrofit on the the stable branche.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate IKEA TRADFRI wireless dimmer (ICTC-G-1)

Post by pipiche »

Did further work on that device and I feel it is not really usable as it is doing some unpexpected events when paired with a Bulb.

Nevertheless the version I have purschase has a bad firmware and first I needed to update it, then after a night my battery was empty (most-likely due to the firmware update).

Then I redo the pairing, then I paired it to a Bulb and finaly I added Zigate to the group created.

From that, I had the Dimmer controling the Bulb and at the same time I the Switch Selector was updated with On/OFF/DIM+/DIM-
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest