Remeha Boiler/CV - logging data from serial port to ESP8266

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

I have a Remeha Calenta 40C and the built in serial port provides plenty of information on the boiler operations. I have built and installed the excellent Opentherm gateway and happily getting some information from it to manage my heating system. But, as always - I want more! Looking at the Remeha Recom software, there are a number of really useful additions to the standard Opentherm messages that would make it even better. Add the ability to plug in an ESP8266 directly to the boiler and you have an excellent management addition to your system. So far, I've managed to sniff the correct HEX string to poll the boiler for data and receive a response. Looking to create a LUA script to do this, but at a loss as to how to get this into Domoticz. Would I need to create a PR and look to add new 'Remeha' hardware which could/would be configured based on the model (Avanta, Calenta, Tzerra, etc. - although there are more sub models/versions per the Recom XML files)? Anybody been down this route or have any interest?
Last edited by rjblake on Thursday 19 January 2017 9:55, edited 1 time in total.
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

Quick update - having found some others (Robert Hekkers & Peter Maaswinkel) who had done similar elsewhere, I've managed to create/adapt/update a PHP script that connects to the ESP8266 and receives/decodes the information correctly from the Remeha Calenta 40C (results will vary by model). Have now added code to populate devices in Domoticz and all working correctly. CRC check has also been added. Total cost of €12.00 for hardware which gives me more options than my OTGW :)

For those who want the code as it stands, I have now added this to GitHub https://github.com/rjblake/remeha

Have made a few updates and now can decipher the following:
1. Identification
2. Configuration Parameters (I have not enabled the update as have not sorted the CRC checks/validation and a bit risky if wrong data is sent)
3. Samples
4. Counters

Some sample runs of the PHP scripts on my boiler as below:

IDENTIFICATION
=============================================================================================================================
PHP version: 7.0.21
Connected to XXX.XXX.XXX.XXX:YY
Sending request...
ID-01 read: 0200FE0648010B0A0D01FFFF191205040002FFFFFFFFFF0403FF01FFFFFFFFFFFFFFFFFFFFFFFF3134333131313032393932323020202043616C656E7461202020202020202020D92603
ID-02 read: 0201FE0618010B03191205320A0104160EE614424D08923E4B03
ID-03 read: 0203FE0618010B011523010C960304020E2C1437502855278103
Identification used: 0200FE0648010B0A0D01FFFF191205040002FFFFFFFFFF0403FF01FFFFFFFFFFFFFFFFFFFFFFFF3134333131313032393932323020202043616C656E746120202020202020202003191205320A0104160EE614424D0892011523010C960304020E2C1437502855
Data Integrity Good - CRCs Compute OK
=============================================================================================================================
Identification Information Received: 2017-11-02 10:16:23
================================================================================
Boiler Name: Calenta
dF-Code: 13
dU-Code: 1
Boiler Serial Number: 1232220299234
Software Version: 1.9
Parameter Version: 1.2
Parameter Type: 5
Next Service Type: A

PCU Device Type: 3
PCU Serial Number: 1442M0298
PCU Software Version: 1.9
PCU Parameter Version: 1.2
PCU Parameter Type: 5
PCU Operating Hours: 25620
PCU Connected SU Type: 1
PCU Connected PSU Type: 4
PCU Last Blocking Code: 22
PCU Last Locking Code: 14
Operating Voltage: 230 volts

SU Device Type: 1
SU Serial Number: 3714P2855
SU Software Version: 1.5
SU Parameter Version: 2.3
SU Parameter Type: 1
SU Operating Hours: 25776
SU Connected PCU Type: 3
SU Connected PSU Type: 4
SU Last Blocking Code: 2
SU Last Locking Code: 14
SU Last Internal Error: 44
================================================================================

PARAMETERS
=============================================================================================================================
PHP version: 7.0.21
Connected to XXX.XXX.XXX.XXX:YY
Sending request...
Param-01 read: 0200FE061810143C37010100020501FFFFFFFFFFFFFFFF862403
Param-02 read: 0200FE061810152A44114B28085AFF1414F10206F601143FF603
Param-03 read: 0200FE06181016040000010100000100000001AF1E23FFC10C03
Param-04 read: 0200FE06181017FFFFFFFFFFFFFFFFFFFFC80200232C36004403
Param-05 read: 0200FE061810180128465A3219051E0A1E030944442814BC4303
Param-06 read: 0200FE061810195039075405000F02050632190001B309523403
Param-07 read: 0200FE0618101A0078640A061E284B00FE0A000A640228227F03
Param-08 read: 0200FE0618101B1A010A05021428141E7A0A00FF000C1AE4CD03
Parameters used: 0200FE061810143C37010100020501FFFFFFFFFFFFFFFF2A44114B28085AFF1414F10206F60114040000010100000100000001AF1E23FFFFFFFFFFFFFFFFFFFFFFC80200232C360128465A3219051E0A1E0309444428145039075405000F02050632190001B3090078640A061E284B00FE0A000A6402281A010A05021428141E7A0A00FF000C1A
Data Integrity Good - CRCs Compute OK
=============================================================================================================================
Parameters Received: 2017-11-02 10:15:46
================================================================================
Max. Flow Temp. during CH mode: 60°C
Desired DHW temperature: 55°C
Switch On/Off CH/DHW Functions: 1
DHW Comfort Setting: 1:Always Off
Anticipation curent On/Off Thermostat: 0:No
Amount of Information to Display: 2:Automatic
Pump post run time: 5 minutes
Display Brightness: 1:High
Max Fanspeed during CH mode: 4200 rpm
Max Fanspeed during DHW mode: 6800 rpm
Max Fanspeed during CH+DHW mode: 1700 rpm
Offset on part load fanspeed: 75 rpm
Fanspeed at boiler start: 4000 rpm
Min. water pressure for notification: 0.8 bar
Max Flow temperature for CH: 90°C
Footpoint heating curve outside temperature: 20°C
Footpoint heating curve flow temperature: 20°C
Clima P outside temperature: -15°C
Pump Control - CH minimum speed: 20 %
Pump Control - CH maximum speed: 60 %
Minimum outside temperature for Frost Protection: -10°C
Anti-Legionella setting: 1:Yes
Setpoint raise at warming up of calorifier: 20°C
Switch on hysteresis calorifier sensor: 4°C
Three-way valve standby position: 0:CH
Boiler Type: 0:Combi
Blocking Input: 1:Blocking without Frost Protection
Release Input: 1:Burner Release
Release Wait time: 0 seconds
Fluegas valve Wait time: 0 seconds
Status Report: 1:Failure signal
Minimum Gas Pressure Detection: 0:No
HRU Connected: 0:No
Mains Live-Neutral phase Detection: 0:No
Service Notification for Boiler Dependent Maintenance: 1:ABC
Service Hours for Boiler connected to mains: 17500
Service Hours for Boiler Burner: 3000
Tau Factor for average flow temperature calculation: 35 seconds
DHW-in gradient for restart stabilisation time: 2°C/second
dT pump offset: 2°C
Offset Control temperature: 0°C
DHW Flow at minimum output power: 3.5 litres/minute
Number of de-airation cycles on startup: 1
Maximum gradient for decreasing modulation: 0.4
Maximum gradient for forced minimal load: 0.7
Maximum gradient for blocking: 0.9
Maximum temp difference between flow and return: 50°C
Modulate back when dT > this parameter: 25°C
Pump control, control range dT for CH: 5°C
Pump control, CH on start heatdemand: 30 %
Start hysteresis for CH: 10°C
Stabilisation time after burner start CH: 30 seconds
Minimum burner anti-cycle time: 3 minutes
Maximum burner anti-cycle time: 9 minutes
Absolute max fan speed CH: 6800 rpm
Absolute max fan speed DHW: 6800 rpm
Pump control, control range dT for DHW: 40°C
Pump control, DHW minimum speed: 20 %
Pump control, DHW maximum speed: 80 %
Pump control, DHW on start DHW demand: 57 %
Warm up interval for DHW after CH: 7 minutes
Time between warming up starts boiler: 84 minutes
Hysteresis when warming up for DHW comfort: 5°C
Offset when warming up for DHW comfort: 0°C
DHW start raise depending op DHW flow: 15
Switch on hysteresis DHW operation: 2°C
Offset DHW: 5°C
Temperature correction DHW for Tset, ww - Tret, plate heat exchanger: 6°C
%Tf/Tr for DHW control temperature at pumpspeed 20%: 50 %
%Tf/Tr for DHW control temperature at pumpspeed 100%: 25 %
Waiting time pump for preheat plate heat exchanger: 0 seconds
Postpump time DHW: 1 seconds
Correction factor DHW pulses to litres/minute: 179
Minimum DHW flow for DHW detection: 0.9 litres/minute
Type of Sensor for DHW detection: 0:DHW Flow Sensor
Factor for dynamic flow detection: 120
DHW stabilisation time for pump modulation: 10 seconds
DHW gradient for stabilisation time pump: 0.1°C/second
Range in which the DHW booster is diabled: 6°C
P factor for booster on start DHW: 30
P factor for feedforward on flow DHW: 40
P factor for booster on flowchanges DHW: 75
Switch off offset calorifier sensor: 0°C
Switch on delay DHW pump in comparison with boiler pump: -2°C
Post pump time DHW: 10 seconds
Prepurge time for burner start: 0 seconds
Postpurge time for burner stop: 10 seconds
Maximum flow temperature for blocking: 100°C
Tacho pulses per revolution of the fan: 2 /second
P factor fan speed contro: 40
I factor fan speed contro: 26
P factor CH control: 1
I factor CH control: 10
P factor for CH control when T1>setpoint: 5
I factor for CH control when T1>setpoint: 2
P factor DHW control: 20
I factor DHW control: 40
I factor for pump control on CH: 20
I factor for pump control on DHW: 30
RPM at theoretical 0KW: 122
Power output (KW) at theoretical 10,000rpm: 10 KW
PWM value red for normal display backlight: 0
PWM value green for normal display backlight: 0
PWM value blue for normal display backlight: 255
================================================================================

SAMPLES
=============================================================================================================================
PHP version: 7.0.21
Connected to XXX.XXX.XXX.XXX:YY
Sending request...
Sample Data read: 0201FE064802013C0F240F0080008080F300801211D607BC027C15D0070000000000BC020000000000000001C20B1000FFFF00000000FFFF1100BC020000000080000000000000CE9503
Data Integrity Good - CRCs Compute OK
=============================================================================================================================
Sample Data Received: 2017-11-02 10:15:15
================================================================================
Flow Temperature: 39.00°C
Return Temperature: 38.76°C
DHW-in Temperature: Open
Calorifier Temperature: Open
Outside Temperature: Open
Control Temperature: 7.00°C
Internal Setpoint: 7.00°C
CH Setpoint: 7.00°C
DHW Setpoint: 55.00°C
Room Temperature: 20.06°C
Room Temp. Setpoint: 20.00°C
Boiler Control Temperature: 43.70°C
Solar Temperature: Open

Fan Speed setpoint: 0rpm
Fan Speed: 0rpm
Ionisation Current: 0.0μA
Pump Speed: 0%
Hydro Pressure: 1.7bar
DHW Flow rate: 0.00litres/minute
Desired Max.Power from controller: 0%
Output: 0%
Actual Power from boiler: 0%

Valve Flags: 00001011
Gas Valve[0]: 1:Closed
Ignition[2]: 0:Off
3-Way Valve[3]: 1:DHW
External 3-Way Valve[4]: 0:Open
External Gas Valve[6]: 0:Open

Pump Flags: 00010000
Pump[0]: 0:Off
Calorifier Pump[1]: 0:Open
External CH Pump[2]: 0:Off
Status Report[4]: 1:Closed
Opentherm Smart Power[7]: 0:Off

Input Flags: 11000010
Shut down Input[0]: 0:Closed
Release Input[1]: 1:Open
Ionisation[2]: 0:No
Flow Switch Detecting DHW[3]: 0:Open
Minimum Gas Pressure[5]: 0:Open
CH Enable[6]: 1:Yes
DHW Enable[7]: 1:Yes

Heat Request Flags: 00000001
Mod.controller Connected[0]: 1:Yes
Heat Demand from Modulating Controller[1]: 0:No
Heat Demand from ON/OFF controller[2]: 0:No
Heat Demand from Frost Protection[3]: 0:No
DHW Eco[4]: 0:Yes
DHW Blocking[5]: 0:No
Heat Demand from Anti Legionella[6]: 0:No
Heat Demand from DHW[7]: 0:No

HRU Flags: 00000000
HRU Active: 0:Open

Combined State/Sub-State: 0:Standby/0:Standby

Lockout/Blocking: No Locking/No Blocking
Boiler fault: False
Flame is: Off - Off - Off
================================================================================
Last Update:2017-11-02 10:13:19 Time Now:2017-11-02 10:15:15 Elapsed:1.93
Update Changes Only: Domoticz Update:1 Update All:0
================================================================================

COUNTERS
================================================================================
PHP version: 7.0.21
Connected to XXX.XXX.XXX.XXX:YY
Sending request...
Counter Data-1 read: 0200FE0618101C04652E3F03660061320A01AD01470CE61E9C03
Counter Data-2 read: 0200FE0618101D0DFC00040002000000000000000000005E6503
Counter Data-3 read: 0200FE0618101E00000000000000000000000000000000937D03
Counter Data-4 read: 0200FE0618101F00000000000000000000000000000000C2ED03
Data Integrity Good - CRCs Compute OK
================================================================================
Counters Received: 2017-11-02 10:14:34
================================================================================
Hours run pump CH+DHW: 2250 hours
Hours run 3-way valve DHW: 23678 hours
Hours run CH+DHW: 1740 hours
Hours run DHW: 97 hours
Power Supply available hours: 25620 hours
Pump starts CH+DHW: 3432 starts
Number of 3-way valve cycles: 2616 cycles
Burner Starts DHW: 26416 starts
Total Burner Starts CH+DHW: 28640 starts
Failed burner starts: 4 starts
Number of flame loss: 2 times
================================================================================
Last Update:2017-11-02 10:00:35 Time Now:2017-11-02 10:14:34 Elapsed:13.98
Update Changes Only: Domoticz Update:1 Update All:0
================================================================================
Last edited by rjblake on Thursday 02 November 2017 10:30, edited 1 time in total.
knny
Posts: 4
Joined: Tuesday 24 January 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by knny »

How to get this working in Domoticz?
I have a Remeha Tzerra with working FTDI cable and a raspberry Pi with Domoticz
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

knny wrote:How to get this working in Domoticz?
I have a Remeha Tzerra with working FTDI cable and a raspberry Pi with Domoticz
The PHP is written to communicate using the telnet port on the ESP. You'd need to change the code to work over USB. I'm not sure if the hex codes are the same for the Tzerra as they are for the Calenta, but you can try the PHP scripts (on github) I created. You need PHP on the Pi to run them. Best is to run the Recom software first to check the hex being sent to the Tzerra, check whick Recom XML file it is using and you may need to do some mapping. The quickest check is to run the remeha.php (php -f remeha.php) from a terminal window after you have edited the .ini file with your IP address etc.
knny
Posts: 4
Joined: Tuesday 24 January 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by knny »

rjblake wrote:
knny wrote:How to get this working in Domoticz?
I have a Remeha Tzerra with working FTDI cable and a raspberry Pi with Domoticz
The PHP is written to communicate using the telnet port on the ESP. You'd need to change the code to work over USB. I'm not sure if the hex codes are the same for the Tzerra as they are for the Calenta, but you can try the PHP scripts (on github) I created. You need PHP on the Pi to run them. Best is to run the Recom software first to check the hex being sent to the Tzerra, check whick Recom XML file it is using and you may need to do some mapping. The quickest check is to run the remeha.php (php -f remeha.php) from a terminal window after you have edited the .ini file with your IP address etc.
I'm not a programmer, so I have to wait till someone writes a script working for al Remeha's to work with Domoticz :roll:
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

knny wrote:
rjblake wrote:
knny wrote:How to get this working in Domoticz?
I have a Remeha Tzerra with working FTDI cable and a raspberry Pi with Domoticz
The PHP is written to communicate using the telnet port on the ESP. You'd need to change the code to work over USB. I'm not sure if the hex codes are the same for the Tzerra as they are for the Calenta, but you can try the PHP scripts (on github) I created. You need PHP on the Pi to run them. Best is to run the Recom software first to check the hex being sent to the Tzerra, check whick Recom XML file it is using and you may need to do some mapping. The quickest check is to run the remeha.php (php -f remeha.php) from a terminal window after you have edited the .ini file with your IP address etc.
I'm not a programmer, so I have to wait till someone writes a script working for al Remeha's to work with Domoticz :roll:
It will be difficult/near to impossible to do without have a Tzerra to test this with unfortunately as Remeha does not publish the technical documentation required to communicate with the CV. Only through sniffing the packets to/from the CV is this possible. Once certain parameters are known, it is a matter of mapping these to some XML files (that are readily available from the Remeha Recom software) to decode the information into something that can be translated for Domoticz or other purposes. As suggested, you should try this with at least the Recom software or simply run the existing scripts. If you get responses from the scripts, it is a good start. A better position to be in after this is to know what XML file matches your CV - that way the scripts can easily be modified to suit your specific model CV. Also, using an ESP8266 plugged directly into the CV would mean that no rewrite is needed for the Telnet vs. USB communications and you can buy these for between €5-12 so a cheap option
knny
Posts: 4
Joined: Tuesday 24 January 2017 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by knny »

rjblake wrote:
knny wrote:
rjblake wrote:
The PHP is written to communicate using the telnet port on the ESP. You'd need to change the code to work over USB. I'm not sure if the hex codes are the same for the Tzerra as they are for the Calenta, but you can try the PHP scripts (on github) I created. You need PHP on the Pi to run them. Best is to run the Recom software first to check the hex being sent to the Tzerra, check whick Recom XML file it is using and you may need to do some mapping. The quickest check is to run the remeha.php (php -f remeha.php) from a terminal window after you have edited the .ini file with your IP address etc.
I'm not a programmer, so I have to wait till someone writes a script working for al Remeha's to work with Domoticz :roll:
It will be difficult/near to impossible to do without have a Tzerra to test this with unfortunately as Remeha does not publish the technical documentation required to communicate with the CV. Only through sniffing the packets to/from the CV is this possible. Once certain parameters are known, it is a matter of mapping these to some XML files (that are readily available from the Remeha Recom software) to decode the information into something that can be translated for Domoticz or other purposes. As suggested, you should try this with at least the Recom software or simply run the existing scripts. If you get responses from the scripts, it is a good start. A better position to be in after this is to know what XML file matches your CV - that way the scripts can easily be modified to suit your specific model CV. Also, using an ESP8266 plugged directly into the CV would mean that no rewrite is needed for the Telnet vs. USB communications and you can buy these for between €5-12 so a cheap option
OK, I have a working FTDI rj10 to usb cable right now. It is recognised in Recom software so that's running fine.
I have found a ESP8266 module with USB port already included. I assume that my rj10 to USB cable gives it his power then.
This is the device https://www.kiwi-electronics.nl/adafrui ... p8266-wifi
With that I can try to run the php files you made?

Image
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

Nope - wrong ESP - you'll want this one: https://www.kiwi-electronics.nl/adafrui ... ruit%20esp. You'll need an RJ10 cable to connect to the ESP8266, suggest loading it with the ESP-Link software (you'll need and FTDI cable /FTDI friend to do this) and from there you should be fine (see here http://domoticz.com/forum/viewtopic.php ... it#p107074. With the Recom software running and connecting to the CV, what does it say in the lower right corner? This is the same name as the XML file, which will give me some clues as to the format of the responses at least
Pvhpsb
Posts: 15
Joined: Tuesday 20 January 2015 13:38
Target OS: NAS (Synology & others)
Domoticz version:
Location: Prinsenbeek
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by Pvhpsb »

I also started this project, but when I start remeha.php, I get data back with crc errors
When I work with Recom, I get the message Pcu-05 (P3)
Someone may have a tip?
Regards,
Patrick
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

Patrick - what model Remeha do you have?

Ignore - forgot you'd sent a PM about your Tzerra
barak
Posts: 3
Joined: Tuesday 07 November 2017 15:10
Target OS: Windows
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by barak »

@rjblake

Hi,
first of all my english is bad but i hope you understand me :)
i can't write pm because of my new membership here :(
I try to copy your awesome work with ESP8266 Connection to remeha on github. (Connect ESP8266 directly to Remeha CV/Boiler to read data using PHP)
The Adafruit HUZZAH ESP8266 is flashed but my remeha is not a calenta, it is a AvantaComfort. Recom Software shows "Avanta Comfort V1(P2)".
my question: where do you find the hex codes transmit to remeha in remeha.ini under [Remeha Settings] ?

thank you very much for your hard work!
regards
Adam

I have posted this
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rjblake »

barak wrote: Saturday 11 November 2017 9:12 @rjblake

Hi,
first of all my english is bad but i hope you understand me :)
i can't write pm because of my new membership here :(
I try to copy your awesome work with ESP8266 Connection to remeha on github. (Connect ESP8266 directly to Remeha CV/Boiler to read data using PHP)
The Adafruit HUZZAH ESP8266 is flashed but my remeha is not a calenta, it is a AvantaComfort. Recom Software shows "Avanta Comfort V1(P2)".
my question: where do you find the hex codes transmit to remeha in remeha.ini under [Remeha Settings] ?

thank you very much for your hard work!
regards
Adam

I have posted this
Adam - I've sent you an email to the question from GitHub. the HEX codes to send for the various functions are in the INI file under the [Remeha Settings] section. I do not know these for the Avanta Comfort, so you will have to do some sniffing on the serial port while using Recom to see what they are for the various functions (Identification, Samples, Counters, Parameters) and also edit the various PHP files to match the responses with the XML file for the V1(P2) model.
barak
Posts: 3
Joined: Tuesday 07 November 2017 15:10
Target OS: Windows
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by barak »

Hi,

thx, i will try to sniff some hex codes but i think i am not able to understand the answer (even with the xml file)...
bgitmans
Posts: 11
Joined: Thursday 20 August 2015 22:19
Target OS: OS X
Domoticz version: 3.5166
Location: Boxtel, the Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by bgitmans »

I have also an Remeha Tzerra boiler, and I want to connect it to Domoticz as well.

I already found that the Tzerra is a PCU-05_P3 machine as defined in the xml files of RECOM.
However now I would need some help with the reverse engineering of the work already done for the Calenta.
I will start with using Wireshark to log the communication between RECOM and the boiler.
bolderbast
Posts: 7
Joined: Thursday 06 September 2018 17:39
Target OS: Linux
Domoticz version: 4.10717
Location: The Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by bolderbast »

Hi Richard,

I love your project and I'm trying to implement it for myself as well. However, I have an issue which I hope you are able te help me with.

Already done:

Soldered dupont connectors to a RJ10 cable
Flashed ESP-Link software (took the same version you mentioned, even though a newer one was available
Connected to the ESP-Link through it's AP network and configured it for my network
Connected to the ESP-Link through it's IP address on my network
Connected the HUZZAH to the boiler (Remeha Calenta C40) using the pinout you specified
Tested to see if I could get a telnet connection to the device -> can make a connection
Set the parameters in the ini file of your script
Ran the script with the following output:

Code: Select all

# php -f remeha.php
======================================================================================================================================================================
PHP version: 7.3.6
Connected to 10.4.6.10:23
Sending request...
Sample Data read: 
Data written to log: /var/log/remeha_sample_data.log

************** CRC ERROR!!!! ***********
Any idea what I might be doing wrong?
Justino
Posts: 19
Joined: Thursday 14 January 2016 19:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10548
Location: The Netherlands
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by Justino »

Did anyone have success to get this working on an Avanta V1 (P3)?
insane
Posts: 1
Joined: Monday 07 October 2019 14:49
Target OS: -
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by insane »

Code: Select all

[2J====================================================================================================================================================================== PHP version: 7.0.33-0+deb9u5 Connected to 192.168.178.92:23 Sending request... Sample Data read: 0201FE06480201A40B860B0080008080F30080F80C0000E803701700000000000000BC020000006400000001C2031000FFFF00404000FFFF1000BC02000000008040404040000008DF03 Data Integrity Good - CRCs Compute OK ====================================================================================================================================================================== Sample Data Received: 2019-10-07 14:41:11 ================================================================================ Flow Temperature: 29.80°C Return Temperature: 29.50°C DHW-in Temperature: Open Calorifier Temperature: Open Outside Temperature: Open Control Temperature: 7.00°C Internal Setpoint: 7.00°C CH Setpoint: 10.00°C DHW Setpoint: 60.00°C Room Temperature: 0.00°C Room Temp. Setpoint: 0.00°C Boiler Control Temperature: 33.20°C Solar Temperature: Open Fan Speed setpoint: 0rpm Fan Speed: 0rpm Ionisation Current: 0.0μA Pump Speed: 0% Hydro Pressure: 1.6bar DHW Flow rate: 0.00litres/minute Desired Max.Power from controller: 100% Output: 0% Actual Power from boiler: 0% Valve Flags: 00000011 Gas Valve[0]: 1:Closed Ignition[2]: 0:Off 3-Way Valve[3]: 0:CH External 3-Way Valve[4]: 0:Open External Gas Valve[6]: 0:Open Pump Flags: 00010000 Pump[0]: 0:Off Calorifier Pump[1]: 0:Open External CH Pump[2]: 0:Off Status Report[4]: 1:Closed Opentherm Smart Power[7]: 0:Off Input Flags: 11000010 Shut down Input[0]: 0:Closed Release Input[1]: 1:Open Ionisation[2]: 0:No Flow Switch Detecting DHW[3]: 0:Open Minimum Gas Pressure[5]: 0:Open CH Enable[6]: 1:Yes DHW Enable[7]: 1:Yes Heat Request Flags: 00000001 Mod.controller Connected[0]: 1:Yes Heat Demand from Modulating Controller[1]: 0:No Heat Demand from ON/OFF controller[2]: 0:No Heat Demand from Frost Protection[3]: 0:No DHW Eco[4]: 0:Yes DHW Blocking[5]: 0:No Heat Demand from Anti Legionella[6]: 0:No Heat Demand from DHW[7]: 0:No HRU Flags: 00000000 HRU Active: 0:Open Combined State/Sub-State: 0:Standby/0:Standby Lockout/Blocking: No Locking/No Blocking Flame is: Off - Central Heating is: Off - Domestic Hot Water is: Off Boiler fault: False ================================================================================ Last Update: Time Now:2019-10-07 14:41:11 Elapsed:26,174,201.18
Hello

i get some Information from my heater.

But how can i add these values to domoticz?
rxrx
Posts: 1
Joined: Friday 08 November 2019 16:39
Target OS: -
Domoticz version:
Contact:

Re: Remeha Boiler/CV - logging data from serial port to ESP8266

Post by rxrx »

rjblake wrote: Sunday 08 January 2017 18:05 For those who want the code as it stands, I have now added this to GitHub https://github.com/rjblake/remeha
Just to be sure - there is no way to control heat demand (CV/HW on/off) via this interface, is there?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest