Page 1 of 1

transmit READ random OpenTherm message from OTGW

Posted: Fri Dec 01, 2023 1:18 pm
by duo.pendulum
Hi,

Is it possible to transmit(send) random READ OpenTherm message ?

Example:
Is there any serial command (or other way)
- to transmit READ MsgId17($11) - Relative Modulation Level
- to transmit READ MsgId28($1C) - Return Water Temperature

I tried to use command PS=1, PS=0 but no results

if I transmit READ message from master (by selecting `Info -> nodu` in BeSmart Thermostat), READ-ACK sent by boiler is catched by OTGW and displayed in otMonitor but how to force OTGW to send READ message to catch READ-ACK ?

More details:
-boiler: Beretta
-thermostat: BeSmart https://new.besmart-home.com/en

Re: transmit READ random OpenTherm message from OTGW

Posted: Fri Dec 01, 2023 9:37 pm
by duo.pendulum
Priority Message (PM) works as I need, so in my case

to transmit READ Relative Modulation Level
PM=17

to transmit READ Return Water Temperature
PM=28

Re: transmit READ random OpenTherm message from OTGW

Posted: Fri Dec 08, 2023 11:27 am
by duo.pendulum
one more thing, maybe someone will need it.
To send message over TCP socket i needed to send
"PM=17\r"

"PM=17" caused OTGW sent back
"PM: SE" - PM: Syntax Error

Re: transmit READ random OpenTherm message from OTGW

Posted: Fri Dec 08, 2023 5:25 pm
by hvxl
The documentation mentions: "Commands are terminated by a carriage return character. A line feed character is optional". As specified by RFC2234, the "internet standard newline" is CRLF. So, as long as your TCP connection uses the internet standard newline, you can just send commands as a line of text. If your socket only sends LF as the line ending, you will need to add a CR to your command.