Giter VIP home page Giter VIP logo

irt-esp's Introduction

IRT-ESP

IRT-ESP is a project to build an electronic controller circuit using an Espressif ESP8266 micro controller to communicate with iRT based Boilers from the Nefit Ecomline HR Classic range and compatibles such as Buderus.

This project is a fork of the Proddy EMS-ESP project.

It can operate in two modes: active and passive. In passive mode it just decodes iRT messages and report the status via MQTT or the build-in web interface. In active mode it can maintain a set water temperature, but this is a work in progress. Currently the only supported hardware is a modified EMS Bus gateway from BBQKees. Without the hardware modification it will not work !

For more information about the iRT protocol have a look at the wiki.

Supported features

In passive mode the firmware can decode the water temperature, if the boiler is running, what mode: heating or warm water, and if the pump is running.

In the (very experimental) active mode it will start the burner and sets a max water temp. The burner power is a fixed value depended on the water temperature you set, 'set_water 35' will set a maximum water temperature of 35 degrees Celsius and a very low burner power. 'set_water 90' will run the boiler at full power and a maximum water temperature of 90 degrees Celsius.

Please keep in mind this software is highly experimental. It works on my boiler, it may not work on yours. The active mode can seriously damage your boiler, for example running it at full power for extended time. Always monitor your boiler when running in active mode !

But if it does not work, create a log file (log j), create a ticket, and I will see what I can do.

Building the software

For building the software, have a look at the EMS-ESP wiki.

First start, passive mode

Because the software is kept compatible with the EMS-ESP, the TX-Mode needs to be set on the first run. Telnet to the device and issue the following commands:

set tx_mode 4

restart

The device will now restart, if the device is back. Reconnect and enable logging (log j). The output should look like this:

log j

System Logging set to Jabber mode
(00:56:43.985) irt_parseTelegram: 00 05 35: 01 01 FE 90 90 E6 E6 D0 D0 2E 2E CF 30 82 82 6B 6B B8 B8 86 86 00 FF A3 A3 07 07 D3 D3 CA CA 03 FC A4 A4 7D 7D AC AC DC DC 2A D5 8A 8A A1 A1 98 98 83 83 FE 01 
(00:56:48.985) irt_parseTelegram: 00 05 35: 01 01 FE 90 90 40 40 5A 5A 61 61 CF 30 93 93 73 73 0E 0E 4D 4D FF 00 C9 C9 C3 C3 79 79 AB AB 00 FF F0 F0 01 01 CD CD ED ED 00 FF F0 F0 01 01 D8 D8 B9 B9 05 FA 
(00:56:54.025) irt_parseTelegram: 00 05 35: 01 01 FE 90 90 C3 C3 79 79 F2 F2 CF 30 82 82 C3 C3 79 79 E0 E0 00 FF A3 A3 C3 C3 79 79 C1 C1 03 FC A4 A4 C3 C3 79 79 C6 C6 2A D5 8A 8A C3 C3 79 79 E8 E8 FE 01 
(00:56:59.065) irt_parseTelegram: 00 05 35: 01 01 FE 90 90 C3 C3 79 79 F2 F2 CF 30 81 81 C3 C3 79 79 E3 E3 51 AE 86 86 C3 C3 79 79 E4 E4 E9 16 85 85 C3 C3 79 79 E7 E7 74 8B 83 83 C3 C3 79 79 E1 E1 A0 5F 
(00:57:03.625) irt_parseTelegram: 00 05 35: 01 01 FE 90 90 C3 C3 79 79 F2 F2 CF 30 82 82 C3 C3 79 79 E0 E0 00 FF A3 A3 C3 C3 79 79 C1 C1 03 FC A4 A4 C3 C3 79 79 C6 C6 2A D5 8A 8A C3 C3 79 79 E8 E8 FE 01 

First start, active mode

In order to work in active mode the IRT-EMS-ESP should be the only device on the bus ! Telnet to the device and issue the following commands:

set tx_mode 5

restart

The device will now restart, if the device is back. Reconnect and enable logging (log j). The output should look like this:

log j

System Logging set to Jabber mode
(00:00:14.769) irt_rawTelegram: 00 05 01: 00  - "."
(00:00:14.869) irt_rawTelegram: 00 05 01: 01  - "."
(00:00:14.990) irt_rawTelegram: 00 05 01: 02  - "."
(00:00:15.110) irt_rawTelegram: 00 05 01: 03  - "."
(00:00:15.230) irt_rawTelegram: 00 05 01: 00  - "."
(00:00:15.288) irt_tx: 01 05 1E: 90 A5 F0 28 00 00 82 A5 F0 3A 00 00 A3 A5 F0 1B 00 00 A4 A5 F0 1C 00 00 8A A5 F0 32 00 00
(00:00:15.330) irt_rawTelegram: 00 05 01: 01  - "."
(00:00:15.450) irt_rawTelegram: 00 05 01: 02  - "."
(00:00:15.570) irt_rawTelegram: 00 05 01: 03  - "."
(00:00:15.670) irt_rawTelegram: 00 05 01: 00  - "."
set(00:00:16.571) irt_rawTelegram: 00 05 35: 01 01 FE 90 90 A5 A5 F0 F0 28 28 67 98 82 82 A5 A5 F0 F0 3A 3A 00 FF A3 A3 A5 A5 F0 F0 1B 1B 03 FC A4 A4 A5 A5 F0 F0 1C 1C 20 DF 8A 8A A5 A5 F0 F0 32 32 FE 01
| 81:35 82:00 83:A0 85:74 86:E9 8A:FE 90:67 A3:03 A4:20   0H

Set the desired water temerature (set_water 30) and change the logging to only show the status line (log s):

log s

System Logging set to Solar Module only
01:35 04:00 05:04 07:00 11:FF 14:00 15:04 17:FF 73:52 78:05 | 81:35 82:00 83:A0 85:74 86:E9 8A:FE 90:67 93:00 A3:03 A4:1F A6:1E C9:05 E8:05 ED:00   0H
Starting scheduled query from EMS devices
01:35 04:00 05:04 07:00 11:FF 14:00 15:04 17:FF 73:52 78:01 | 81:35 82:00 83:A0 85:74 86:E9 8A:FE 90:67 93:00 A3:03 A4:1F A6:1E C9:05 E8:05 ED:00   0H

set_water 30

Irt set water temp, wc 1

Water temp set to 30 (1e)
01:35 04:00 05:04 07:69 11:FF 14:00 15:04 17:FF 73:52 78:07 | 81:35 82:00 83:A0 85:74 86:E9 8A:FE 90:67 93:00 A3:03 A4:1F A6:1E C9:05 E8:05 ED:00   0H
01:23 04:00 05:04 07:75 11:FF 14:00 15:04 17:FF 73:52 78:05 | 81:35 82:84 83:00 85:04 86:E9 8A:FE 90:67 93:00 A3:53 A4:24 A6:1D C9:02 E8:05 ED:00   -H
01:23 04:00 05:04 07:75 11:FF 14:00 15:04 17:FF 73:52 78:05 | 81:35 82:84 83:00 85:04 86:E9 8A:FE 90:67 93:00 A3:53 A4:24 A6:1D C9:01 E8:05 ED:00   -H

Hardware change needed

The software runs on a modified EMS Bus Wi-Fi Gateway. In short; Remove the 100 KOhm resistor (R5) to ground en replace it with a 1.5 MOhm resistor to 5 Volt. Without the modification it will not work !

The 1.5 MOhm resistor works for my setup where the Thermostat is 5 meters a way from the boiler. This value may have to be adapted for different distances.

I adapted BBQKees's schematic to show the change: Modified Schematic

BBQKees also sells an already modified interface board.

irt-esp's People

Contributors

bonusbartus avatar codacy-badger avatar egrekov avatar geezerrr avatar gert05 avatar gl3nni3 avatar glennarens avatar klstanie avatar neonox31 avatar peclik avatar proddy avatar reenx avatar rknall avatar victor-mo avatar vuego123 avatar xeyame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

irt-esp's Issues

Building issue

Question
Building issue:

> Executing task in folder IRT-ESP: pio run <

Processing debug (board: d1_mini; framework: arduino; platform: espressif8266)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
** Building web...
node ./tools/webfilesbuilder/node_modules/gulp/bin/gulp.js --silent --cwd ./tools/webfilesbuilder
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home/jperquin/Documents/PlatformIO/Projects/IRT-ESP/tools/webfilesbuilder/node_modules/gulp/bin/gulp.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
*** Error 1
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (2.6.2) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 3.20704.0 (2.7.4) 
 - tool-esptool 1.413.0 (4.13) 
 - tool-esptoolpy 1.20800.0 (2.8.0) 
 - toolchain-xtensa 2.40802.200502 (4.8.2)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ strict
Found 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <CircularBuffer> 1.3.3+sha.ad93ca1
|-- <OneWire> 2.3.5+sha.8539273
|-- <ESP Async WebServer> 1.2.3+sha.f6fff3f
|   |-- <ESPAsyncTCP> 1.2.2
|   |   |-- <ESP8266WiFi> 1.0
|   |-- <Hash> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <ArduinoJson> 6.14.1
|-- <ESPAsyncUDP> 0.0.0+sha.697c75a
|-- <uuid-common> 1.1.0
|-- <uuid-log> 2.1.1
|   |-- <uuid-common> 1.1.0
|-- <uuid-syslog> 2.0.4
|   |-- <uuid-common> 1.1.0
|   |-- <uuid-log> 2.1.1
|   |   |-- <uuid-common> 1.1.0
|   |-- <ESP8266WiFi> 1.0
|-- <JustWifi> 2.0.2
|   |-- <ESP8266WiFi> 1.0
|-- <AsyncMqttClient> 0.8.2
|   |-- <ESPAsyncTCP> 1.2.2
|   |   |-- <ESP8266WiFi> 1.0
|-- <EEPROM_Rotate> 0.9.2
|   |-- <EEPROM> 1.0
|-- <ArduinoJson> 6.14.1
|-- <ESPAsyncTCP> 1.2.2
|   |-- <ESP8266WiFi> 1.0
|-- <ArduinoOTA> 1.0
|   |-- <ESP8266WiFi> 1.0
|   |-- <ESP8266mDNS> 1.2
|   |   |-- <ESP8266WiFi> 1.0
|-- <ESP8266WiFi> 1.0
|-- <Ticker> 1.0
Building in debug mode
LINKFLAGS = -T eagle.flash.4m1m.ld -nostdlib -Wl,--no-check-sections -Wl,-static -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -u app_entry -u _printf_float -u _scanf_float -u _DebugExceptionVector -u _DoubleExceptionVector -u _KernelExceptionVector -u _NMIExceptionVector -u _UserExceptionVector -Og -g2 -ggdb2s
Compiling .pio/build/debug/src/MyESP.cpp.o
Compiling .pio/build/debug/src/Ntp.cpp.o
Compiling .pio/build/debug/src/ems-esp.cpp.o
Compiling .pio/build/debug/src/ems_utils.cpp.o
In file included from src/MyESP.cpp:10:0:
src/MyESP.h:60:32: fatal error: webh/myesp.html.gz.h: No such file or directory
 #include "webh/myesp.html.gz.h"
                                ^
compilation terminated.
*** [.pio/build/debug/src/MyESP.cpp.o] Error 1
In file included from src/Ntp.cpp:6:0:
src/MyESP.h:60:32: fatal error: webh/myesp.html.gz.h: No such file or directory
 #include "webh/myesp.html.gz.h"
                                ^
compilation terminated.
*** [.pio/build/debug/src/Ntp.cpp.o] Error 1
In file included from src/ems_utils.h:11:0,
                 from src/ems_utils.cpp:9:
src/MyESP.h:60:32: fatal error: webh/myesp.html.gz.h: No such file or directory
 #include "webh/myesp.html.gz.h"
                                ^
compilation terminated.
*** [.pio/build/debug/src/ems_utils.cpp.o] Error 1
In file included from src/ems-esp.cpp:13:0:
src/MyESP.h:60:32: fatal error: webh/myesp.html.gz.h: No such file or directory
 #include "webh/myesp.html.gz.h"
                                ^
compilation terminated.
*** [.pio/build/debug/src/ems-esp.cpp.o] Error 1
==================================================================================== [FAILED] Took 1.34 seconds ====================================================================================

Environment    Status    Duration
-------------  --------  ------------
debug          FAILED    00:00:01.335
=============================================================================== 1 failed, 0 succeeded in 00:00:01.335 ===============================================================================
The terminal process "pio 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Additional context
Any help is appreciated in completing the proper build environment. It looks like the webh directory needs to be populated..

Great projekt. Will save my investment :), if...

Hi,

A while ago I bought an EMS-ESP expecting it to work with my boiler. Unfortunately I found that the boiler only supports iRT, so I put the gateway away. By chance, I stumbled upon your project, which looks promising!

I just wondered if it's possible for you to provide a compiled .bin for the D1 mini? I can't seem to get PlatformIO, VSC etc. to work, so instead of wasting my time on all those components, I'd rather play around with your SW and the boiler :)

How to compile the firmware in Gitpod?

Dear Victor,

I'm trying to compile the firmware with the help of Gitpod.
I'm famliar with Tasmota and it works pretty easy to run one's own compiled firmware in Gitpod.

Is there something similiar possible with your software?
In Tasmota the following works well:
paltformio run - tasmota
A file called firmware.bin is then provided which can be downloaded and flashed to a Wemos D1 mini.

A compiled bin-file would also work if I could download it or you may send it.

Best Regards
Gisbert

Succesful installation, but webgui is displayed but does not respond

I managed to install on my Wemos D1 mini with the help of the "trick" referenced below.

Then I can connect to the WiFi AP, and open the web interface, but it does not respond to any setting I try to change.

The reason seems to be this error:
myesp.js:formatted:420 WebSocket connection to 'ws://192.168.4.1/ws' failed: Could not decode a text frame as UTF-8.

I also see this error, but I think that this is less important:

GET http://192.168.4.1/fonts/glyphicons-halflings-regular.woff2 net::ERR_ABORTED 404 (Not Found)

EDIT:

I managed to change the WiFi settings (one by one) using Telnet. After that my device did connect successfully with my WiFi AP. After this the web interface works!!! Only the glyphicons-halflings-regular.woff2 error still exists, but doesn't seem to do any harm. So as far as I'm concerned it is OK.
Now waiting for the modified interface board I ordered to arrive.

In addition:

When installing with the verbose option I see this:
Platform incompatible library C:\Users\Niek\.platformio\penv\Scripts\.pio\libdeps\release\AsyncTCP More details about "Library Compatibility Mode": https://docs.platformio.org/page/librarymanager/ldf.html#ldf-compat-mode
Found 48 compatible libraries
Scanning dependencies...
Warning: Ignored AsyncTCPdependency forESP Async WebServer library
Warning: Ignored AsyncTCPdependency forAsyncMqttClient library

Quote:
The web builder has been upgraded to use Gulp 4. Remove tools/webfilesbuilder/node_modules and re-install the libraries using npm ci from within the tools/webfilesbuilder folderFound it!

  • The web builder has been upgraded to use Gulp 4. Remove tools/webfilesbuilder/node_modules and re-install the libraries using npm ci from within the tools/webfilesbuilder folder

Originally posted by @jperquin in #9 (comment)

Active IRT-ESP and thermostat usage

Would it be possible to use this firmware to monitor my iRT installation and occasionally control the temperature of my heating while keep on using the thermostat?

Outside temperature not reported correctly

Looking at the latest changes to outside temperature, I can add my experience with my boiler and ModuLine 400.
The outside temperature reported by moduline and irt-esp are not the same. Moduline right now reports 3 degrees, irt-esp claims 2. At higher temperatures, the difference becomes bigger.
Running on version 1.9.10.20110420. Does the changes done in irt-esp need to be different for the ModuLine 400?

No valid data?

Hello,

I've received an iRT board from bbqkees with the Wemos installed but I can't seem to get valid data out of the system. The ESP has IRT-ESP version 1.9.8.20073113 pre-flashed. I've set txmode 4 but otherwise everything is the default.

I have a Buderus system: a Logamax plus GB112 (looks like an UBA 1.5), a Logamatic 4121 controller, a MEC2 remote control/thermostat installed inside the heated area, connected to the controller with approx 5 m of a twisted pair of thick stranded wire, and the solar module. I've tried tapping the wire pair going to the thermostat, directly connecting the esp module to the controller's "thermostat port" and connecting only the esp module to the "thermostat port".

I've tried "reversing the polarity" (I'm not sure whether that matters).

I do not get any valid data any way, just CRC errors. When the MEC2 is connected, log j shows a lot of telegrams: (otherwise just a couple short ones)

(00:08:47.679) irt_rawTelegram: 01: 00
(00:08:47.688) irt_rawTelegram: 01: 00
(00:08:47.697) irt_rawTelegram: 01: 00
(00:08:47.706) irt_rawTelegram: 01: 00
(00:08:47.714) irt_rawTelegram: 01: 00
(00:08:47.743) irt_rawTelegram: 05: 80 80 F8 78 80
(00:08:47.744) irt_otherTelegram: 05: 80 80 F8 78 80
(00:08:47.870) irt_rawTelegram: 06: 80 80 80 80 F8 80
(00:08:47.871) irt_otherTelegram: 06: 80 80 80 80 F8 80
(00:08:47.879) irt_rawTelegram: 01: 00
(00:08:47.888) irt_rawTelegram: 01: 00
(00:08:47.897) irt_rawTelegram: 01: 00
(00:08:47.906) irt_rawTelegram: 01: 00
(00:08:47.914) irt_rawTelegram: 01: 00
(00:08:47.943) irt_rawTelegram: 04: 80 F8 78 80
(00:08:47.944) irt_otherTelegram: 04: 80 F8 78 80
(00:08:48.062) irt_rawTelegram: 02: 80 80
(00:08:48.062) irt_crcErr1: 02: 80 80
(00:08:48.070) irt_rawTelegram: 01: 00
(00:08:48.075) irt_rawTelegram: 01: 00
(00:08:48.079) irt_rawTelegram: 01: 00
(00:08:48.088) irt_rawTelegram: 01: 00
(00:08:48.100) irt_rawTelegram: 01: 78
(00:08:48.114) irt_rawTelegram: 03: 78 80 F8
(00:08:48.115) irt_crcErr1: 03: 78 80 F8
(00:08:48.123) irt_rawTelegram: 01: 00
(00:08:48.127) irt_rawTelegram: 01: 00
(00:08:48.143) irt_rawTelegram: 03: F8 78 80
(00:08:48.144) irt_crcErr1: 03: F8 78 80
(00:08:48.265) irt_rawTelegram: 03: 80 80 80
(00:08:48.265) irt_crcErr1: 03: 80 80 80
(00:08:48.275) irt_rawTelegram: 01: 78
(00:08:48.279) irt_rawTelegram: 01: 00
(00:08:48.297) irt_rawTelegram: 03: 80 F8 F8
(00:08:48.297) irt_crcErr1: 03: 80 F8 F8
(00:08:48.343) irt_rawTelegram: 0C: 80 F8 F8 80 F8 F8 F8 80 F8 F8 78 80
(00:08:48.344) irt_otherTelegram: 0C: 80 F8 F8 80 F8 F8 F8 80 F8 F8 78 80

This doesn't feel right. What could the problem be?

Thanks!
Barnabás

iRT-ESP without Moduline 30?

Question
Can the iRT-ESP be used without a room thermostat, ie. Moduline 30?

Device information
Set-up: Nefit Ecomline HR from 1997, keesbbq's ift modified complete kit, zwave radiator thermostats for individual zone control and home assistant for the boiler / radiator logic.
Current non-domotica install depends on a Honeywell Chronotherm III (just on/off control connected to ports 1 and 2 of the UBA 4000) and I am not sure if buying a Nefit Moduline 30 makes sense for me.
Instead I was thinking to just install the iRT_EMS to ports 5 and 6.

Am I on the right track?

Nefit EcomLine HR43 not correctly detecting the bus signal

@iamceph I moved the issues to this detect because it is a different setup then the original issue.

If I look at the first data you posted (in tx_mode 4):

(00:04:55.494) irt_rawTelegram: 01: 00
(00:04:56.674) irt_rawTelegram: 18: 01 01 FC 07 FF 00 FF F2 07 29 45 58 73 52 25 43 78 07 FF A1 82 00 91 F4

This look like it almost detected the correct signal but it is missing some bits. So my first question is, what thermostat are you using and what is the length between the thermostat and the boiler. This may be resolved by increasing the 1,5 MOhm resistor to a higher value.

The second test you did, with tx_mode 5, is a bit strange. Because I can see the boiler sending the polling messages (the 00, 01, 02 and 03) data. But I do not see the interface transmitting anything. Because it logs the msg to transmit before sending it. What interface board are you using ? A pre-modified board or did you build it yourself ?

The third test you did, tx_mode 5 and the thermostat connected will not work, because the iRT cannot handle two active devices.

Multiple iRT dialects?

Hi Victor,

Great work reverse engineering the iRT protocol!

Unaware of your work I tried to reverse engineer it myself, but without success. However, it seems my UBA and Thermostat are somewhat different than yours. My boiler is a Nefit Ecomline Classic HRC30, thermostat is Moduline 30.

What is working is Hot Water on/off and Heating on/off. Current flowtemperature shows a logical value, but this value is nowhere to be found in the Thermostat menus. Selected temp, boiler, return, all stay at 0. Al thermostat values remain undefined. Maybe a different iRT dialect?

I will try to reverse engineer some more datagram types.
Would you be interested in a dump of my datagrams?
(https://github.com/Chreetz/iRT-dump)

Regards,
Chris

iRT Bus Connection not working

Question
I ordered a iRT Board that came today - flashed it with the latest bin 1.9.10 , got wifi running, connected it to my iRT Bus , set passive mode in Config, rebooted , telnet the device, set again to mode 4 , restart, set log j - then see the output

Screenshots
[TELNET] Connected to IRT-ESP version 1.9.10.20110420. Type ? for commands.
log j

System Logging set to Jabber mode

->
(00:53:50.834) irt_rawTelegram: 03: F8 78 80
(00:53:50.835) irt_crcErr1: 03: F8 78 80
Error! Unable to read the iRT bus.
(00:54:04.236) irt_rawTelegram: 03: F8 78 80
(00:54:04.236) irt_crcErr1: 03: F8 78 80

Any suggestions what i can do ?

br thomas

iRT bus interpretation problem

Hi,

Nice work on figuring out the iRT protocol! I want to monitor my EcomLine Classic HRC30 UBA4000 (1997 o_0) with Moduline 300 thermostat so I made a circuit that listens to the bus using a series-resistor instead of parallel with the thermostat, should be more robust. See here;
Capture

Results are good, this is what I get on the scope;
index
inde2x

So I've connected it to a pi and used minicom to read out the following messages;

02 03 00 01 01 fe 73 73 52 52 25 25 43 43 78 78 01 01 ff ff ad ad 01 01 46 46 25 25 19 19 73 73 52 52 25 25 43 43 78 78 07 07 ff ff a1 a1 07 07 4d 4d 00 00 9d 9d 

02 03 00 01 01 fe a4 a4 52 52 25 25 94 94 1f e0 a6 a6 01 01 ff ff 73 73 16 e9 a8 a8 46 46 25 25 b0 b0 40 bf a3 a3 52 52 25 25 93 93 53 ac 

02 03 00 01 01 fe 82 82 52 52 25 25 b2 b2 84 7b 83 83 01 01 ff ff 56 56 02 fd 93 93 46 46 25 25 8b 8b 00 ff 90 90 52 52 25 25 a0 a0 a7 58 c9 c9 07 07 ff ff 10 10 01 fe 

02 03 00 01 01 fe 97 97 52 52 25 25 a7 a7 03 fc 84 84 01 01 ff ff 51 51 55 aa 8a 8a 46 46 25 25 92 92 fe 01 73 73 52 52 25 25 43 43 78 78 06 06 00 00 74 74 02 03 00 01 01 fe 81 81 52 52 25 25 b1 b1 46 b9 de de 01 01 ff ff 0b 0b f7 08 73 73 52 52 25 25 43 43 78 78 05 05 04 04 62 62 05 05 04 04 00 00 0d 0d 

02 03 00 01 01 fe 73 73 52 52 25 25 43 43 78 78 01 01 ff ff ad ad 01 01 46 46 25 25 19 19 73 73 52 52 25 25 43 43 78 78 07 07 ff ff a1 a1 07 07 4d 4d 00 00 9d 9d 

02 03 00 01 01 fe a4 a4 52 52 25 25 94 94 1f e0 a6 a6 01 01 ff ff 73 73 16 e9 a8 a8 46 46 25 25 b0 b0 40 bf a3 a3 52 52 25 25 93 93 53 ac 

02 03 00 01 01 fe 82 82 52 52 25 25 b2 b2 84 7b 83 83 01 01 ff ff 56 56 02 fd 93 93 46 46 25 25 8b 8b 00 ff 90 90 52 52 25 25 a0 a0 a7 58 c9 c9 07 07 ff ff 10 10 01 fe 02

I didn't look into the telegrams in detail but in general they match your description. I tried to get your python converter running but no luck so far.
I built your code and uploaded to a NodeMcu Lolin esp8266 v3, set tx mode to 4 but it doesn't interpret the telegrams correctly. Can you tell why?

* IRT-ESP version 1.9.10.20110420
[FS] System config loaded (510 bytes)
[FS] Custom config loaded (320 bytes)
[WEB] Web server started
[UART] Opened Rx/Tx connection (iRT)
[WIFI] Connecting to SSID: teh Interwebz...
[WIFI] Connected to SSID teh Interwebz (hostname: irt-esp, IP: 192.168.0.160)
[OTA] Listening to firmware updates on irt-esp.local:8266
[SYSTEM] Disabling serial port communication
[TELNET] Connected to IRT-ESP version 1.9.10.20110420. Type ? for commands.
log j

System Logging set to Jabber mode

->
(00:00:11.693) irt_rawTelegram: 01: F9
(00:00:11.811) irt_rawTelegram: 01: FF
(00:00:11.936) irt_rawTelegram: 02: FD FA
(00:00:11.936) irt_crcErr1: 02: FD FA
(00:00:12.071) irt_rawTelegram: 0B: 00 46 46 2B 2B 6D 6D 5E 5E 08 48
(00:00:12.072) irt_otherTelegram: 0B: 00 46 46 2B 2B 6D 6D 5E 5E 08 48
(00:00:12.090) irt_rawTelegram: 01: 7F
(00:00:12.108) irt_rawTelegram: 01: 00
(00:00:12.331) irt_rawTelegram: 14: 29 29 7F 7F 2E 2E 6D 6D 73 73 46 46 2B 2B 6D 6D 5E 5E 08 48
(00:00:12.332) irt_otherTelegram: 14: 29 29 7F 7F 2E 2E 6D 6D 73 73 46 46 2B 2B 6D 6D 5E 5E 08 48
(00:00:12.349) irt_rawTelegram: 01: 7C
(00:00:12.387) irt_rawTelegram: 01: 00
(00:00:12.431) irt_rawTelegram: 04: 2F 2F 7C 7C
(00:00:12.431) irt_otherTelegram: 04: 2F 2F 7C 7C
(00:00:12.452) irt_rawTelegram: 01: FE
(00:00:12.471) irt_rawTelegram: 01: E2
(00:00:12.793) irt_rawTelegram: 02: 7C FB
(00:00:12.793) irt_crcErr1: 02: 7C FB
(00:00:12.911) irt_rawTelegram: 01: F9
(00:00:13.031) irt_rawTelegram: 01: FF
(00:00:13.133) irt_rawTelegram: 02: FD FA
(00:00:13.134) irt_crcErr1: 02: FD FA
(00:00:13.310) irt_rawTelegram: 0F: 00 0B 8B 2B 2B 6D 6D 0D CD 01 21 16 16 7F 7F
(00:00:13.310) irt_otherTelegram: 0F: 00 0B 8B 2B 2B 6D 6D 0D CD 01 21 16 16 7F 7F
(00:00:13.347) irt_rawTelegram: 01: 00
(00:00:13.607) irt_rawTelegram: 17: 46 46 61 0F 05 C5 01 2E 6D 6D 02 52 01 11 2E 2E 2B 2B 6D 6D 36 36 7E
(00:00:13.608) irt_otherTelegram: 17: 46 46 61 0F 05 C5 01 2E 6D 6D 02 52 01 11 2E 2E 2B 2B 6D 6D 36 36 7E
l(00:00:13.911) irt_rawTelegram: 01: FB
(00:00:14.031) irt_rawTelegram: 01: F9
o(00:00:14.153) irt_rawTelegram: 01: FF
(00:00:14.255) irt_rawTelegram: 02: FD FA
(00:00:14.255) irt_crcErr1: 02: FD FA
g(00:00:14.429) irt_rawTelegram: 0F: 00 1F 1F 2B 2B 6D 6D 13 93 07 08 3E 3E 7F 7F
(00:00:14.430) irt_otherTelegram: 0F: 00 1F 1F 2B 2B 6D 6D 13 93 07 08 3E 3E 7F 7F
(00:00:14.467) irt_rawTelegram: 01: 00
(00:00:14.589) irt_rawTelegram: 0C: 2A AA 01 50 36 36 2E 2E 6D 6D 3A 3A
(00:00:14.589) irt_otherTelegram: 0C: 2A AA 01 50 36 36 2E 2E 6D 6D 3A 3A
 (00:00:14.630) irt_rawTelegram: 01: BE
(00:00:14.789) irt_rawTelegram: 0D: 63 05 2B 6D 6D 01 89 01 4A 03 1B 7C 7C
(00:00:14.789) irt_otherTelegram: 0D: 63 05 2B 6D 6D 01 89 01 4A 03 1B 7C 7C
(00:00:14.807) irt_rawTelegram: 01: 00
(00:00:14.831) irt_rawTelegram: 02: 07 F7
(00:00:14.831) irt_crcErr1: 02: 07 F7
n(00:00:14.846) irt_rawTelegram: 01: 00


System Logging set to None

Fail safe shut down upon wifi disconnect

Is your feature request related to a problem? Please describe.
Had a few occasions where wifi connectivity dropped while boiler was at full blast and whole house turned into a sauna.

Describe the solution you'd like
Set flow temp to zero upon wifi or mqtt disconnect

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Set wwactive doesn't work

Since yesterday i updated my interface with the latest version. I used to only use the set_water commando to start the boiler. This worked fine. But i cant seem tot set the tap water boiler on and off. What commando do u use to do that?

I have tried wwactive , tapwater and wwonetime but all of Them have no effect to the wwheat parameter in the boiler data. Alsof the mqtt comands to do the same dont seem to work.

Hope you can help.

Additional information for the wiki

Hi Victor,

I currently work on your project to adapt it on my needs for my (old) GB112 Buderus boiler.
I buyed also a EMS-Gateway from BBQKees and a Junkers/Bosch EasyControl adapter. In addition I created the modified version of the gateway on a breadboard, so I can see on both sides of the bus what happens.
The first outcome I want to share is the modified wiki of the telegram-types.
I also see some more telegrams (type 0x0F01XX) but for now, I have no glue regarding the meaning of this telegrams, maybe you know more about them?

Best regards,

Harry

iRT-Telegram-Types.md

IRT-ESP on Domoticz

Hello Victor,

I have designed a little tht-pcb with the converter from IRT to TTL which I have connected to an ESP12E.
This works perfectly, I have the right output on telnet!
I want to use this in combination with domoticz, and i saw there is a "EMS bus Wi-Fi Plugin" which should work for firmware 2.1 and higher only. Also MQTT autodiscovery is not working for the latest IRT-ESP firmware.
My question: is there a simple way to use the IRT-EMS with domoticz? Or is there some kind of document which tells me how to do this.
I'm sorry for this questions, but i'm more a hardware guy than a software guy...

compilation error with os_install_putc1((void *)... on ESP-01

Just tried to compile IRT-EMS-ESP for an ESP-01 board. I get the following error two times:

src/TelnetSpy.cpp: In member function 'void TelnetSpy::setDebugOutput(bool)':
src/TelnetSpy.cpp:450:59: error: invalid conversion from 'void*' to 'fp_putc_t {aka void (*)(char)}' [-fpermissive]
os_install_putc1((void *)TelnetSpy_ignore_putc); // Ignore system printing

After removing "(void *)" the code compiles without errors and I can access the web-interface on the ESP. I have not yet tested if I also get any communication to iRT-bus.
Can anyone confirm this issue and that my fix is OK?

Regards,
df2qy

Modification for S32 V2.0 Board

Hello everyone,

unfortunately I was only able to get a S32 V2.0 gateway. Does anyone happen to have any information about which resistors have to be replaced / removed there.

Thanks

How to integrate IRT-ESP to Home assistant

Hello,

Modified BBQKees board to iRT and sucessfuly getting data from Buderus GB112.
Since iRT-ESP is version without MQTT autodiscovery having issues integrating it to Homeassistant.
As noob i'm tried to write entity to configuration.yaml but getting nowhere.
On EMS-ESP there are no steps described for this. Plz help...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.