Outline
I have a Zigbee HA 1.2 thermostat that got connected successfully to the network and was recognized by the zigbee binding, but I noticed that the fancontrol
item is created as readonly
.
I am getting the same result when creating items in simple and manual modes.
I created a static thing-type
for the device hoping that it might fix it, but it kept creating the item as readonly.
I thought that discussing the problem here before submitting an issue is better since I might be missing something.
NOTE: I can control the item using rest API and it is working correctly, but not in the paperUI.
The zigbee xml
file reported the attribute correctly as writable
<ZclCluster>
<clusterId>514</clusterId>
<isClient>false</isClient>
<attributes>
<entry>
<int>0</int>
<ZclAttribute>
<id>0</id>
<name>Fan Mode</name>
<dataType>ENUMERATION_8_BIT</dataType>
<mandatory>false</mandatory>
<implemented>false</implemented>
<readable>true</readable>
<writable>true</writable>
<reportable>true</reportable>
<minimumReportingPeriod>0</minimumReportingPeriod>
<maximumReportingPeriod>0</maximumReportingPeriod>
<reportingTimeout>0</reportingTimeout>
<lastReportTime>
<time>1594222217806</time>
<timezone>GMT</timezone>
</lastReportTime>
<lastValue class="int">5</lastValue>
</ZclAttribute>
</entry>
....
fancontrol
Item showing the readonly state
{
"link": "http://192.168.1.109:8080/rest/items/zigbee_device_8fe57eba_00606efffec0e2b4_00606EFFFEC0E2B4_1_fancontrol",
"state": "4",
"stateDescription": {
"minimum": 0,
"maximum": 9,
"step": 1,
"pattern": "",
"readOnly": true,
"options": [
{
"value": "4",
"label": "On"
},
{
"value": "5",
"label": "Auto"
}
]
},
....
Configuration
Configuration | Description |
---|---|
Coordinator used | cc2531 |
openHAB version | 2.5.5 |
Hardware | embedded device |
Memory | 1GB |
Java version | 8 |