[120] opentherm gateway

For OpenTherm-gateway related questions in Domoticz

Moderator: leecollings

pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: opentherm gateway

Post by pwhooftman »

terrarium wrote:Sofar this topic is really helpful.


Return water temperature also does not show.
Screen Shot 2014-01-26 at 21.44.02.png

Maybe someone has pointers to correct these issues?

Thanks in advance.
Return and DWH temperatures show for me (Calenta 40C), can you try using the originial OTGW monitor to see if these values are reported by your boiler?
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

Return Water temperature also does not display here (Remeha Advanta)
Not all boilers report everything...
Quality outlives Quantity!
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: opentherm gateway

Post by terrarium »

pwhooftman wrote:
terrarium wrote:Sofar this topic is really helpful.


Return water temperature also does not show.
Screen Shot 2014-01-26 at 21.44.02.png

Maybe someone has pointers to correct these issues?

Thanks in advance.
Return and DWH temperatures show for me (Calenta 40C), can you try using the originial OTGW monitor to see if these values are reported by your boiler?
Will flash the original firmware tonight and report back.
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

gizmocuz wrote: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 :)
Maybe a idea for the scheduler?

Image
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

Yes, but how/where to enter the setpoint values.

I do like the way the iSense is doing it...

Create a schedule program, for example 'Normal', or 'Holiday',
Edit the schedule
Monday
07:00 Temp=20
10:00 Temp=15
17:30 Temp=20
22:00 Temp=15

Tuesday
....

Then you need to activate one of the schedule programs, for example when you go on holiday you activate the 'Holiday' program

That nice scheduler you have could work nicely for light/switches
Quality outlives Quantity!
pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: opentherm gateway

Post by pwhooftman »

I am really excited i have my OTGW running in Domoticz. I assembled it a few weeks ago and posted numerous requests on how to integrateit into Domoticz. Sadly nobody answered 'just upgrade' :)

Therefore maybe i'm asking obvious questions, sorry for that.

- is support for Maximum relative modulation level (MsgID=14) and Relative modulation level (MsgID=17) possible? My boiler reports those. I'll dive into the OTGW* files later in the hardware folder of Domoticz, just asking
- i would like to create a graph where multiple values are visible at once, mainly Boiler setpoint vs Thermostat setpoint vs Room temperature vs Modulation level. If anybody can give me pointers how to accomplish that, please tell
- what really would be cool is if logged values can be exported to Excel for further analysis. For instance, by adding a context option like this:

Image

I know my way around Linux, and can program-by-example a bit
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

Just a idea ;)

Give every temp a color

blue = 15
yellow = 19
orange = 20
pink = 21

then you select the temp color and then set the times
Attachments
temp
temp
ts.png (8.3 KiB) Viewed 4652 times
pwhooftman
Posts: 75
Joined: Monday 11 November 2013 18:04
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: opentherm gateway

Post by pwhooftman »

gizmocuz wrote:I connected my OTGW today...


- The Room SetPoint is now moved to the Utility Tab.


Rob
Not handy in my opinion, because now i cannot arrange the Room Setpoint along the other sensors (like the Boiler Setpoint and Room Temperature) on the Dashboard. I guess i could create a dummy temperature sensor to replicate the Room Setpoint, but thats a bit cumbersome.

Plus i cannot add the Room Setpoint to a custom graph to see it combination with Room Temperature.
Last edited by pwhooftman on Monday 27 January 2014 14:08, edited 1 time in total.
Domoticz v 1.16xx
1X RFXtrx433 USB 433.92MHz Transceiver Firmware version: 71
1X Synology Nas DS918+ DSM 7 (12Gb RAM mod)
alfred_j_kwak
Posts: 110
Joined: Friday 20 September 2013 18:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Finland
Contact:

Re: opentherm gateway

Post by alfred_j_kwak »

@sappien

Just liked to know why there should be colors instead of numbers?

-Jussi-
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

@Alfred

I think that's the best way to show it clearly..
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

gizmocuz wrote:Return Water temperature also does not display here (Remeha Advanta)
Not all boilers report everything...
The iSense doesn't request the return water temperature. To obtain that information from the boiler you have to add MsgID 28 to the list of alternatives (AA=28).

( take a look here http://www.domoticaforum.eu/viewforum.php?f=75 )
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

gizmocuz wrote: 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?

Setpoint Water (DHW = domestic hot water)

Control setpoint (MsgID=1) = Shows the current setpoint at this moment (this is controlled by the iSense)
Max CH water setpoint (MsgID=57) = The max water central heating temp
gizmocuz wrote: 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?
Stand-alone operation --> http://otgw.tclcode.com/standalone.html
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

So which setpoint you want to control next to the Room Setpoint?
- 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)
The two setpoints above we "can" conttrol, the Setpoint Water is clear (MsgID=56)
SetPoint Heating still confuses me what MsgID this is....

I like to see a simple and clear list for the schedules
Monday 08:00 20.0
Monday 10:00 15.7
Monday 17:30 20.0
Monday 22:15 15.7

Tuesday 08:00 20.0
Tuesday 10:00 15.7
Tuesday 17:30 20.0
Tuesday 22:15 15.7

..
Saturday 08:00 20.0
Saturday 23:15 15.7

I think that is very easy to understand, also think about people that are not good with colours

/Rob
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

Sappien wrote:
gizmocuz wrote:Return Water temperature also does not display here (Remeha Advanta)
Not all boilers report everything...
The iSense doesn't request the return water temperature. To obtain that information from the boiler you have to add MsgID 28 to the list of alternatives (AA=28).

( take a look here http://www.domoticaforum.eu/viewforum.php?f=75 )
I know the forum, but it's not easy to search for, and on the website (beta firmware) i cannot seem to find any AA= parameters,
If you set AA=28, how can you remove it, or setting multiple alternatives?
For Instance can i also set the MsgID=26 (DHW temperature) this is also 0 here?

Sorry for all the questions... maybe i do need to read all 14 pages of the OTGW forum...
Quality outlives Quantity!
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

gizmocuz wrote:So which setpoint you want to control next to the Room Setpoint?
The setpoint of the domestic water and the max Central heating water. Why? I don't use the boiler function, so my domestic water is set to 45C. But once a week a set it to 65C (to be sure of no legionella in the boiler)

The setpoint of the Central heating is set at 55 degrees in the morning (to heat up the second floor) but the rest of the day I use a lower temp (around 40C because of floor heating)
- 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)
MsgID=57, you can set it with the SH command.

The two setpoints above we "can" control, the Setpoint Water is clear (MsgID=56)
SetPoint Heating still confuses me what MsgID this is....
I like to see a simple and clear list for the schedules
Monday 08:00 20.0
Monday 10:00 15.7
Monday 17:30 20.0
Monday 22:15 15.7
Indeed
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

gizmocuz wrote:Sorry for all the questions...
Haha, no problem, I'm trying to help as much as I can/capable ;)
gizmocuz wrote: I know the forum, but it's not easy to search for, and on the website (beta firmware) i cannot seem to find any AA= parameters,
If you set AA=28, how can you remove it, or setting multiple alternatives?
AA=Data-ID
Add Alternative - Add the specified Data-ID to the list of alternative commands to send to the boiler instead of a Data-ID that is known to be unsupported by the boiler. Alternative Data-IDs will always be sent to the boiler in a Read-Data request message with the data-value set to zero. The table of alternative Data-IDs is stored in non-volatile memory so it will persist even if the gateway has been powered off. Data-ID values from 1 to 255 are allowed.
Examples: AA=33, AA=117

http://otgw.tclcode.com/firmware.html#configuration

The AA setting is a one time requirement for thermostats who dont request that ID.. The iSense is one of them...

Is it possible to create a button with a + - button for changing the temperature? Or a slider (just like a dimmer)?
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

version #1419
The two SetPoints are now in the Utility page, and you should be able to control them.

About the AA commando, it is very... very unclear to me...

I added ID's 26 (DHW Temperature) and 28 (Return Water Temperature)

Now i do get 28... 26 is still 0, maybe that is meant to be?

OR... is the AA command for only 1 MsgID? so my second AA=28 overruled the AA=26?

How to i undo my action? Image i did a AA=39 and i do not want this?
Will AA=0 clear this?

Is it possible to have 2 AA MsgId's to be polled?

It would be great if the opentherm website also mention what each value is exactly...
For instance, return water... whats this? Water coming back after send out?
Has it a relation to the DHW ? Is this the temperature of water sending out?

/Rob
Quality outlives Quantity!
Sappien
Posts: 114
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: opentherm gateway

Post by Sappien »

About the AA command

from [email protected] :
There is no command that lists the configured alternative data ID's. But you can infer them by looking for the messages prefixed with 'R' in the log. You can also test it using the DA command. If that returns NF, then the ID wasn't in the list. Of course, if it was in the list, the DA command has now removed it.
You can add multiple Alternatives.. But I just looked at mine, but It's also 0 (AA 26).. A while ago It worked fine.. So I've got to do some checks why it worked before..

The return water is the water whats going back in the boiler.. The boiler tries to get a dT=20C (so when the return water temp is 30 the burner temp wil be around 50C)

The DHW temp is probably the one from the boiler water.
terrarium
Posts: 12
Joined: Monday 16 December 2013 13:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: opentherm gateway

Post by terrarium »

Return and DWH temperatures show for me (Calenta 40C), can you try using the originial OTGW monitor to see if these values are reported by your boiler?[/quote
Will flash the original firmware tonight and report back.
I flashed the original firmware but the same error is there

Code: Select all

Error: Mon Jan 27 19:50:16 2014 OTGW Error: End of file
Also flashed the opentherm firmware to the Dlink but to no avail.

Any suggestions?
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: opentherm gateway

Post by gizmocuz »

terrarium wrote:
Return and DWH temperatures show for me (Calenta 40C), can you try using the originial OTGW monitor to see if these values are reported by your boiler?[/quote
Will flash the original firmware tonight and report back.
I flashed the original firmware but the same error is there

Code: Select all

Error: Mon Jan 27 19:50:16 2014 OTGW Error: End of file
Also flashed the opentherm firmware to the Dlink but to no avail.

Any suggestions?
What kind of opentherm gateway are you using with the TCP domoticz version?
I have the USB version, and using ser2net to make it available via TCP (configure it as RAW and no Banner)
I will monitor what is happening tonight/tomorrow, so far, no issue

Bdw, i am using a WIRED connection on my raspberry pi... you too?
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest