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

AvdM
Posts: 1
Joined: Friday 05 April 2019 21:01
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 AvdM »

Is there anyone who can set the Roomtemperature with Node-Red and MQTT? I can only read out with Node-Red by Mqtt.

And the Python plugin wont work on my Raspberry with Domoticz.
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 »

Hilgert wrote: Thursday 04 April 2019 20:12 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?
See: This link on Thingiverse
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
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 »

Aside from the interface board, I now have a complete plug-and-play EMS Wi-Fi Gateway available at the ordering page.
Works for almost all EMS compatible Nefit boilers/heatpumps like the TrendLine, Topline, Enviline etc.
Also for the other Bosch brand boilers like Buderus, Junkers and Worcester boilers.

Image

Image

Plugin for Domoticz still needs some work, will update soon.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Marcus22
Posts: 5
Joined: Sunday 06 November 2016 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

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

Post by Marcus22 »

HI bbqkees,
Nice kit! Is possible to install this unit at the thermostat side of the bus? My WiFi doesn't reach to my CV in the attick. I assume it will be powered from the bus as well since my thermostat is.
Home automation as a hobby
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 can mount it on the thermostat side but then you need to power it via USB.
The current Gateway uses the additional power supply of the service jack to power itself.

I have a working prototype that's fully bus powered but it will take some more months before it's ready for production.
(If you have f.i. a Nefit Easy thermostat which is already quite power hungry it might already consume most of the available power budget on the bus so in some cases you would still power it via USB.)

If you don't want to wait I can convert an existing Gateway to bus power as well.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Marcus22
Posts: 5
Joined: Sunday 06 November 2016 9:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

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

Post by Marcus22 »

Thanks for the info! I have a working Nefit thermostat that I would like to keep operational. I’ll see what I can do about the upstairs WiFi.
Home automation as a hobby
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 created a new repository for the EMS bus Wi-Fi Gateway Domoticz plugin:
https://github.com/bbqkees/ems-esp-domoticz-plugin

It works will all devices using Proddy's EMS-ESP firmware.
This is a replacement for the older Nefit EMS-ESP plugin. I added a large number of sensors and switches.

If someone could try out the thermostat control that would be great as I don't have an EMS thermostat myself.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
th3snip3r
Posts: 6
Joined: Thursday 08 February 2018 11:06
Target OS: -
Domoticz version:
Contact:

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

Post by th3snip3r »

bbqkees wrote: Wednesday 28 August 2019 13:03 I created a new repository for the EMS bus Wi-Fi Gateway Domoticz plugin:
https://github.com/bbqkees/ems-esp-domoticz-plugin

It works will all devices using Proddy's EMS-ESP firmware.
This is a replacement for the older Nefit EMS-ESP plugin. I added a large number of sensors and switches.

If someone could try out the thermostat control that would be great as I don't have an EMS thermostat myself.
Hi Kees, great work (again)! RC35 thermostat control (change setpoint) works perfect!
Some questions:
- 'Thermostate mode'-text value remains empty... Fixed by editing python.py ('thermostat_mode' to lowercase)
- Should it also be possible to enable/disable warm water, or is this only 'read-only' Looked at the code: onCommand, currently only thermostate 'set level' implemented :)
Last edited by th3snip3r on Monday 14 October 2019 12:01, edited 4 times in total.
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

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

Post by niki_lauda »

bbqkees wrote: Friday 02 August 2019 12:07 Aside from the interface board, I now have a complete plug-and-play EMS Wi-Fi Gateway available at the ordering page.
Works for almost all EMS compatible Nefit boilers/heatpumps like the TrendLine, Topline, Enviline etc.
Also for the other Bosch brand boilers like Buderus, Junkers and Worcester boilers.

Image

Image

Plugin for Domoticz still needs some work, will update soon.
Hi Kees
How do I check if my Nefit Topline Compact HRC is compatible?
The word "Works for almost all EMS compatible Nefit boilers" is making me uncertain to buy your gateway.
Greetz
th3snip3r
Posts: 6
Joined: Thursday 08 February 2018 11:06
Target OS: -
Domoticz version:
Contact:

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

Post by th3snip3r »

niki_lauda wrote: Sunday 13 October 2019 6:27
Hi Kees
How do I check if my Nefit Topline Compact HRC is compatible?
The word "Works for almost all EMS compatible Nefit boilers" is making me uncertain to buy your gateway.
Greetz
https://github.com/proddy/EMS-ESP/wiki/ ... ms-devices
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 »

th3snip3r wrote: Sunday 13 October 2019 0:38 Hi Kees, great work (again)! RC35 thermostat control (change setpoint) works perfect!
Some questions:
- 'Thermostate mode'-text value remains empty... Fixed by editing python.py ('thermostat_mode' to lowercase)
- Should it also be possible to enable/disable warm water, or is this only 'read-only' Looked at the code: onCommand, currently only thermostate 'set level' implemented :)
I'm going to update the plugin soon as there are a range of changes in firmware 1.9.2 regarding thermostat settings and heating zones.
Will add more of the boiler settings as well.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
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 »

niki_lauda wrote: Sunday 13 October 2019 6:27 Hi Kees
How do I check if my Nefit Topline Compact HRC is compatible?
The word "Works for almost all EMS compatible Nefit boilers" is making me uncertain to buy your gateway.
Greetz
Its compatible.
The reason there is 'almost all' in the text is that there are so many different EMS boilers and while most of them have the exact same parameters in the standard boiler telegrams, some are slightly different.

If you are missing parameters or some values stay empty, you can always open an issue to have the parameters added to the firmware.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
th3snip3r
Posts: 6
Joined: Thursday 08 February 2018 11:06
Target OS: -
Domoticz version:
Contact:

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

Post by th3snip3r »

bbqkees wrote: Monday 14 October 2019 12:04
th3snip3r wrote: Sunday 13 October 2019 0:38 Hi Kees, great work (again)! RC35 thermostat control (change setpoint) works perfect!
Some questions:
- 'Thermostate mode'-text value remains empty... Fixed by editing python.py ('thermostat_mode' to lowercase)
- Should it also be possible to enable/disable warm water, or is this only 'read-only' Looked at the code: onCommand, currently only thermostate 'set level' implemented :)
I'm going to update the plugin soon as there are a range of changes in firmware 1.9.2 regarding thermostat settings and heating zones.
Will add more of the boiler settings as well.
Great news! Looking forward to it.
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

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

Post by niki_lauda »

I use the plugin
In my domoticz a few switches are updated with the same values every time. The value hasn't changed.
Is it possible to surpressed thos log lines if the switchstate doesn't change.
Attachments
2019-10-28 213322.png
2019-10-28 213322.png (31.7 KiB) Viewed 2992 times
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 »

niki_lauda wrote: Monday 28 October 2019 21:39 I use the plugin
In my domoticz a few switches are updated with the same values every time. The value hasn't changed.
Is it possible to surpressed thos log lines if the switchstate doesn't change.
I'll add it to the todo list for the next update.
I should check the current value and only update if it has changed.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
ArthurNL
Posts: 15
Joined: Friday 05 October 2018 14:36
Target OS: Windows
Domoticz version: 4.10717
Location: The Netherlands
Contact:

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

Post by ArthurNL »

bbqkees wrote: Monday 14 October 2019 12:07
niki_lauda wrote: Sunday 13 October 2019 6:27 Hi Kees
How do I check if my Nefit Topline Compact HRC is compatible?
The word "Works for almost all EMS compatible Nefit boilers" is making me uncertain to buy your gateway.
Greetz
Its compatible.
The reason there is 'almost all' in the text is that there are so many different EMS boilers and while most of them have the exact same parameters in the standard boiler telegrams, some are slightly different.

If you are missing parameters or some values stay empty, you can always open an issue to have the parameters added to the firmware.
Received your EMS gateway today. Only stats which are not updating (in Domoticz) it seems are the thermostat_currtemp and thermostat_seltemp. In the Gateway itself I see that it does push the data to MQTT:
2019-11-27 19:07:28 thermostat_data {"hc1":{"seltemp":20.5,"currtemp":20.9,"mode":"auto"}}

In the Domoticz logfile:
2019-11-27 19:26:30.949 (EMS Plugin V0.5) MQTT message: home/ems-esp/thermostat_data b'{"hc1":{"seltemp":20.5,"currtemp":20.8,"mode":"auto"}}'

The boiler data (for e.g. Boiler system pressure) is updating correctly.

Any idea where to search for the solution to have the thermostat_currtemp and thermostat_seltemp also updating in Domoticz?
Dashticz V2.4.0 Beta
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 »

The master channel of the plugin repository contains an update for hc1.
The dev channel now contains a large update to the plugin for hc1 to hc4 (which still needs additional testing).
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
th3snip3r
Posts: 6
Joined: Thursday 08 February 2018 11:06
Target OS: -
Domoticz version:
Contact:

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

Post by th3snip3r »

Get this error with dev branch:

2019-11-30 20:39:49.815 Error: (ems-gateway) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-11-30 20:39:49.815 Error: (ESP-EMS) Module Import failed, exception: 'SyntaxError'
2019-11-30 20:39:49.815 Error: (ESP-EMS) Import detail: File: /home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py, Line: 517, offset: 42
2019-11-30 20:39:49.815 Error: (ESP-EMS) Error Line ' if (unit in [113, 123, 133, 143]):
2019-11-30 20:39:49.815 '

Master: no errors with EMS-ESP 1.9.3
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 »

Yes sorry i accidentially removed a ")" while editing.
Should be ok now.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
th3snip3r
Posts: 6
Joined: Thursday 08 February 2018 11:06
Target OS: -
Domoticz version:
Contact:

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

Post by th3snip3r »

Thnx. Dev plugin start now. New error: ;)
2019-12-01 22:09:05.441 Error: (ESP-EMS) 'onMessage' failed 'TypeError':'string indices must be integers'.
2019-12-01 22:09:05.441 Error: (ESP-EMS) ----> Line 626 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage
2019-12-01 22:09:05.441 Error: (ESP-EMS) ----> Line 570 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMessage
2019-12-01 22:09:05.441 Error: (ESP-EMS) ----> Line 113 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/mqtt.py', function onMessage
2019-12-01 22:09:05.442 Error: (ESP-EMS) ----> Line 602 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMQTTPublish
2019-12-01 22:09:05.442 Error: (ESP-EMS) ----> Line 293 in '/home/pi/domoticz/plugins/ems-esp-domoticz-plugin/plugin.py', function onMqttMessage
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests