[OpenWebNet] Thermoregulation support in openHAB3 ready for testing

Was reading the docs and saw it for first time a few days ago

Number Office_localOffset                               "Office local offset [%.1f °C]"                 <temperature>                                               {channel="openwebnet:bus_thermo_zone:gateway:office:localOffset"}

… but if i see right in the docs from aconte the item should be a string, not a number?

1 Like

Correct… was testing. I tried string again and toggled the offset and now it works :slight_smile:

String Office_localOffset                           "Office local offset [%s]"                      <temperature>       (Thermostat)                            {channel="openwebnet:bus_thermo_zone:gateway:office:localOffset"}

The item conatins the value MINUS_1 but sitemap shows -1

image

I didn’t expect that.

I also see that string ‘normal’ shows as 0 in site map but I am not mapping it to an integer text value!

Hi Andrea. In these days I have installed OH 3.3 on an RPi4 and I have installed the new OpenWebNet (before I used the 2.5 version of Massi). Apparently everything is simpler at the graphical interface level, but in doing two tests on thermoregulation (the thing I need most) I noticed that now the individual zones can only be set to MANUAL, PROTECTION and OFF. I can no longer find a way to bring the single zone back to AUTO mode (i.e. put it back in step with the programming of the control unit). I also armed the 99-zone control unit, but from it I can only force all the zones to take the programming at the same time. For me on OH 2.5 the function of being able to set each single zone to MANUAL was very convenient, and then put it back in AUTO without having to physically do it on the command. It seems strange to me that this thing was not thought of, so I guess I am doing something wrong in the use of the binding.
Can you let me know how I can do to be able to put a single zone back into automatic mode, after I have put it in manual or have turned it off?
Thank you so much for the suggestions, good day everyone! Emiliano.

Hi

I am running OpenHab 3.3 with the latest openwebnet binding 3.3.0 All my lights, switches, energy meters etc work fine, but I am having a problem with the stand-alone thermostats LN4691. I can read all the values correctly, but cannot change the setpoint temperature from OH. Changing the setpoint with the buttons on the thermostat works correctly and the changed values are also displayed correctly in OH.

But if I change the setpoint value with a widget such as the slider, then although the OH value changes, the new value is not written back to the LN4691. If this is a configuration issue, could someone post an example of how to do it using the UI in OH 3.3

Thanks

PJG

You already have an example with BasicUI in the binding README
If this does not work you should post here the DEBUG logs when you try to change the setpoint in one of the thermostats from OH.

Hi Massimo

Here are the relevant messages from the logs when I used the slider to make two changes to the setpoint temperature:

Openhab

2022-11-13 10:41:35.935 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=22 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)
2022-11-13 10:41:36.571 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=23 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)

2022-11-13 10:43:39.127 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=22 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)
2022-11-13 10:43:39.648 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=20 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)
2022-11-13 10:43:39.902 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=19 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)
2022-11-13 10:43:40.143 [DEBUG] [ernal.handler.OpenWebNetThingHandler] - handleCommand() (command=18 °C - channel=openwebnet:bus_thermo_zone:4ee9a04c30:1:setpointTemperature)

Event

2022-11-13 10:41:35.933 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 22
2022-11-13 10:41:35.933 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C
2022-11-13 10:41:36.570 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 23
2022-11-13 10:41:36.570 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C

2022-11-13 10:43:39.126 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 22
2022-11-13 10:43:39.126 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C
2022-11-13 10:43:39.647 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 20
2022-11-13 10:43:39.647 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C
2022-11-13 10:43:39.902 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 19
2022-11-13 10:43:39.902 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C
2022-11-13 10:43:40.142 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘ThermoOffice_SetpointTemperature’ received command 18
2022-11-13 10:43:40.142 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘ThermoOffice_SetpointTemperature’ predicted to become 20.5 °C

It would seem that the thermostat receives the command correctly, but always reverts to the manually set temperature of 20.5C

PJG

these logs do not help:

  • DEBUG level should be set also to the other messages log (see the link I already suggested), otherwise it’s impossible to see the sent/received messages between OH and the bticino gateway
  • always, always, always use code fences when posting logs. Or even better copy-paste the log in a .txt file and upload it on the post

openhab.txt (609.5 KB)

Here is the openhab.log file as .txt. I have set the DEBUG options as per your post. I thought I had done it earlier. Hope this file makes more sense.

PJG

There are no DEBUG messages in the event.go relating to the thermostat so I have not posted it.

PJG

Can you copy here you Things configuration (only for the part related to Thermo)?




Here are there images of the configuration for the thermostat taken from the UI. NOTE that they show a setpoint temperature of 22C which was the last value sent by OH, but not accepted by the thermostat whch still shows 20.5C on the display screen.

PJG

@pjgregory can you change in the configuration of yout thermo zone 1 Thing the OpenWebNet Address parameter:
1#1 to → 1
and see if this way it works correctly ?

:smiley: Working! I can now change the setpoint temperature. As I recall, the 1#1 address was found automatically by the scan but I cannot remember for sure.

Thanks again.

PJG

right, this is the issue causing misconfiguration. An issue has been opened to address this.

Hi all, I have a CU 99 zones, 4 thermostats and a question:

Is it normal that when i switch the CU from Manual to Off, the setpoint temperature is not saved as it happens with each termostat?

Herefater the logs:

2022-12-07 21:28:31.741 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'iCU_Mode' received command OFF
2022-12-07 21:28:31.744 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'iCU_Mode' predicted to become OFF
2022-12-07 21:28:31.749 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Mode' changed from MANUAL to OFF
2022-12-07 21:28:31.917 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Temp' changed from 20 °C to 11.5 °C

What happens when you switch it back to MANUAL?
Is the setpointTemperature restored to the original ?

i suppose this is normal behaviour of the cu. when switching at the cu to manual it displays 11,5 degrees. thats the same as when you switch the cu in openhab to manual. then you can globally adjust one temperature that is valid for all zones with setpointTemperature of the cu

but you also can adjust setpointTemperature of each zone, this does not change even if you switch between off and manual (at the zone)

Some tests made from Openhab:

CU Temp set to 20°, hence MANUAL mode triggered:

2022-12-08 22:21:11.767 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'iCU_Temp' received command 20
2022-12-08 22:21:11.769 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'iCU_Temp' predicted to become 20
2022-12-08 22:21:11.787 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Temp' changed from 11.5 °C to 20 °C
2022-12-08 22:21:11.975 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Mode' changed from OFF to MANUAL

CU mode set to OFF, setpoint back to 11,5°:

2022-12-08 22:21:32.672 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'iCU_Mode' received command OFF
2022-12-08 22:21:32.674 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'iCU_Mode' predicted to become OFF
2022-12-08 22:21:32.684 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Mode' changed from MANUAL to OFF
2022-12-08 22:21:32.837 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Temp' changed from 20 °C to 11.5 °C

CU mode set to Manual, a sample of a zone thermostat changed from saved setpoint 20 to 11,5°:

2022-12-08 22:22:19.930 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'iCU_Mode' received command MANUAL
2022-12-08 22:22:19.932 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'iCU_Mode' predicted to become MANUAL
2022-12-08 22:22:19.936 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iCU_Mode' changed from OFF to MANUAL
2022-12-08 22:22:20.705 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iSogg_Function' changed from GENERIC to HEATING
2022-12-08 22:22:20.707 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iSogg_setMode' changed from OFF to MANUAL
2022-12-08 22:22:20.739 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'iSogg_SetpointTemp' changed from 20 °C to 11.5 °C

I’ll try to do some tests also from physical CU and post some updates tomorrow

No the CU as each single thermostart store and provide the previous set point, hereafter a couple of picture taken:

Manual 20°, and after all zones to Off

When i set back to Manual the CU prompth me with 20°