Zigate - Müller light

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

Moderator: leecollings

Post Reply
sjongele
Posts: 4
Joined: Monday 24 June 2019 20:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zigate - Müller light

Post by sjongele »

Hi!

Trying to add Müller E27 Lights to Domoticz.

Zigate log Info:

2019-06-24 19:55:15.409 Status: (Zigate Zigbee) Started.
2019-06-24 19:55:15.714 Status: (Zigate Zigbee) Entering work loop.
2019-06-24 19:55:15.715 Status: (Zigate Zigbee) Initialized version 4.3.2, author 'zaraki673 pipiche38'
2019-06-24 19:55:15.718 Status: (Zigate Zigbee) Zigate plugin 4.3.2 started
2019-06-24 19:55:15.720 Status: (Zigate Zigbee) Python Version - 3.5.3 (default, Sep 27 2018, 17:25:39)
2019-06-24 19:55:15.720 Status: (Zigate Zigbee) Switching Heartbeat to 5 s interval
2019-06-24 19:55:15.720 Status: (Zigate Zigbee) DomoticzVersion: 4.10717
2019-06-24 19:55:15.720 Status: (Zigate Zigbee) DomoticzHash: b38b49e5
2019-06-24 19:55:15.720 Status: (Zigate Zigbee) DomoticzBuildTime: 2019-05-09 13:04:08
2019-06-24 19:55:15.729 Status: (Zigate Zigbee) Opening DomoticzDB in raw
2019-06-24 19:55:15.729 Status: (Zigate Zigbee) load PluginConf
2019-06-24 19:55:15.730 Status: (Zigate Zigbee) PluginConf: /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf.txt
2019-06-24 19:55:15.730 Status: (Zigate Zigbee) -vibrationAqarasensitivity: medium
2019-06-24 19:55:15.730 Status: (Zigate Zigbee) -enablegroupmanagement: 0
2019-06-24 19:55:15.731 Status: (Zigate Zigbee) -resetMotiondelay: 30
2019-06-24 19:55:15.731 Status: (Zigate Zigbee) -logFORMAT: 0
2019-06-24 19:55:15.731 Status: (Zigate Zigbee) -logLQI: 0
2019-06-24 19:55:15.731 Status: (Zigate Zigbee) -channel: ['11', '15', '19', '20', '25', '26']
2019-06-24 19:55:15.740 Status: (Zigate Zigbee) Plugin Database: DeviceList-18.txt
2019-06-24 19:55:15.761 Status: (Zigate Zigbee) DeviceConf loaded
2019-06-24 19:55:15.762 Status: (Zigate Zigbee) load ListOfDevice
2019-06-24 19:55:15.805 Status: (Zigate Zigbee) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-18.txt : 3
2019-06-24 19:55:15.809 Status: (Zigate Zigbee) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB4
2019-06-24 19:55:15.923 Status: (Zigate Zigbee) Major Version Num: 0003
2019-06-24 19:55:15.923 Status: (Zigate Zigbee) Installer Version Number: 030f
2019-06-24 19:55:16.126 Status: (Zigate Zigbee) Zigate in Permit Join: On
2019-06-24 19:55:16.251 Status: (Zigate Zigbee) Zigate addresses ieee: 00158d0001ecaf0f , short addr: 0000
2019-06-24 19:55:16.251 Status: (Zigate Zigbee) Network state UP, PANID: ba2a extPANID: 0x2a3ce8e5d37e1299 Channel: 11
2019-06-24 19:55:16.360 Status: (Zigate Zigbee) Number of devices recently active in Zigate = 2
2019-06-24 19:55:25.729 Status: (Zigate Zigbee) Plugin with Zigate firmware 030f correctly initialized

Device Join info:

2019-06-24 19:51:23.398 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 1: 0021
2019-06-24 19:51:23.398 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster OUT Count: 01
2019-06-24 19:51:23.398 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster Out 1: 0021
2019-06-24 19:51:23.501 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Simple Descriptor EP 01
2019-06-24 19:51:23.501 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a ProfileID 0104
2019-06-24 19:51:23.501 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a ZDeviceID 010d
2019-06-24 19:51:23.501 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster IN Count: 08
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 1: 0000 (Basic)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 2: 0003 (Identify)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 3: 0004 (Groups)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 4: 0005 (Scenes)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 5: 0006 (On/Off)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 6: 0008 (Level Control)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 7: 0300 (Colour Control)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster In 8: 1000 (Touchlink)
2019-06-24 19:51:23.502 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster OUT Count: 01
2019-06-24 19:51:23.503 Status: (Zigate Zigbee) [-] NEW OBJECT: 528a Cluster Out 1: 0019 (Over-the-Air Upgrade)
2019-06-24 19:51:25.507 Status: (Zigate Zigbee) [0] NEW OBJECT: 528a Request Model Name
2019-06-24 19:51:25.510 Status: (Zigate Zigbee) [0] NEW OBJECT: 528a Request Attribute for Cluster 0x0300 to get ColorMode
2019-06-24 19:51:30.476 (Zigate Zigbee) Too early, let's try to get the Model
2019-06-24 19:51:30.476 Status: (Zigate Zigbee) [1] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:30.476 Status: (Zigate Zigbee) [1] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:30.476 Status: (Zigate Zigbee) [1] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:34.793 Status: (Zigate Zigbee) Leave indication from IEEE: 00158d00030009c8 , Status: 00
2019-06-24 19:51:34.819 Status: (Zigate Zigbee) device 528a annouced to leave
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - Model ZBT-ExtendedColor Profile ID : 0104 ZDeviceID : 010d
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - Model ZBT-ExtendedColor not found with Ep: f2 in DeviceConf. Continue with ClusterSearch
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - ClusterSearch return :
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - Model ZBT-ExtendedColor Profile ID : 0104 ZDeviceID : 010d
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - Model ZBT-ExtendedColor not found with Ep: 01 in DeviceConf. Continue with ClusterSearch
2019-06-24 19:51:35.476 (Zigate Zigbee) GetType - ClusterSearch return : ColorControl/LvlControl/Switch/
2019-06-24 19:51:35.476 (Zigate Zigbee) subtypeRGB_FromProfile_Device_IDs - Model: ZBT-ExtendedColor, ProfileID: 0104, ZDeviceID: 010d ColorInfos: {'Hue': 170, 'Y': '26876', 'X': '30002', 'ColorMode': 2, 'Saturation': 254}
2019-06-24 19:51:35.475 Status: (Zigate Zigbee) [2] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:35.475 Status: (Zigate Zigbee) [2] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:35.475 Status: (Zigate Zigbee) [2] NEW OBJECT: 528a Model Name: ZBT-ExtendedColor
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) 'onHeartbeat' failed 'NameError':'name 'ZdeviceID' is not defined'.
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 737 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 594 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 430 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/heartbeat.py', function processListOfDevices
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 315 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/heartbeat.py', function processNotinDBDevices
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 582 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoticz.py', function CreateDomoDevice
2019-06-24 19:51:35.477 Error: (Zigate Zigbee) ----> Line 1638 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoticz.py', function subtypeRGB_FromProfile_Device_IDs
2019-06-24 19:51:38.510 (Zigate Zigbee) Decode004d - rebind clusters for 6e78
2019-06-24 19:51:38.618 (Zigate Zigbee) Decode004d - rebind clusters for 6e78
2019-06-24 19:51:38.485 Status: (Zigate Zigbee) Device Annoucement ShortAddr: 6e78, IEEE: 00158d00030009c8
2019-06-24 19:51:38.486 Status: (Zigate Zigbee) NetworkID : 6e78 is replacing 528a and is attached to IEEE : 00158d00030009c8
2019-06-24 19:51:38.618 Status: (Zigate Zigbee) Device Annoucement ShortAddr: 6e78, IEEE: 00158d00030009c8

Is it possible to add this device to the Zigate Device DB?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Müller light

Post by pipiche »

Sorry to see this error.
Could you kindly update the plugin ( git pull ), this problem should be fixed.

However due to that error most-likely the device as been added to the Zigate, the plugin DB but not Domoticz.

Please
(1) stop the plugin
(2) edit the file

Code: Select all

/home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-18.txt 
If I understood you should have 3 lines in this file (be careful the lines are quiet long)
Search for '00158d00030009c8' and remove that line
(3) do update the plugin with a

Code: Select all

git pull
command in the Zigate plugin directory
(3) restart the plugin and the pairing should be able to go through
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
sjongele
Posts: 4
Joined: Monday 24 June 2019 20:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate - Müller light

Post by sjongele »

Well, that's quick! And a big improvement: they now join correctly. Thanks!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Müller light

Post by pipiche »

Great. Do you mind to share the reference of the Müller E27 Lights ? So I can add it to the compatibility list ?
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
sjongele
Posts: 4
Joined: Monday 24 June 2019 20:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate - Müller light

Post by sjongele »

Sure! These are Müller-Licht 44062 "tint white + color" (LED E27 9,5W 806lm 1.800-6.500K RGB). These have two modes: cold to warm white and RGB. Domoticz appears to only see the cold to warm white at this stage.
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Müller light

Post by pipiche »

sjongele wrote: Monday 24 June 2019 21:40 Sure! These are Müller-Licht 44062 "tint white + color" (LED E27 9,5W 806lm 1.800-6.500K RGB). These have two modes: cold to warm white and RGB. Domoticz appears to only see the cold to warm white at this stage.
The issue is not on Domoticz, but on the plugin which seems not to be able to identify the right Widget.

Could you kindly do the following

(1) Stop the plugin
(2) from the Zigate plugin directory
mv Conf/DeviceConf.txt Conf/DeviceConf.txt-release
install under Conf the attached DeviceConf.txt
DeviceConf.txt
(9.76 KiB) Downloaded 37 times
(3) restart the plugin
(4) Remove the Domoticz widget of this Bulb
It should the remove the corresponding entry in the plugin DB (you won't see it, except if you stop the plugin)
(5) Pair again your Bulb, You should get the right Domoticz Widget with WW+RGB+LvlControl

Please let me know, and if it works I'll release the file
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
sjongele
Posts: 4
Joined: Monday 24 June 2019 20:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigate - Müller light

Post by sjongele »

This works: Domoticz now shows the RGB and the cold-warm white operation modes.
Thanks!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Müller light

Post by pipiche »

Thanks for the feedback
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: Bing [Bot] and 1 guest