slavikb / BaiMon

ESP8266 - based Vaillant boiler E-Bus monitor, temperature/pressure publishing to Narodmon.ru
MIT License
46 stars 12 forks source link

temp control #2

Open serjepatoff opened 5 years ago

serjepatoff commented 5 years ago

Not actually an issue, but a question.

Is it possible to control temperature of Vaillant boiler (in other words, to create my own DIY thermostat) using your hardware/software?

slavikb commented 5 years ago

Hello, This is possible, hardware do not need any change, but software must be modified - should include control logic and use 'write parameter' commands (I used only 'read parameter'). You may learn about Vaillant command codes from OpenHAB v1 sources (https://github.com/openhab/openhab1-addons/blob/master/bundles/binding/org.openhab.binding.ebus/src/main/resources/vaillant-bai00-configuration.json). Vaillant Turbotec identifies itself as BAI00 (hence the project name 'BaiMon')

rems2235 commented 5 years ago

Hello, Great working. Thanks for all.

I want to read d.05 and d.41. i tried to change adress. 0x18 to 0x39. but there was error to read. how can i read these parameters. can you help me please. i am an amateur. what changes must be done for these d.05 and d.41. can i add these parameters to program. thank you.

slavikb commented 5 years ago

Hello, You need to know parameter format. Different parameters may have different length of response data (parameter 3 for PrepGetParm call). You may try to modify it, e.g. change from 3 to 2 or 4. Some parameters are documented in OpenHab project docs: https://github.com/openhab/openhab1-addons/blob/1.8/bundles/binding/org.openhab.binding.ebus/src/main/resources/vaillant-bai00-configuration.json. To add new parameter to BaiMon, you should define static EBusCommand structure and add it to the linked list in the ProcessMonitor() function (see the 'Build EBus command chain' comment). In case of adding large number of commands, COMMAND_TIMEOUT should be increased accordingly.

rems2235 commented 5 years ago

Thank you Slavikb. I will try to change it.

slavikb commented 5 years ago

rems2235, you can use 'Diagnostics' page on web interface to examine actual data being send on EBus, this may help to analyze what is going wrong.

rems2235 commented 5 years ago

hello slavikb. i was changed the resp lenght 3 to 2. and also parm no 0x18 to 0x39 (d.05). then it works. it reads the d.05 data and upload to narodmon. wonderfull. i am very happy . thanks for all suggestions. now i will try to add more parameter to lovely Baimon. i will give the information about this amazing programing experience (or maybe copying the project :) )

Thank you very much. see you.

zamdr commented 4 years ago

Hi. This is a great program! tell us if you are ready to write updates for boiler management, so that you can not only read but also set parameters. I'm willing to pay upgrade fees.

slavikb commented 4 years ago

Hi. This is a great program! tell us if you are ready to write updates for boiler management, so that you can not only read but also set parameters. I'm willing to pay upgrade fees.

Thank you! For now, I do not plan to implement commands to the boiler, for number of reasons:

zamdr commented 4 years ago

Hi. This is a great program! tell us if you are ready to write updates for boiler management, so that you can not only read but also set parameters. I'm willing to pay upgrade fees.

Thank you! For now, I do not plan to implement commands to the boiler, for number of reasons:

  • there is no documentation for Vaillant e-bus commands and there is a risk to break something while experimenting
  • sending such commands remotely present security risks, you must implement some authentication, that is not a simple thing (e.g. you may need a secure MQTT server)

There is a similar project" eBUSd", where boiler management is implemented. Unfortunately, it is complex and requires the installation of additional libraries and daemons. Your project is very simple and convenient, it has a great potential. I think that in order not to break the system, you can limit yourself to just a few commands: "turn on / off the heating", "set the temperature", "read the temperature of the external sensor". Once again, I am ready to pay for this work. For direct communication with me, you can find me in the telegram @zam_dr.

slavikb commented 4 years ago

zamdr, thanks for the proposal, but for now, I just have no spare time to work fully on such project, even for money. However I'll look at eBUSd, maybe get some ideas from it)

zamdr commented 4 years ago

Thank You Vyacheslav. I would be very grateful if you would respond to my suggestion)