Page 1 of 1

Zigate plugin and custom zigbee messages

Posted: Friday 08 October 2021 11:58
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.

Re: Zigate plugin and custom zigbee messages

Posted: Friday 08 October 2021 12:42
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