It is not so much about setting TT And TC and the same time. I use TT when coming home early, so the house is warm when I arrive. TC I use when I have left the house but forgot to turn the heating off.
So what you would see in my screenshot are controls for TT as you see now and another selection item for TC.
Right, with ‘at the same time’ I meant without having to change the configuration settings. And from what I understand that’s what you would prefer, hence the use of two channels. Anyway, that’s what I’m implementing now
Another thing I noticed through the logs, is that in some cases more than one background thread for communication to the OTGW is started. While this may not affect the functionality of the binding, it does take up resources and opens sockets unnecessarily. So I’m currently changing the way the background thread is started, in an effort to make sure only one thread is started at a time.
I’ve uploaded a new version (0.5.0) with separate channels for TemperatureTemporary and TemperatureConstant. I Also changed a few things regarding the creation of the background thread.
Please download the latest version and let me know if you find any issues.
I am not really sure what you mean by importing the demo sitemap and items. If you put the .items and .sitemap files in the correct folders, openHAB will automatically load them. On my setup, the correct folders would be /etc/openhab2/items/ and /etc/openhab2/sitemap/, yours could be different though.
atm I am very happy with the binding. It covers all I want. If I can come up with something I will definitely let you know!
I am not so happy with the way I can program the setpoints in the UI (selection item). It would have been nice if the UI would have offered something like a spinning wheel to set the setpoint value, but then there is the problem that if you want to remove the setpoint one would have to send “0”.
Thanks for the great work in solving this longstanding issue for me!!
Would it be an idea to use the wheel to set the desired room temperature and use a button to send the 0 degrees for reset ? So two items that act on the same channel…
Number Sensor_VH_Kitchen_Temperature_iSense "Keukentemperatuur (iSense) [%.1f °C]" <temperature> (gCV) // Room temperature coming from iSense thermostat
{channel="openthermgateway:otgw:1:roomtemp"}
DateTime Sensor_VH_Kitchen_Temperature_iSense_LastUpdate "Last Update [%1$ta, %1$td-%1$tm %1$tT]" <time> (gCV)
sitemap:
Text item=Sensor_VH_Kitchen_Temperature_iSense valuecolor=[Sensor_VH_Kitchen_Temperature_iSense_LastUpdate=="NULL"="#808080",Sensor_VH_Kitchen_Temperature_iSense_LastUpdate>300="#ff0000",Sensor_VH_Kitchen_Temperature_iSense_LastUpdate>150="#ffa500",Sensor_VH_Kitchen_Temperature_iSense_LastUpdate<=150="#008000"]
rules:
rule "OTGW_Temperature"
when
Item Sensor_VH_Kitchen_Temperature_iSense received update
then
Sensor_VH_Kitchen_Temperature_iSense_LastUpdate.postUpdate( new DateTimeType() )
end
Hi Arjen, I have it working with the SMD version of the gateway. But currenlty i’m not able to control the Heating it looks like it only reads information through Opentherm.
Any Suggestions? also it says my water pressure is 6 bar.
The Items and Rules works perfect, but I have problems with the Sitemap.
The Sitemap won ’t load with the expression for the color setting, there is something wrong with the calculation …
Thanks for the quick response. I checked otmonitor and also their a cannot change the room temperature setpoint. I’m using the OTGW standalone currently(almost standalone its connected with a Qubino PWM thermostat. I do see the in the logging that it should do something but no change at all. Even in the debug logging of Openhab i can see the adjustment i try to make within otmonitor. What i can change in otmonitor is the control setpoint. But this does not work from Openhab(loggin attached),
error log:
00:17:54.706 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘ControlSetpoint’ received command 70
00:17:54.722 [INFO ] [smarthome.event.ItemStateChangedEvent] - ControlSetpoint changed from 10.0 to 70
00:17:55.233 [INFO ] [smarthome.event.ItemStateChangedEvent] - BoilerWaterTemperature changed from 43.0 to 42.0
00:17:56.242 [INFO ] [smarthome.event.ItemStateChangedEvent] - ControlSetpoint changed from 70 to 10.0
Debug:
00:14:22.417 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘ControlSetpoint’ received command 50
00:14:22.427 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received channel: openthermgateway:otgw:4732db64:controlsetpoint, command: 50
00:14:22.440 [INFO ] [smarthome.event.ItemStateChangedEvent] - ControlSetpoint changed from 10.0 to 50
00:14:22.981 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: R007B0000
00:14:23.087 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: BC07B0000
00:14:24.012 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: R00120000
00:14:24.203 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: BC0120600
00:14:24.208 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘waterpressure’: 6.0
00:14:25.047 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: R80000100
00:14:25.210 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: BC0000102
00:14:25.218 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘ch_enable’: ON
00:14:25.229 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘dhw_enable’: OFF
00:14:25.240 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘ch_mode’: ON
00:14:25.254 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘dhw_mode’: OFF
00:14:25.271 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘flame’: OFF
00:14:26.086 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: R80190000
00:14:26.220 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: BC0192300
00:14:26.225 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘flowtemp’: 35.0
00:14:27.126 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: R10010A00
00:14:27.233 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received message: BD0010A00
00:14:27.242 [DEBUG] [teway.handler.OpenThermGatewayHandler] - Received update for channel ‘controlsetpoint’: 10.0
Also i notice all the strange messages is this normal (R00120000)?
The messages like R00120000 is the raw data received from the gateway. They are parsed by the binding using the opentherm specifications and then linked to the channels to update the value. So yes, it’s normal that you see these messages when the loglevel is set to DEBUG. Using the otmonitor, you should see the exact same messages in the log and also the meaning of these messages.
I am not sure why you are not able to set the setpoint values using either otmonitor or openHAB. I would expect to see at least something like “Sending message: TT=21”, or “Unable to send message: TT=21” but your log doesn’t show anything
Perhaps the gateway is in monitor mode, instead of gateway mode. In the Options -> Miscellaneous page of the otmonitor (F7) you can press Gateway button which should show a GW=1 command being sent to the gateway. Can you try that to see if that makes any difference?