Zigate plugin and custom zigbee messages

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

Moderator: leecollings

Post Reply
sger
Posts: 10
Joined: Friday 12 February 2021 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zigate plugin and custom zigbee messages

Post by sger »

Hi,
I would like to be able send and receive messages to my zigbee devices: to try/enable features that are not yet supported by zigate domoticz plugin integration.

Do you know who to accomplish that, while zigate domoticz plugin is running?

I was trying to search, but I couldn't figure out how to do it. In zigate web interface there are "Zigate command (raw)", but I couldn't figure out the format of messages and the shorturls there don't work.

I would prefer some method that could be scripted, either in domoticz (dzvents), or outside domoticz.
For me it would be enough to write/read some cluster attributes in zigbee device.

For example, I have Danfoss Ally radiator thermostats, and they accept external temperature measurements to be written into cluster 0x201 attribute.
Some people are already successfully using this feature, just not with domoticz zigate plugin. I was hoping that that just binding temperature sensor and thermostat would magically do same thing, but although binding seems to work it doesn't do the job.

I tried using python library and mqtt broker written for zigate (i.e. no domoticz), and with some tweaking I was able to send working attribute_write_request to Danfoss Ally. However, when using that mqtt broker it takes over the zigate hardware from zigate domoticz plugin, so solution was good just for testing the device. I was also hoping that domotiz python scripting could be used to do the trick, but once simple "hello world" python script was enable in domoticz it freezed domoticz.

If we could have a way to read/write cluster attributes while zigate domoticz plugin is running, it would open up lot of tweaking possibilities that eventually could end up helping the zigate plugin development.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate plugin and custom zigbee messages

Post by pipiche »

what you want to do is exactly the purpose of Raw Command feature. In order to understand the syntax, you need to refer to the ZiGate manufacturer documentation

https://zigate.fr/documentation/commandes-zigate/

Now, from my end the reason the External thermostat was not implemented is simply because not able to test. If you can test it I think this would be beneficial for the community to implement in the plugin

I understood that you know python, so I can eventual help you here

we can also chat :
https://keybase.io/pipiche/chat
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