Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

User avatar
suncarver
Posts: 5
Joined: Monday 31 December 2018 17:45
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by suncarver »

@bbqkees and @proddy: Great work, I much appreciate it!
I'm looking for support of the thermostat Buderus RC310 .

@bbqkees: Could you please add a Buderus RC310 to your nice thermostat list in Github as a starting point? The RC310 picture looks like it is same as Nefit Moduline 3000.

Has anyone else already experience with this equipment and/or EMS+? I have proddy's software running on a Wemos D1 mini (Arduino IDE) and can provide telnet telegram records, but need guidance to adjust the software for my RC310.
Last edited by suncarver on Wednesday 02 January 2019 14:44, edited 1 time in total.
User avatar
suncarver
Posts: 5
Joined: Monday 31 December 2018 17:45
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by suncarver »

corrected last entry
Last edited by suncarver on Wednesday 02 January 2019 14:45, edited 1 time in total.
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

EMS+ seems nearly the same as EMS its just that the third byte is 0x99 or something similar.
What boiler do you have?
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
suncarver
Posts: 5
Joined: Monday 31 December 2018 17:45
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by suncarver »

It is a Buderus GB172-14, so sender/receiver Messages from and to Type 0x08 look plausbile.

My main working point are thermostat messages. Below a log picture, where I seperated telegram types which have 0xFF .
For those I applied the EMS+ ( EMS plus ?) rules as described in EMS wiki https://emswiki.thefischer.net/doku.php ... telegramme.
The EMS+ 2 Byte telegram types are unfortunately not documented yet. Since same telegram types are shown with different data length, I assume the principle EMS+ telegram interpretation is still wrong.

Added: I noticed that EMS+ telgrams with same type and different data length have different offset (19 and 0D in the example below).
10 00 FF 19 01 A5 01 04 FF EB 00 00 FF 64 4B 00 3C 01 FF 01 02 (CRC=EC, #data=17)
10 00 FF 0D 01 A5 01 20 (CRC=7A, #data=4)
Last edited by suncarver on Saturday 05 January 2019 12:48, edited 2 times in total.
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

You have to upload image elsewhere in order it to show here.
You can also add a text log here if you use the 'code' tags.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
suncarver
Posts: 5
Joined: Monday 31 December 2018 17:45
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by suncarver »

Thermostat related logs below: - you can see types with 0xFF.
Example:
(00:00:45) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 01 67 00 00 (CRC=AB, #data=4)
according https://emswiki.thefischer.net/doku.php ... telegramme for EMS+:
Sender : 0x10 // RC35 (my RC310) assumed
Receiver 0x00 // all
type : EMS+ Marker: 0xFF
Offset : 0x00
type High Byte: 01
type Low Byte: 67
daty bytes
CRC
data length
........

Code: Select all

(00:00:20) Thermostat -> me, type 0xA7 telegram: 10 0B A7 00 (CRC=FB)
(00:00:20) Thermostat -> me, type 0x06 telegram: 10 0B 06 00 12 0C 11 1E 0D 2E 06 00 10 FF 00 (CRC=B8, #data=11)
(00:00:32) Thermostat -> all, type 0xA2 telegram: 10 00 A2 00 00 00 00 00 00 (CRC=CA, #data=5)
(00:00:40) Thermostat -> all, type 0xFF telegram: 10 00 FF 0F 01 A5 02 2A (CRC=56, #data=4)
(00:00:40) Thermostat -> all, type 0xFF telegram: 10 00 FF 0D 01 A5 01 5A (CRC=00, #data=4)
(00:00:44) Thermostat -> all, type 0x06 telegram: 10 00 06 00 12 0C 11 1E 0E 0A 06 00 10 FF 00 (CRC=D9, #data=11)
(00:00:45) Thermostat -> Boiler, type 0x1A telegram: 10 08 1A 00 28 64 64 (CRC=C8, #data=3)
(00:00:45) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 01 67 00 00 (CRC=AB, #data=4)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 01 A5 00 DB 23 26 28 00 26 1E 01 5A 03 03 01 01 5A 02 2A 00 00 11 01 03 08 90 00 (CRC=8E, #data=27)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 19 01 A5 06 04 FF E2 00 00 FF 64 4B 00 3C 01 FF 01 02 (CRC=50, #data=17)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 02 1D 00 00 0A 07 (CRC=02, #data=6)
(00:00:56) Thermostat -> Boiler, type 0x23 telegram: 10 08 23 00 28 64 64 (CRC=73, #data=3)
(00:01:10) Thermostat -> me, type 0x41 telegram: 10 0B 41 00 (CRC=2E)
(00:01:10) Thermostat -> me, type 0xA7 telegram: 10 0B A7 00 (CRC=FB)
(00:01:29) Thermostat -> Boiler, type 0x35 telegram: 10 08 35 00 11 01 (CRC=20, #data=2)
(00:01:38) Thermostat -> all, type 0xFF telegram: 10 00 FF 0F 01 A5 02 2B (CRC=57, #data=4)
(00:01:39) Thermostat -> all, type 0xFF telegram: 10 00 FF 08 01 A5 01 59 03 03 01 01 59 (CRC=ED, #data=9)
(00:01:45) Thermostat -> all, type 0x06 telegram: 10 00 06 00 12 0C 11 1E 0F 0B 06 00 10 FF 00 (CRC=B9, #data=11)
(00:00:19) Thermostat -> me, type 0x41 telegram: 10 0B 41 00 (CRC=2E)
(00:00:20) Thermostat -> me, type 0xA7 telegram: 10 0B A7 00 (CRC=FB)
(00:00:20) Thermostat -> me, type 0x06 telegram: 10 0B 06 00 12 0C 11 1E 0D 2E 06 00 10 FF 00 (CRC=B8, #data=11)
(00:00:32) Thermostat -> all, type 0xA2 telegram: 10 00 A2 00 00 00 00 00 00 (CRC=CA, #data=5)
(00:00:40) Thermostat -> all, type 0xFF telegram: 10 00 FF 0F 01 A5 02 2A (CRC=56, #data=4)
(00:00:40) Thermostat -> all, type 0xFF telegram: 10 00 FF 0D 01 A5 01 5A (CRC=00, #data=4)
(00:00:44) Thermostat -> all, type 0x06 telegram: 10 00 06 00 12 0C 11 1E 0E 0A 06 00 10 FF 00 (CRC=D9, #data=11)
(00:00:45) Thermostat -> Boiler, type 0x1A telegram: 10 08 1A 00 28 64 64 (CRC=C8, #data=3)
(00:00:45) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 01 67 00 00 (CRC=AB, #data=4)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 01 A5 00 DB 23 26 28 00 26 1E 01 5A 03 03 01 01 5A 02 2A 00 00 11 01 03 08 90 00 (CRC=8E, #data=27)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 19 01 A5 06 04 FF E2 00 00 FF 64 4B 00 3C 01 FF 01 02 (CRC=50, #data=17)
(00:00:46) Thermostat -> all, type 0xFF telegram: 10 00 FF 00 02 1D 00 00 0A 07 (CRC=02, #data=6)
(00:00:56) Thermostat -> Boiler, type 0x23 telegram: 10 08 23 00 28 64 64 (CRC=73, #data=3)
RC310 Thermostat Logs.PNG
RC310 Thermostat Logs.PNG (132.09 KiB) Viewed 7240 times
rickm
Posts: 3
Joined: Friday 11 January 2019 23:27
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by rickm »

Hi,

I am using the software from Proddy https://github.com/proddy/EMS-ESP on a ESP8266 in combination with the EMS interface board from Bbqkees.

My thermostat a Nefit Moduline 300 is nicely recognized as RC20 and I can set and read the room themperature.

So far it is working great, thanks Proddy and Bqqkees :)

Now I am trying to get my boiler(NEFIT TOPLINE COMPACT HRC 25/CW4) recognized, but it seems that it isn't in the Model_Types[] list

The autodetect command gives me the Product ID 115.

Any suggestions? What willl happen if I change the product ID from the EMS_MODEL_UBA to 115?

Code: Select all

    // various boilers and buderus type devices
    {EMS_MODEL_UBA, 123, 0x08, "MC10/UBA3 Boiler"},
    {EMS_MODEL_BK15, 64, 0x08, "Sieger BK15 Boiler"},
    {EMS_MODEL_BC10, 190, 0x09, "BC10 Base Controller"},
    {EMS_MODEL_BC25, 125, 0x09, "BC25 Base Controller"},
    {EMS_MODEL_RFM20, 68, 0x09, "RFM20 RC20F Receiver"},
    {EMS_MODEL_MM10, 251, 0x21, "MM10 Mixer Module"},  // warning, fake product id!
    {EMS_MODEL_WM10, 250, 0x11, "WM10 Switch Module"}, // warning, fake product id!
Output from the command autodetect:

Code: Select all

autodetect
Scanning EMS bus for devices. This may take a few seconds...
Requesting type Version(0x02) from dest 0x08
Requesting type Version(0x02) from dest 0x09
Requesting type Version(0x02) from dest 0x0B
Requesting type Version(0x02) from dest 0x10
Requesting type Version(0x02) from dest 0x11
Requesting type Version(0x02) from dest 0x17
Requesting type Version(0x02) from dest 0x18
Requesting type Version(0x02) from dest 0x21
(00:50:51) 0x08 -> all, type 0x34 telegram: 08 00 34 00 3C 01 6A 80 00 21 00 00 03 00 02 BB 3F 01 54 EB 00 (CRC=3D), #data=17
(00:50:51) 0x08 -> all, type 0x18 telegram: 08 00 18 00 55 02 2F 23 23 09 01 25 62 01 6A 80 00 01 9C 01 17 0E 2D 48 00 C8 00 02 00 (CRC=C8), #data=25
(00:50:52) Sending read of type 0x02 to 0x08: telegram: 0B 88 02 00 63 (CRC=FF), #data=1
(00:50:52) 0x08 -> me, type 0x02 telegram: 08 0B 02 00 73 03 05 (CRC=BD), #data=3
<--- Version(0x02) received
Unrecognized device found. Product ID 115, Version 03.05
(00:50:52) 0x08 -> all, type 0x07 telegram: 08 00 07 00 0B 80 00 00 00 00 00 00 00 00 00 00 00 (CRC=47), #data=13
(00:50:53) Sending read of type 0x02 to 0x09: telegram: 0B 89 02 00 63 (CRC=F7), #data=1
(00:50:53) 0x09 -> me, type 0x02 telegram: 09 0B 02 00 72 01 03 (CRC=FB), #data=3
<--- Version(0x02) received
Unrecognized device found. Product ID 114, Version 01.03
rickm
Posts: 3
Joined: Friday 11 January 2019 23:27
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by rickm »

Hi,

We have a Moduline 300 thermostat with an 0x10 identifier, so it always using RC20 because of the identifier?

Or should it be RC30, because it is an Moduline 300?

I am asking because when setting the thermostat temperature via the "Service Key", the target temperature on the thermostat isn't updated(Checking by turn the large button on the thermostat).

Image

Thanks and regards,

Rick
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

I recently got notified that the thermostat page on my Github is not completely correct.
The RC30 is the Moduline 400 and the Moduline 300 is the RC20. I still have to do some updates.

You should have a look at the Github repository from Proddy, although its for the ESP8266 he has built in full support for several EMS thermostats like your Moduline 300 (even with auto-detect etc).
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
suncarver
Posts: 5
Joined: Monday 31 December 2018 17:45
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by suncarver »

Hi,
following the link mentioned in ems plus wiki "Gedankenstütze/Externer Link", https://emswiki.thefischer.net/doku.php ... telegramme, I found a hint in https://www.mikrocontroller.net/topic/3 ... 25#3928825 from
Autor: Frank S. (blaueslicht) Datum: 17.12.2014 23:48: for a RC200, which is also an EMS+ telegram.
Thanks to Frank S. for bringing me a step ahead!

I searched for a similar "pattern" in my RC310 telegram log and found EMS+ telegram type 0x01A5
RC310 Thermostat teltype 0x01A5.PNG
RC310 Thermostat teltype 0x01A5.PNG (76.29 KiB) Viewed 7158 times
In the upper part are my telegrams, one is the 0x01A5 telegram, in the middle part an explanation of the 0x01A5 telgram interpretation and in the lower part the RC200 example from Frank S.
My interpretation is still in state "guesswork".

I do not understand why 0x01A5 telegrams have different data length, but whenever the yellow highlighted byte is 0x00, I get the data bytes which seem to match my temperature values.
So the meaning and use of the yellow highlighted Byte is unclear to me.
Since I do not want to change thermostat values for the moment, I'll monitor if my assumptions are correct:
proddy's MQTT Messages to a MOSQUITTO broker running on a Raspberry PI -> MQTT client forwards selected topic values to an rrd database -> rrd time series diagrams.
Any further help, confirmation or comment is welcome ;)
rickm
Posts: 3
Joined: Friday 11 January 2019 23:27
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by rickm »

Hi Bbqkees,


You should have a look at the Github repository from Proddy, although its for the ESP8266 he has built in full support for several EMS thermostats like your Moduline 300 (even with auto-detect etc).

The auto-detect returns RC20 and it is working, but I was unsure if RC20 was right.

The Boiler isn't found with an auto-detect. I think because the productID is not yet added to the boiler_types array. I know my boiler is an UBA3 with ID 0x08 and ProductID 115. I am going to add it to the array and see what happens after an auto-detect.

I also saw messages from with the ID 0x09 with ProductID 114. Is it used for setting boiler parameters?

Regards,

RickM
ivovangastel
Posts: 8
Joined: Tuesday 31 January 2017 18:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by ivovangastel »

Hi,
has anybody converted the program of Proddy to fit Domoticz?
I have no fixed ethernet close to my boiler, so i like to use an ESP8266. but i am not an experienced programmer. i can understand the programming of Bbqkees, but not what Proddy wrote. or has somebody stripped Proddy's program to the bare essentials (just doing the communication conversion and placing the data in variables)?

Regards,
Ivo
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

ivovangastel wrote: Tuesday 22 January 2019 8:17 Hi,
has anybody converted the program of Proddy to fit Domoticz?
Although MQTT is universal, the message contents is specific for each home automation system.
The code from Proddy is put together very well and it has a lot of functionality that is absent in my Arduino code.

I'm planning to writing some code for the Proddy version for MQTT support for Domoticz. But no time yet.

As far as I know Domoticz cannot handle more than one sensor update per MQTT message.
So you need to have a lot of messages added while the current code of Proddy only needs two.
For the rest its basically just modifying the JSON string that is sent and setting the right topics. That's all.

For Home Assistant there are those YAML configuration files so all sensors are automatically added but for Domoticz you need to create virtual sensors manually.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
ivovangastel
Posts: 8
Joined: Tuesday 31 January 2017 18:05
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by ivovangastel »

hi Kees,
Getting MQTT working is something i can manage. i have 2 ESP8266 controlling my ventilation systems (fan speed and filter feedback) and i am finishing a SK8622 LED strip controller (Mega 2560 with WS5100) all communicating via MQTT+Json with Domoticz.
But these are very simple programs. just a few functions, no seperate header files.
I understand your arduino code (at least how you communicate with Domoticz), but as you mention that is writtten for an ATmega controller.
Because Proddy's code has so much functionality, it is harder for me to understand.
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

I had some thought about it and perhaps the easiest (or the least difficult method) would be to install Node-Red and let Node-Red listen to the topics the ESP is publishing the values to and then extract the values from the messages and forward them in the Domoticz JSON format to Domoticz itself.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
proddy
Posts: 1
Joined: Tuesday 08 August 2017 15:27
Target OS: -
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by proddy »

yes, node-red is the way to go to transform the JSON MQTT boiler & thermostat messages into domoticz/openhab/etc friendly sensor and switch topics. It's on my list to do!
geezerrr
Posts: 79
Joined: Tuesday 02 December 2014 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by geezerrr »

i've made an Node-Red example which is working for me,it isn't finished..
maybe someone can use it or have a better structure? anyhow feel free to modify and let me know your input :D

just copy to your clipboard and import in Node-Red, make dummy's in Domoticz and fill the idx the flow.

Code: Select all

[{"id":"6bbbb18.55cde5","type":"tab","label":"Nefit ESP-EMS-Domoticz","disabled":false,"info":""},{"id":"ae5e5ebe.d561d","type":"mqtt in","z":"6bbbb18.55cde5","name":"","topic":"home/ems-esp/boiler_data/#","qos":"2","broker":"84c04735.540278","x":125,"y":20,"wires":[["c4a72dec.c542a"]]},{"id":"171ba472.1669ec","type":"debug","z":"6bbbb18.55cde5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":506,"y":20,"wires":[]},{"id":"c4a72dec.c542a","type":"json","z":"6bbbb18.55cde5","name":"","property":"payload","action":"","pretty":false,"x":86,"y":98,"wires":[["171ba472.1669ec","ea326f3a.c08f4","db3d11f2.295bf","fe94ceab.2b7ea","42a64e97.ce9c9","c693eec0.6d2e5","ede21c10.5f766","6db5c7a0.4f1a08","85e6b231.8d4fa","fd309bda.867c68","36ea249d.41781c"]]},{"id":"4b90b832.0610b8","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":691,"y":142,"wires":[]},{"id":"ea326f3a.c08f4","type":"change","z":"6bbbb18.55cde5","name":"curFlowTemp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.curFlowTemp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":314,"y":142,"wires":[["ac5d6148.d11ac"]]},{"id":"db3d11f2.295bf","type":"change","z":"6bbbb18.55cde5","name":"sysPress","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.sysPress","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":304,"y":96,"wires":[["a2effd65.e6728"]]},{"id":"ac5d6148.d11ac","type":"template","z":"6bbbb18.55cde5","name":"=> idx 698","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 698,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"json","x":518,"y":143,"wires":[["4b90b832.0610b8"]]},{"id":"fe94ceab.2b7ea","type":"change","z":"6bbbb18.55cde5","name":"curBurnPow","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.curBurnPow","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":316,"y":195,"wires":[["3ee74a86.656126"]]},{"id":"3ee74a86.656126","type":"template","z":"6bbbb18.55cde5","name":"=> idx 699","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 699,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":519,"y":194,"wires":[["6ca6014.7dc9f"]]},{"id":"6ca6014.7dc9f","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":696,"y":195,"wires":[]},{"id":"8b69363e.0dc028","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":700,"y":251,"wires":[]},{"id":"42a64e97.ce9c9","type":"change","z":"6bbbb18.55cde5","name":"boilTemp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.boilTemp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":307,"y":249,"wires":[["dfd57f4e.7357e"]]},{"id":"dfd57f4e.7357e","type":"template","z":"6bbbb18.55cde5","name":"=> idx 700","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 700,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":521,"y":249,"wires":[["8b69363e.0dc028"]]},{"id":"c693eec0.6d2e5","type":"change","z":"6bbbb18.55cde5","name":"retTemp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.retTemp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":305,"y":302,"wires":[["94e4f746.fc1228"]]},{"id":"94e4f746.fc1228","type":"template","z":"6bbbb18.55cde5","name":"=> idx 701","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 701,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":524,"y":301,"wires":[["d69bd943.24a368"]]},{"id":"d69bd943.24a368","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":703,"y":300,"wires":[]},{"id":"f8cbaab7.cf8ee8","type":"template","z":"6bbbb18.55cde5","name":"=> idx 702","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 702,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":524,"y":351,"wires":[["55b4f2d9.0cc7ec"]]},{"id":"ede21c10.5f766","type":"change","z":"6bbbb18.55cde5","name":"pumpMod","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.pumpMod","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":307,"y":351,"wires":[["f8cbaab7.cf8ee8"]]},{"id":"55b4f2d9.0cc7ec","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":704,"y":351,"wires":[]},{"id":"adaeedaf.eb763","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":703,"y":403,"wires":[]},{"id":"ec379ef.e0fdb6","type":"template","z":"6bbbb18.55cde5","name":"=> idx 703","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"command\": \"switchlight\",\n\"idx\": 703, \n\"switchcmd\": \"{{payload}}\" \n}","output":"str","x":526,"y":403,"wires":[["adaeedaf.eb763"]]},{"id":"6db5c7a0.4f1a08","type":"change","z":"6bbbb18.55cde5","name":"heatPmp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.heatPmp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":311,"y":404,"wires":[["ec379ef.e0fdb6"]]},{"id":"a2effd65.e6728","type":"template","z":"6bbbb18.55cde5","name":"=> idx 704","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 704,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":516,"y":98,"wires":[["982e3907.a8f6f8"]]},{"id":"982e3907.a8f6f8","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":687,"y":98,"wires":[]},{"id":"f61a7c03.da212","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":704,"y":461,"wires":[]},{"id":"8f890fd.c2668f","type":"template","z":"6bbbb18.55cde5","name":"=> idx 705","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 705,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":524,"y":460,"wires":[["f61a7c03.da212"]]},{"id":"85e6b231.8d4fa","type":"change","z":"6bbbb18.55cde5","name":"outdoorTemp","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.outdoorTemp","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":321,"y":459,"wires":[["8f890fd.c2668f"]]},{"id":"fd309bda.867c68","type":"switch","z":"6bbbb18.55cde5","name":"spare","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"","vt":"msg"}],"checkall":"true","repair":false,"outputs":1,"x":296,"y":517,"wires":[[]]},{"id":"36ea249d.41781c","type":"switch","z":"6bbbb18.55cde5","name":"spare","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"","vt":"msg"}],"checkall":"true","repair":false,"outputs":1,"x":298,"y":574,"wires":[[]]},{"id":"c725101a.38706","type":"template","z":"6bbbb18.55cde5","name":"=> idx 706","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 706,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":526,"y":515,"wires":[["ec10d79.e84a828"]]},{"id":"d83390eb.66fa8","type":"template","z":"6bbbb18.55cde5","name":"=> idx 707","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{\n\"idx\" : 706,\n\"nvalue\" : 0,\n\"svalue\" : \"{{payload}}\" \n}","output":"str","x":528,"y":578,"wires":[["b28add15.985c8"]]},{"id":"ec10d79.e84a828","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":703,"y":515,"wires":[]},{"id":"b28add15.985c8","type":"mqtt out","z":"6bbbb18.55cde5","name":"","topic":"domoticz/in","qos":"","retain":"","broker":"84c04735.540278","x":706,"y":579,"wires":[]},{"id":"84c04735.540278","type":"mqtt-broker","z":"","name":"MQTT domoticz","broker":"192.168.1.11","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
ems-esp-nefit.PNG
ems-esp-nefit.PNG (111.59 KiB) Viewed 7020 times
Gert
Posts: 5
Joined: Saturday 29 December 2018 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by Gert »

For those interested (this is a Domoticz forum, isn't it...): I have just released an early version of a Python plugin for the EMS-ESP.
It can currently be found as a pull request on Proddy's Github.
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by bbqkees »

Gert wrote: Wednesday 20 February 2019 15:13 For those interested (this is a Domoticz forum, isn't it...): I have just released an early version of a Python plugin for the EMS-ESP.
It can currently be found as a pull request on Proddy's Github.
Looks great.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Hilgert
Posts: 3
Joined: Tuesday 29 April 2014 19:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)

Post by Hilgert »

I have implemented this and it works like a charm!

Does anybody have an STL file for a case where both the bbqkees EMS board and the ESP can live?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest