I am not sure if this the correct thread to post this, but I have been using OH 3.2 with the BTincino Openwbnet binding for over a year now with no problems. However I have just updated to OH 4.0.3 and as far as I can see, my LN4691 thermostats are no longer working correctly. I can still read the room temperature and the actuator status correctly. However, while I can read the setpoint temperature if I change it manually on the thermostat, I can no longer write a value to it from OH. The value of the setpoint in the model changes, but it is not written to the thermostat.
I seem to remember that I had a similar problem when I first installed the Btinico binding, but cannot find the solution to the problem.
Do I need to specifically install a new binding (there is now a Beta 4.1.0 version) as I just used the one that was part of the release as is listed as 4.0.3
Not sure this can help but… I had a similar issue and it was due to unit introduced in OH4.
Check in the log that when you set the value from interface you use the correct unit:
The problem does seem to be in the Units. Here is an extract from the log when I change the setpoint temperature
2023-11-05 09:16:09.887 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'ThermoOffice_SetpointTemperature' received command 24
2023-11-05 09:16:09.890 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'ThermoOffice_SetpointTemperature' predicted to become 24
2023-11-05 09:16:09.893 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ThermoOffice_SetpointTemperature' changed from 23 °C to 24 °C
The Setpoint receives the command 24 not 24 °C. The predicted value is also 24 not 24 °C. The state change event is correct however with 24 °C. If this is the problem, how do I correct it?
If the problem is not with units of measure (see also @bastler suggestion), then the DEBUG level log is required.
The log you posted above is INFO and does not help.
See my link above on how to set log correctly for both the openwebnet binding and the openwebnet4j lib.
this line means the command to change temperature sent by the OpenWebNet binding is not accepted/understood by your gateway.
Can you send the Thing configuration? If it’s configured using WebUI then go to the Thing settings, then copy what is in the Code tab
what is the model of the BTicino gateway to which OH is connected ?
can you confirm that your thermostats are in “standalone” mode, that means there is no 99-zone nor a 4-zone Thermo central unit in your BTicino system?
On reflection, this must be an issue relating to the changes from 3.2 to 4, probably the new Java engine. Since the hardware has not changed and it all worked before, I assume that OH is no longer sending the same string of commands. My system is running with OpenHabian on a raspberry pi4. If it would help, I could try re-installing 3.2 on my pc to see what commands are sent with that version.
What is needed is the Thing configuration for one of the 3 thermostats Things, better the one you already tested in the previous test.
What you pasted here is the bridge Thing (maybe delete and correct the message)
This part in fact has been updated from OH 3, so what I am suspecting is a wrong configuration…
The other thermostats are configured as 2#1 and 3#1. I think I remember that I had to change these from 1, 2 or 3 which were the default values by adding the #1 manually to each configuration for it to work under OH 3.3
I have tried deleting the Office Thermostat and re-installing it. The default configuration is now 1, but OH will no longer connect to it giving an UNKNOWN message.
The right configuration should be now (since OH 4) where=1 for Zone 1 for standalone thermostats.
Can you try it?
Deleting the Thing and re-discovery it should also work, but then you have to be sure the same Thing UID is used, otherwise the Item will not be connected anymore and you will have to link again the Item to the Thing channel.
I tried changing the 1#1 to 1 in the properties page, but the device went UNKNOWN when I saved it. Changing back to 1#1 left the device still UNKNOWN so I have lost all the data from the thermostat. I will start again tomorrow reinstalling the thermostats and copying the logs.
I have managed to get one of the thermostat setpoint functions working with just the configuration 2, rather than 2#1. Great. For your info, I have attached the log file section as it does seem to throw an exception when it first tries to send the command, but then seems to re-establish a connection which then works. Is this a problem or is it what you would expect?
Thanks for the help in getting things going again.
Great that the thermostat now works with the correct configuration.
In fact this was a required configuration change from OH 3.x to OH 4 in the case of standalone thermostats.
Re-establish of the command connection is perfectly normal since the binding closes the connection after a while if no command is sent.