-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support extra configuration on Legrand / BTCino with Netatmo devices #733
Comments
All ZCL data types are supported by the Z-Smart Systems libraries, so they all should be supported by the binding. |
You're right, there is no serialisation defined for this data type. I will add that to the library and it will be available in a few weeks or so, but if you want support for these device I suggest to please try and add it to OH if you can. |
Thank you for your help Chris! I'll try to implement a preliminary support for this non standard cluster 0xfc01 in the coming weeks. |
Just to note that if this is implemented "properly" - ie the device implements the ZCL on this cluster and these are just standard attributes, then all that is needed is a static definition - ie an XML file needs to be added. You don't need to add code. Unfortunately it's not documented very well but maybe the following recent thread on the forum helps -: https://community.openhab.org/t/sinope-zigbee-thermostat-th1123zb/129479/20 If you wanted to produce a short "how to" section on this, it would be really appreciated. It's something I keep meaning to do but am very busy with other stuff (and I know just writing the doc would probably be quicker than repeating myself each time :) ). |
I am facing a subtlety: the vendor name and model id contain special character \x1f:
Is it supported in discovery.txt? |
I'm not sure to be honest - I would suggest to try. If required we can change the format of this file - either just changing the way it is read back - eg using a different character set might (??) resolve this, or alternatively we'd have to add a processing stage to filter this out when the file is parsed. |
Echoing \x1f into discovery.txt just works. But it is not good in terms of maintainability, as this character is invisible: future maintainers might forget about it, remove it unwillingly and silently break the discovery. What about using Apache commons text Java escape/unescape methods (described here) to explicitly handle it? |
I'd prefer not to add this dependency just to remove (well, handle) this character. There must be a simple way with (eg) a regex that allows unprintable characters to be translated to a space, or underscore, or just removed. I'm sure I've done this sort of thing before, but I'm not sure if it will work for characters that are "below" 32 in the ASCII table? |
Ok. Can you please have a look to this XML thing file?
The first test results look good. |
Hi, I see com.zsmartsystems.zigbee 1.4.4 is released. It would be great to move to it now. |
Hi, I have just tested with com.zsmartsystems.zigbee 1.4.5 the DATA_16_BIT argument, and it can be read:
but it cannot be written: Am I missing something? |
It looks like support will need to be added to the low level library for this. |
The devices of this manufacturer offer optional behaviors (LED, dimmer). It should be possible to configure them.
As of OpenHAB 3.2, the following commands works in OpenHAB console:
zigbee write <node>/<endpoint> 0xfc01 1 [true|false] BOOLEAN
zigbee write <node>/<endpoint> 0xfc01 2 [true|false] BOOLEAN
Attribute Dimmer mode cannot be changed because its data type (0x09 / DATA_16_BIT) is not supported in OpenHAB.
More information at Domoticz-Zigate-Wiki.
The text was updated successfully, but these errors were encountered: