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
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 »

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/
niki_lauda
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)

Post by niki_lauda »

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 06 January 2020 22:28 nice website https://bbqkees-electronics.nl/cart/
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/
niki_lauda
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)

Post by niki_lauda »

Acoording to proddy in this post (https://github.com/proddy/EMS-ESP/issue ... -573782685) you can set selFlowTemp.
How can I achieve this?
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 »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
dijkdj
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)

Post by dijkdj »

So I see "read-only" for the Bosch Easy Control CT200, does this mean that there is no way to set the temperature?
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 »

dijkdj wrote: Monday 27 January 2020 15:58 So I see "read-only" for the Bosch Easy Control CT200, does this mean that there is no way to set the temperature?
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/
akortekaas
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)

Post by akortekaas »

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:
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)
Edit: i think i got it fixed, turns out the beta has a whole lot of squares to check before you see anything.
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 :lol:

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
edwin1234
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)

Post by edwin1234 »

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?
akortekaas
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)

Post by akortekaas »

I got it working with Proddy's help.
Turns out my thermostat wasn't supported by the software yet, it is now.
niki_lauda
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)

Post by niki_lauda »

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 ℃
akortekaas
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)

Post by akortekaas »

You will get an answer quicker if you ask this on the plugin's github page: https://github.com/proddy/EMS-ESP/issues
niki_lauda
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)

Post by niki_lauda »

niki_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 ℃
Upgraded to the latest build and this solved the problem, the version is version 1.9.5b51
Last edited by niki_lauda on Saturday 07 March 2020 18:06, edited 2 times in total.
akortekaas
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)

Post by akortekaas »

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 :D
Enriquez
Posts: 1
Joined: Tuesday 07 April 2020 12:50
Target OS: Windows
Domoticz version:
Contact:

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

Post by Enriquez »

bbqkees wrote: Monday 27 January 2020 16:01
dijkdj wrote: Monday 27 January 2020 15:58 So I see "read-only" for the Bosch Easy Control CT200, does this mean that there is no way to set the temperature?
Indeed. That thermostat does not respond when you try to write the temperature parameter.
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).?
niki_lauda
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)

Post by niki_lauda »

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?
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 »

Enriquez wrote: Tuesday 07 April 2020 12:53
bbqkees wrote: Monday 27 January 2020 16:01
dijkdj wrote: Monday 27 January 2020 15:58 So I see "read-only" for the Bosch Easy Control CT200, does this mean that there is no way to set the temperature?
Indeed. That thermostat does not respond when you try to write the temperature parameter.
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).?
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/
niki_lauda
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)

Post by niki_lauda »

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?!
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 »

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.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
niki_lauda
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)

Post by niki_lauda »

top
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest