Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Moderator: leecollings
- 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)
Made another update to the dev branch and tested it. The errors are gone. Updating the selector switches doesn't work yet though.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 117
- Joined: Saturday 31 August 2013 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Eindhoven (NL)
- Contact:
- 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)
Thanks.
Processing all the orders manually via PayPal and typing over the address data for the shipping labels etc by hand took me way too much time.
So I streamlined it all into a new webshop.
Its live at https://bbqkees-electronics.nl/.
I have also gathered most information into a comprehensive product wiki: https://bbqkees-electronics.nl/wiki
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 117
- 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)
Acoording to proddy in this post (https://github.com/proddy/EMS-ESP/issue ... -573782685) you can set selFlowTemp.
How can I achieve this?
How can I achieve this?
- 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)
In theory it could be possible to set that parameter but its not in the firmware yet.
But you already can try to set it via a raw command to the bus with Telnet.
But you already can try to set it via a raw command to the bus with Telnet.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 63
- Joined: Saturday 07 March 2015 22:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
So I see "read-only" for the Bosch Easy Control CT200, does this mean that there is no way to set the temperature?
- 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)
Indeed. That thermostat does not respond when you try to write the temperature parameter.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 11
- Joined: Tuesday 18 February 2020 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Hi, i got the gateway today and plugged it in and everything went well but after adding hardware and going to devices, the first time i would get a list with all the new devices but if i then went to the devices page again it stayed blank with "loading" on the top of the devices screen.
I found someone mentioning somewere that that was a bug and fixed in the beta so i installed the latest domoticz beta and now it doesn't say loading but i still don't get any devices at all.
Both times every time i accress or refresh the devices screen the log says: "2020-02-19 17:34:50.207 Error: WebServer PO exception occurred : 'stoull'"
As soon as i remove the ems gateway in the hardware page everything works normal again.
I can see no other error messages.
The rest of my log looks like this:
also found out i did something dumb; it says on the wiki to set "home" in the firmware, i went there and it already said "home" in light grey so i thought that was good, it wasn't lol.
I am guessing that because i did not manually enter "Home" domoticz could not connect to the gateway with mqtt and generated the stoull error message ?
I'll leave this here for other clueless people
Edit: it seems i messed things up a bit.
I wasn't getting any values for HC1 2 3 or 4 and decided to update the firmware on the ems gateway.
It Wont fully load the webinterface now and is stuck loading.
It is still accesible via telnet and still does it's stuff through mqtt.
if i look at the devices recognised by the gateway it shows the nefit proline, bc10 base controller and an unknown device.
This unknown device (0x17)
is sending commands to the boiler.
I'm guessing that is my moduline 200 thermostat and it is not being recognised ?
I found someone mentioning somewere that that was a bug and fixed in the beta so i installed the latest domoticz beta and now it doesn't say loading but i still don't get any devices at all.
Both times every time i accress or refresh the devices screen the log says: "2020-02-19 17:34:50.207 Error: WebServer PO exception occurred : 'stoull'"
As soon as i remove the ems gateway in the hardware page everything works normal again.
I can see no other error messages.
The rest of my log looks like this:
Edit: i think i got it fixed, turns out the beta has a whole lot of squares to check before you see anything.2020-02-19 17:43:47.074 (EMS Bus) onMessage called with: PINGRESP
2020-02-19 17:43:47.075 (p1 smart meter usb) P1 Smart Meter (Power)
2020-02-19 17:43:47.118 (p1 smart meter usb) General/Voltage (Voltage L1)
2020-02-19 17:43:47.170 (p1 smart meter usb) Usage (Usage L1)
2020-02-19 17:43:47.227 (p1 smart meter usb) Usage (Delivery L1)
2020-02-19 17:43:52.061 (p1 smart meter usb) P1 Smart Meter (Power)
2020-02-19 17:43:52.099 (p1 smart meter usb) General/Voltage (Voltage L1)
2020-02-19 17:43:52.151 (p1 smart meter usb) Usage (Usage L1)
2020-02-19 17:43:52.208 (p1 smart meter usb) Usage (Delivery L1)
2020-02-19 17:43:53.687 Error: WebServer PO exception occurred : 'stoull'
2020-02-19 17:43:54.788 Error: WebServer PO exception occurred : 'stoull'
2020-02-19 17:43:55.268 Error: WebServer PO exception occurred : 'stoull'
2020-02-19 17:43:56.568 (SMA sunny boy 1.5) onHeartbeat called 1
2020-02-19 17:43:57.079 (p1 smart meter usb) P1 Smart Meter (Power)
2020-02-19 17:43:57.126 (EMS Bus) onMessage called with: PINGRESP
2020-02-19 17:43:57.135 (p1 smart meter usb) General/Voltage (Voltage L1)
2020-02-19 17:43:57.182 (p1 smart meter usb) Usage (Usage L1)
2020-02-19 17:43:57.235 (p1 smart meter usb) Usage (Delivery L1)
also found out i did something dumb; it says on the wiki to set "home" in the firmware, i went there and it already said "home" in light grey so i thought that was good, it wasn't lol.
I am guessing that because i did not manually enter "Home" domoticz could not connect to the gateway with mqtt and generated the stoull error message ?
I'll leave this here for other clueless people

Edit: it seems i messed things up a bit.
I wasn't getting any values for HC1 2 3 or 4 and decided to update the firmware on the ems gateway.
It Wont fully load the webinterface now and is stuck loading.
It is still accesible via telnet and still does it's stuff through mqtt.
if i look at the devices recognised by the gateway it shows the nefit proline, bc10 base controller and an unknown device.
This unknown device (0x17)
is sending commands to the boiler.
I'm guessing that is my moduline 200 thermostat and it is not being recognised ?
0xB1, telegram: 17 00 B1 00 04 26 00 BE 00 00 00 BE (CRC=CF) #data=8
(00:30:17.819) 0x17 -> Boiler, type 0x35, telegram: 17 08 35 00 11 00 (CRC=C1) #data=2
(00:30:19.642) Boiler -> All, type 0x34, telegram: 08 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 DC 1D 02 01 90 00 (CRC=12) #data=17
(00:30:19.876) Boiler -> All, type 0x18, telegram: 08 00 18 00 41 02 30 0A 17 09 01 25 40 80 00 80 00 01 D8 00 44 11 2D 48 00 C8 00 02 00 (CRC=F0) #data=25
(00:30:29.564) Boiler -> All, type 0x34, telegram: 08 00 34 00 3C 80 00 80 00 21 00 00 01 00 00 DC 1D 02 01 90 00 (CRC=12) #data=17
(00:30:29.796) Boiler -> All, type 0x18, telegram: 08 00 18 00 41 02 30 0A 17 09 01 25 40 80 00 80 00 01 D9 00 44 11 2D 48 00 C8 00 02 00 (CRC=94) #data=25
(00:30:36.519) 0x17 -> Boiler, type 0x1A, telegram: 17 08 1A 00 5A 0A 00 00 (CRC=F0) #data=4
-
- Posts: 287
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Domoticz doesnt update the ems devices , it works for a day and then its the same problem,
Then i have to stop domoticz and restart it again.
What can be the problem?
Then i have to stop domoticz and restart it again.
What can be the problem?
-
- Posts: 11
- Joined: Tuesday 18 February 2020 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
I got it working with Proddy's help.
Turns out my thermostat wasn't supported by the software yet, it is now.
Turns out my thermostat wasn't supported by the software yet, it is now.
-
- Posts: 117
- 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)
Does anyone know how to solve this?
If I change the temperature in Domoticz to lets say 21 degrees the temperature in EMS-ESP stays on 20.5 degrees.
In Domoticz I see
2020-03-07 07:56:31.575 (Nefit ww = domoticz) MqttClient::Publish home/ems-esp/thermostat_cmd_temp (21.0)
On the MQTT server I see
home/ems-esp/thermostat_cmd_temp 21.0
But on the EMS-ESP version 1.9.5b3
Thermostat: RC20/Moduline 300
Setpoint Temperature: 20.5 ℃ Current Temperature: 20.7 ℃
If I change the temperature in Domoticz to lets say 21 degrees the temperature in EMS-ESP stays on 20.5 degrees.
In Domoticz I see
2020-03-07 07:56:31.575 (Nefit ww = domoticz) MqttClient::Publish home/ems-esp/thermostat_cmd_temp (21.0)
On the MQTT server I see
home/ems-esp/thermostat_cmd_temp 21.0
But on the EMS-ESP version 1.9.5b3
Thermostat: RC20/Moduline 300
Setpoint Temperature: 20.5 ℃ Current Temperature: 20.7 ℃
-
- Posts: 11
- Joined: Tuesday 18 February 2020 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
You will get an answer quicker if you ask this on the plugin's github page: https://github.com/proddy/EMS-ESP/issues
-
- Posts: 117
- 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)
Upgraded to the latest build and this solved the problem, the version is version 1.9.5b51niki_lauda wrote: ↑Saturday 07 March 2020 7:59 Does anyone know how to solve this?
If I change the temperature in Domoticz to lets say 21 degrees the temperature in EMS-ESP stays on 20.5 degrees.
In Domoticz I see
2020-03-07 07:56:31.575 (Nefit ww = domoticz) MqttClient::Publish home/ems-esp/thermostat_cmd_temp (21.0)
On the MQTT server I see
home/ems-esp/thermostat_cmd_temp 21.0
But on the EMS-ESP version 1.9.5b3
Thermostat: RC20/Moduline 300
Setpoint Temperature: 20.5 ℃ Current Temperature: 20.7 ℃
Last edited by niki_lauda on Saturday 07 March 2020 18:06, edited 2 times in total.
-
- Posts: 11
- Joined: Tuesday 18 February 2020 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
not that strange, im on b46, this plugin updates very frequently on the dev branch.
The author seems to not have finished it by a long shot and keeps adding new features.
Which is a good thing, my thermostat wasn't even supported and within a day it was
The author seems to not have finished it by a long shot and keeps adding new features.
Which is a good thing, my thermostat wasn't even supported and within a day it was

Re: Nefit / Buderus data/control via Arduino / ESP8266 to Domoticz (directly without OpenTherm module or Easy)
Hi BBQKEES
Your work is very impressive.
My question is, do You have a short/long term plans to enable full functionality with Buderus TC100 Thermostat (new version).?
-
- Posts: 117
- 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)
Does someone know how to switch off the warm water with an script from the domoticz server.
I have an solar water heater that approaches 50 degrees. Normally I switch off the boiler manually. Now I can switch it off bij entering the line
boiler tapwater off.
If the temperature drops to level < 45 I switch it on again.
Can it be done from the domoticz server with a script?
I have an solar water heater that approaches 50 degrees. Normally I switch off the boiler manually. Now I can switch it off bij entering the line
boiler tapwater off.
If the temperature drops to level < 45 I switch it on again.
Can it be done from the domoticz server with a script?
- 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)
If you have one you can open an issue on the EMS-ESP repository and they will help you over there in adding support.
The TC100.2 looks identical to the Bosch TC200 and that one does not send its parameter data over the EMS bus so it cannot be supported at all.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 117
- 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)
Just checking
On https://bbqkees-electronics.nl/wiki/gat ... mware.html it says that updating from 195 or lower will brick your device
"If you are on firmware 1.9.5 or lower DO NOT upload the new V2 firmware via the web interface! Currently this new firmware can only be used when the ESP is fully erased first. Loading it via the web interface on a 1.9.5 version ESP will brick the ESP."
I'm on version 1.9.6b0.
To upgrade or not to upgrade thats the question?!
On https://bbqkees-electronics.nl/wiki/gat ... mware.html it says that updating from 195 or lower will brick your device
"If you are on firmware 1.9.5 or lower DO NOT upload the new V2 firmware via the web interface! Currently this new firmware can only be used when the ESP is fully erased first. Loading it via the web interface on a 1.9.5 version ESP will brick the ESP."
I'm on version 1.9.6b0.
To upgrade or not to upgrade thats the question?!
- 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)
2.0.0 was released two days ago on Saturday evening. I did not have time yet to update the wiki, the wiki warns about V2 beta firmware.
You can install the update. Should not cause any problems.
Migrating from version 1.9:
EMS-ESP will attempt to automatically migrate the 1.9 settings.
Note there are some noticeable different to be aware of in version 2:
MQTT base has been removed
There is no "serial mode" anymore like with version 1.9.
If you experience serious problems send me an email via the webshop and we will solve the issue.
V2 is a massive improvement over 1.9.5.
At least for me V2 does not give any issue with regard to the Domoticz plugin.
But keep in mind the MQTT base has been removed so that should be changed in the plugin settings as well.
You can install the update. Should not cause any problems.
Migrating from version 1.9:
EMS-ESP will attempt to automatically migrate the 1.9 settings.
Note there are some noticeable different to be aware of in version 2:
MQTT base has been removed
There is no "serial mode" anymore like with version 1.9.
If you experience serious problems send me an email via the webshop and we will solve the issue.
V2 is a massive improvement over 1.9.5.
At least for me V2 does not give any issue with regard to the Domoticz plugin.
But keep in mind the MQTT base has been removed so that should be changed in the plugin settings as well.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 117
- Joined: Saturday 31 August 2013 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Eindhoven (NL)
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest