Page 3 of 20
Re: opentherm gateway
Posted: Wednesday 13 November 2013 16:44
by Sappien
It's working like a charm
Just waiting foro a temperature adjust button

Re: opentherm gateway
Posted: Thursday 14 November 2013 9:59
by Sappien
At this moment only display and logging. I'm waiting for the possibility to adjust the tempature etc.
Re: opentherm gateway
Posted: Monday 25 November 2013 9:33
by Sappien
@gizmocuz
Could you also add the status (MsgID=0) to the device list? ( To start events when Central Heating is firing up for example )
Re: opentherm gateway
Posted: Tuesday 03 December 2013 11:05
by MarFan
Sappien wrote:@gizmocuz
Could you also add the status (MsgID=0) to the device list? ( To start events when Central Heating is firing up for example )
I also would like this future !
I now have some Impuls on/off with a DBE
http://gathering.tweakers.net/forum/lis ... /1490061/0 after it, I want to start these when the CH is turning on.
Re: opentherm gateway
Posted: Tuesday 14 January 2014 20:47
by Ron
I can't wait to order and connect an open therm gateway, but is it possible to adjust the temperature with Domoticz yet?
(or in the near future)
Re: opentherm gateway
Posted: Tuesday 14 January 2014 20:52
by Sappien
Yes (with a little script)
Re: opentherm gateway
Posted: Sunday 26 January 2014 17:30
by gizmocuz
I connected my OTGW today...
Made some changes...
- OTGW TCP/IP is working now
- In Setup->Hardware->OTGW->Setup you can specify an outdoor temperature sensor, this will be used to set the outside door temperature
- The Room SetPoint is now moved to the Utility Tab.
I own an iSense thermostat, and i run firmware 3.4, maybe this is the problem but...
If you press 'Edit' on the Room Setpoint in the Utility tab, you can specify the setpoint.
0=use default
any other value will set the temporarily setpoint, that means if the thermostat sends another value (clock change) it will go back to this setting.
Unfortunately for me here, after 30 seconds, it is set back to the value that was programmed in the thermostat.
Maybe someone can test if it is working? If it is, i want to create the option to make some schedules.
What firmware are you using?
@Sappien, could you share your script?
With kind regards,
Rob
Re: opentherm gateway
Posted: Sunday 26 January 2014 19:17
by Sappien
Rob,
My iSense is version 23
The script I use is very simple :
Code: Select all
#!/bin/bash
/bin/stty -F /dev/ttyS0 9600 cs8 -parenb -icrnl -echo clocal -onlcr
exec 3<> /dev/ttyS0
echo -e 'TT=18.5\r' >&3
I'm updating right now, then I can test if I've got the same issues with the setpoint.
Re: opentherm gateway
Posted: Sunday 26 January 2014 19:25
by Sappien
It''s working..
I think I know your problem :
Code: Select all
Work-around many of the iSense quirks/bugs/misfeatures:
A remote override setpoint cannot be changed
The gateway will first cancel any existing remote setpoint before setting the new one.
Manual change of a remote override setpoint restarts the schedule
When a manual change is detected, the gateway will continue to send the override setpoint so the iSense doesn't resume the schedule.
Program change does not override a temporary remote setpoint
The iSense uses the previously received remote override function (MsgID 100) bitmap at the time the remote override setpoint (MsgID 9) is set. Just like with the remote override setpoint, it doesn't update the remote override function when it receives a new bitmap. The gateway uses the same trick as with the remote override setpoint: After sending the new remote override function bitmap, it cancels the remote override setpoint and sets it again.
Note that the iSense only requests the remote override function about once every 12 minutes. So it may take that long before a remote override is fully instated.
Which version do you have running? I'm running 4.0b1 (
http://otgw.tclcode.com/development.html )
Re: opentherm gateway
Posted: Sunday 26 January 2014 20:08
by gizmocuz
i tried that version but got an error every other line in the monitor application.
will try again tomorrow
what thermostat are you using?
Re: opentherm gateway
Posted: Sunday 26 January 2014 20:09
by Sappien
iSense (v23)
Re: opentherm gateway
Posted: Sunday 26 January 2014 20:17
by gizmocuz
The one in this picture?

- Thermostat
- thertmostat.PNG (842.92 KiB) Viewed 4337 times
Did you had to change anything in it's setup?
With kind regards,
Rob
Re: opentherm gateway
Posted: Sunday 26 January 2014 20:23
by Sappien
Same iSense indeed..
I didn't changed anything. When I change the setpoint (say 20 C) it wil set back to the
previous setpoint (20.5)... after x seconds it goes back to the setpoint of the iSense program..(19) and finally it will set the setpoint to 20.
( Otherwise contact hvxl @
http://www.domoticaforum.eu/viewforum.php?f=75, creator of the OTG)
Re: opentherm gateway
Posted: Sunday 26 January 2014 20:37
by gizmocuz
maybe i was impatiant

how long did it take? will try with your firmware tomorrow, if it works i am going to make a nice scheduler

Re: opentherm gateway
Posted: Sunday 26 January 2014 20:47
by Sappien
gizmocuz wrote:maybe i was impatiant

how long did it take?
It can take up to a minute or so...
BTW, could you also add the status (MsgID=0) to the device list? ( To see the status of the burner etc )
And maybe the possibility to change the temperature of the Setpoint/Water Heating ?
Re: opentherm gateway
Posted: Sunday 26 January 2014 21:51
by terrarium
Sofar this topic is really helpful.
However i have come across some errors.
Running Isense version 19 on a Remeha Calenta 28C.
Domoticz V1.1414 and firmware version 4.0b1 on the gateway.
Code: Select all
OTGW connected to: 192.168.1.103:1001
Sun Jan 26 21:41:47 2014 (OTGW) Temperature (Control Setpoint)
Sun Jan 26 21:41:47 2014 (OTGW) Thermostat
Sun Jan 26 21:41:47 2014 (OTGW) Temperature (Room Temperature)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (Boiler Water Temperature)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (DHW Temperature)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (Outside Temperature)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (Return Water Temperature)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (DHW Setpoint)
Sun Jan 26 21:41:48 2014 (OTGW) Temperature (Max_CH Water Setpoint)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (Control Setpoint)
Sun Jan 26 21:42:01 2014 (OTGW) Thermostat
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (Room Temperature)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (Boiler Water Temperature)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (DHW Temperature)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (Outside Temperature)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (Return Water Temperature)
Sun Jan 26 21:42:01 2014 (OTGW) Temperature (DHW Setpoint)
....
Error: Sun Jan 26 21:42:16 2014 OTGW Error: End of file
These errors continue to show in the logs and eventually the gateway is not reachable anymore.
Return water temperature also does not show.

- Screen Shot 2014-01-26 at 21.44.02.png (23.09 KiB) Viewed 4316 times
Maybe someone has pointers to correct these issues?
Thanks in advance.
Re: opentherm gateway
Posted: Monday 27 January 2014 8:47
by pwhooftman
gizmocuz wrote:I connected my OTGW today...
- In Setup->Hardware->OTGW->Setup you can specify an outdoor temperature sensor, this will be used to set the outside door temperature
Rob
I do not have an option Setup -> Hardware-> OTGW ....., how can i get that?
Running v1.1115 on a Synology DS412+, i already ordered a Raspberry PI B to switch to Domotig to get OTGW support, and now i read this

Re: opentherm gateway
Posted: Monday 27 January 2014 9:04
by Sappien
I think you need to update your version

Re: opentherm gateway
Posted: Monday 27 January 2014 9:07
by pwhooftman
pwhooftman wrote:gizmocuz wrote:I connected my OTGW today...
- In Setup->Hardware->OTGW->Setup you can specify an outdoor temperature sensor, this will be used to set the outside door temperature
Rob
I do not have an option Setup -> Hardware-> OTGW ....., how can i get that?
Running v1.1115 on a Synology DS412+, i already ordered a Raspberry PI B to switch to Domotig to get OTGW support, and now i read this

Answer to self: update to v1.1414 ......
Re: opentherm gateway
Posted: Monday 27 January 2014 9:09
by gizmocuz
@pwhooftman:
Seems like a TCP/IP communication issue, i have to re-debug this class.
I tried to program it using boost asio, but maybe i go back again to raw sockets instead.
@Sappien:
Found the issue. After upgrading to 4.0b1 i had a lot of 'Error 01' messages.
Actually, i only received messages from the Thermostat (Starting with TXXXXXX).
I double,tripple read the changes, apparently these checks/errors are common, and
this check should have been disabled in the initial firmware... but it's not.
I had to issue TR=1, now all is working well again.
Back to the subject:
- I can indicate the flame status as an icon
- And/Or i can thread the Statuses as switches
- I will move all SetPoints to the Utility Tab where you can control them
I am quite new to opentherm/thermostats/boilers....
Besides the Room SetPoint i see three more:
- Control Setpoint (MsgID=1)
- DHW Setpoint (MsgID=56)
- MAX_CH Water Setpoint (MsgID=57)
It seems the above three SetPoints are automatically adjusted by someone (therm/boiler?) Do we(Can we) want to control this?
It also seems we can set two more setpoints (besides the room):
- Setpoint Heating (It is not clear for me which one this is, MsgID1 or MsgID=57)
- Setpoint Water (this is the DHW i think? MsgID=56)
If they are controlled automatically by the boiler (because of a room setpoint), do we want to control the above two? And why?
I do seem to miss one important feature, Let's say i remove my thermostat, then i need to have an option to send the actual 'Room Temperature' to the gateway....
Or, if the thermostat is placed at a wrong spot (yeah sounds stupid... but...) and i want to use another temperature sensor as 'Room Temperature' ... is this possible?
/Rob