Closed DutchmanNL closed 6 years ago
How does your object look like? According to this: https://github.com/ioBroker/ioBroker.openhab/blob/master/main.js#L54 Object requires the native.name of the control point in openhab
Hello i have same the same issue.
And I have the same question to you: who does you object look like in ioBroker?
sorry have been off for a while :/
the object looks as following:
{ "common": { "name": "", "type": "number", "unit": "°C", "role": "level.temperature", "min": 4.5, "max": 30.5, "read": true, "write": false, "custom": { "sql.0": { "enabled": true, "changesOnly": true, "debounce": "", "retention": 0, "changesRelogInterval": 0, "changesMinDelta": 0, "storageType": "" } } }, "native": { "name": "Woonkamer_Temperatuur_Setpoint", "type": "Number" }, "acl": { "object": 1638, "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "state": 1638 }, "_id": "openhab.0.items.Woonkamer_Temperatuur_Setpoint", "type": "state" }
the openhab adapter reads the value as ""write": false,", when i change this to true i get the following log message:
openhab.0 | 2017-09-24 14:15:31.454 | warn | State "openhab.0.items.Woonkamer_Temperatuur_Setpoint" is read only |
---|
when i reboot the adapter the true flag is removed again
Hi, I checked, what OH is sending to IOB and it seems that OH isn't providing the "readonly" attribute, if the object can be changed. Furthermore at least in my system, the stateDescription is not provided.
I will check and provide a solution later. Too late for today.
Regards, Sven
It should work using the latest revision. Please recheck and close the issue.
@DutchmanNL Is it working as expected? Do you still have some issues?
I will test this evening thank you for reminder
sorry it took a while before i was able to test, i currently did with version 0.2.1 installed from latest, sorry to say but no its not working:
1 - the target temperature (SOLL) is treated as read-only element instead of writable 2 - when i change it in iobroker to write and modify the value, the error message comes again:
State "openhab.0.items.Temperatuur_Soll" is read only
Same problem here. When I try to change the temperature I get following error massage in log
openhab.0 | 2018-08-12 18:45:03.462 | warn | State "openhab.0.items.BadThermostat" is read only |
---|
Would be great if you can provide any solution for this or any workaround
Try 0.3.0
Thank you after the Update to 0.3.0 it's working fine
fix confirmed in 0.3.0 working fine now thank you @GermanBluefox
error log
somehow this values has an read only state ? changing the attributes of object to write = true does does not solve the issue (same error message)