Page 11 of 13
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Friday 05 April 2019 21:05
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Wednesday 10 April 2019 10:58
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
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Friday 02 August 2019 12:07
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.
Plugin for Domoticz still needs some work, will update soon.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Sunday 18 August 2019 13:59
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Tuesday 20 August 2019 10:14
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Thursday 22 August 2019 18:58
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Wednesday 28 August 2019 13:03
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Sunday 13 October 2019 0:38
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
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Sunday 13 October 2019 6:27
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.
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
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Monday 14 October 2019 11:56
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
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Monday 14 October 2019 12:04
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Monday 14 October 2019 12:07
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Monday 14 October 2019 13:47
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Monday 28 October 2019 21:39
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Wednesday 30 October 2019 9:23
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.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Wednesday 27 November 2019 19:39
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?
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Friday 29 November 2019 14:29
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).
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Saturday 30 November 2019 20:50
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
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Saturday 30 November 2019 21:13
by bbqkees
Yes sorry i accidentially removed a ")" while editing.
Should be ok now.
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Posted: Sunday 01 December 2019 22:17
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