Tiemme 4Heat Stove WiFi Controller

@Sava

I think that AT commands were used for the Tiemme gsm modem,

In the official 4Heat app it only uses AT commands for that, for the status(diferent on/off) and to change the temperature set it uses rs232, not same that the new board so what I would do is see what rs232 commands your stove uses, in this example in the non-colored rows are the datapoints that change when the stove is on and off. on my stove

https://www.solarweb.net/forosolar/attachments/usuarios-biomasa/32202d1734190836-comunicacion-rs232-modulo-wifi-4heat-tiemme-i3-i5-.xls

Since I donā€™t have HA Iā€™m trying to make a program in Arduino IDE and mqtt.
For Micronova boards it is solved and is much more difficult because it use a specific half-duplex transmission with checksum and easier because it uses allways the same datapoints, any help is welcome.

Hello. I have a stove with NG01 board. I have tested the solution with Wemos D1 mini and was working good for 6-7 hours, after that the communication with board froze and I had to power off and on the stove to reestablish communication. After 6-7 hours had same problem again. The problem is that it does look to be functional but is not, the stove appear to be working in HA, only if you check the temperatures you realize that the data froze. With original 4heat the stove status became Unavailable when the communication is lost. I suspect the rs232 to ttl converter to be the problem, even is the model with holes and powered at 3.3V. Please advise what to do and point me to a problem free converter (there is a link to aliexpress but there are no sales of the product / no feedback so I donā€™t know if it is a valid solution). Thank you!

@gregoriohc

I have checked the datapoints again and they work on my stove, it seems that your datapoints are different even set temperature.

Is there any document where I can get a list of possible datapoints form my board?

I don`t know because they are specific for a board an set up, so to know the datapoints of my stove and set up, I have made an excel file, non coloured rows are my possible datapoints

https://www.solarweb.net/forosolar/attachments/usuarios-biomasa/32202d1734190836-comunicacion-rs232-modulo-wifi-4heat-tiemme-i3-i5-.xls

If that is what you want, the procedure is explained here in English/Spanish

https://www.solarweb.net/forosolar/usuarios-biomasa/58946-comunicacion-rs232-wifi-4heat-tiemme-sustitucion-esp.html

As I know little about programming and only in Arduino IDE, and I have made myself the program , the procedure is mainly based on hardware but if you know programming you can make another program or add to this one that is tested a datalog file, that records the board responds and you do not need a datalogger.

About the fan.

It works as its set up TPar Tp03 Heating Fan Menu, P06 Heating power 1= The same as combustion power 2= proportional to the exhaust temperature 3= proportional to the local room temperature.

How to change the volts?

If you know the datapoints with air or rair

If you donā€™t know maybe by brute force changing in TPar Tp03 Heating Fan Menu F01(0-230V) power1ā€¦ā€¦F05(0-230V) power 5

That you can also change by rs232

Datapoints F01 A20579000000000000 ā€¦ā€¦, F05 A20583000000000000

Tell me what happens

EDIT

I understand that the firmware is different as mine is from a distinct Brand and Model.

The Mb100 Tiemme board has only 2 firmwares Air and hydro, and only two technical manuals Air and hydro

Hello can I use WS-24962 to connect MB100 with HA? somebody to help me with this?

With the last HA update there are errors and 4Heat is not starting. Please consult the changes you have to make in the code so it work again. You can find the topic of the errors in here and the solution in here

How do you power the wemos d1 mini board? Through the Tiemme board or with an external power supply.

Where to buy the rs232-ttl converter my post 235.

If you use a wemos d1 mini board you can power it at 5 volts or 3.3V because it has 2 outputs, if you use an esp32 3.3V because it has only one output.

Be careful with the rs232-ttl converter because it may have the pinout wrongly printed see post above

Thank you for answer. I have an Wemos D1 mini powered by 5V external adapter thorough the USB connector and the rs232-ttl converter is powered from 3.3V Wemos pin. I will buy the converter you indicated and try. Thank you very much for your work. Have a great day!

Hi, I have purchased a Dielle brand hydro stove that comes with a Wikey WiFi adapter. I want to try to view the data from HA. So far I registered in the dielle app (I hope this is enough and I donā€™t have to do it in the ā€œ4heatā€ app since I think they have blocked my server here.
I also added the 4time integration to HA through hacs but, when I go to add the integration in HA, I get the following error:
ā€œ{ā€œmessage:ā€ Invalid handler specifiedā€™)ā€

In the HA log it tells me the following:
Registrar: homeassistant.config_entries
Source: config_entries.py:3314
First occurred: 12:08:42 (2 occurrences)
Last recorded: 22:04:58

Error occurred loading flow for integration 4heat: cannot import name ā€˜TEMP_CELSIUSā€™ from ā€˜homeassistant.constā€™ (/usr/src/homeassistant/homeassistant/const.py)

in the folder /usr/src I donā€™t have the homeassistant folder or any other files.
What do I need to create/do to make it work?

Can you help me with this? MĆ“Å¾eÅ” mi pomĆ“cÅ„ s pripojenĆ­m do HA?

Have same problem
Aun solutions?

Registrador: custom_components.4heat.switch
Fuente: custom_components/4heat/switch.py:109
integraciĆ³n: 4Heat Stove (documentaciĆ³n)
OcurriĆ³ por primera vez: 16:59:37 (46 ocurrencias)
ƚltima vez registrado: 17:21:44

  • ā€˜30001ā€™
  • ā€˜30002ā€™

@markchang87

Have you tried the answer that was given to your question and it doesnā€™t work?

until yesterday the on-off command worked perfectlyā€¦ today however when I try to turn it off, it gives me this error

[14:51:44][D][switch:016]: ā€˜Stateā€™ Turning OFF.
[14:51:44][D][fourheat:166]: Listener for I30254 not found. Data: 30.30.30.30.30.30.30.30.30.30.30.30 (12)

After the update to v0.6.1 the off switch is buggy. I have to press it twice at least after a time, and I get these errors one after another in the logs.
@zauberertz Have you noticed something similar?


image
image

Official Tiemme 4Heat app only worked with the 4heat module, but now it can work with other modules, for instance the new 4Heat lite module uses rs485 communication and possibly modbus.

Looks like Tiemme has made big changes, and now it is very difficult to configure any 4heat or 4Heat lite module, because the change from temporary local wifi(4HEAT WI-FI) to the cloud has a lot of problems.

This also happens if you uninstall/remove the 4Heat module and try to install it again.

I have made last year repository for those who want to use esp module and have NG21 board. This is nothing more then just board specific (and my own heater specific) yaml setup also with some initial hardware setup instructions.
It is almost same as I already posted somewhere above but it has some little improvements. Even with same board every heater is bit different so it probably needs some tweaking with different heaters but it should be much more simple to someone who has NG21 to get initial information from one place and then modify it further to her own needs.