timmchugh11 / Chinese-Diesel-Heater---ESPHome

20 stars 1 forks source link

Great! More info please? #1

Open deanfourie1 opened 1 year ago

deanfourie1 commented 1 year ago

Hi, awesome to see this!

Can you please provide more info such as a wiring diagram, ESPhome code, supported heaters etc.

Thanks!

timmchugh11 commented 1 year ago

I have tapped into the blue signal wire that goes from the diesel heater to the controller, this is wired into GPIO4, as long as the esp device and heater have the same 0v, communication should work just fine.

The ESPHome code is in the .yaml file.

Supported heaters are a mindfield now. Ray Jones has an extensive guide on what heaters are supported, as this is based on his work, the same heaters are compatible. See the link below.

https://www.mrjones.id.au/afterburner/assets/files/Compatibility.pdf

Monacoslo commented 1 year ago

If I understand correctly I can use ESP32 for example and just connect it to blue wire of the controller (I have same model as in compatibility document), copy the code to esphome and it should work. Groundshould be the same as for controller but for power source I need step down from 12v -> 5v.

Did I miss something?

deanfourie1 commented 1 year ago

If I understand correctly I can use ESP32 for example and just connect it to blue wire of the controller (I have same model as in compatibility document), copy the code to esphome and it should work. Groundshould be the same as for controller but for power source I need step down from 12v -> 5v.

Did I miss something?

As far as I understand, you can use anything as your 5v source as long as you have a negative reference between your two supplies.

twanjaarsveld commented 12 months ago

A esp D1 (not the mini) has a 12v input so I think this will be awesome for this project

twanjaarsveld commented 12 months ago

Will this be able to control the heater or just read the data?

timmchugh11 commented 12 months ago

This can only read the data, I have had a the three buttons (UP, DOWN and ON/OFF) wired to relays that controls the on/off actions and heater duty so I have not been in a rush to look into the control.

deanfourie1 commented 11 months ago

Have you had any luck with integrating control with this project?

timmchugh11 commented 11 months ago

Unfortunately not, I think its my lack of knowledge on how custom componants work in esphome, I use transistors connected to the controllers buttons to simulate the button presses as shown in the readme, this hasnt pushed me to look into getting control working as I can control the duty and turn the heater on and off aswell as read the data, I can then use automations in HA to control the heater.

I will have another look if I get time, but it isn't a priority for me at the moment.

deanfourie1 commented 1 week ago

Can we simply wire in parallel with the blue wire to read the data?

timmchugh11 commented 1 week ago

Yes, I would have thought you would need to also have a common ground between the ESP and the Heater, I would also advise using an ESP32 rather than an ESP8266, the connection to the heater seems to be more stable.

deanfourie1 commented 6 days ago

Hi i've tried this but I am getting no data. It also appears to impact the heaters ability to run, it kinda keeps turning on and off.

I did notice that in your example YAML, you are using the same PIN for TX and RX of the serial UART. Is this a mistake?

I have wired HEATER BLUE WIRE >> GPIO21 and set GPIO21 as my RX pin in the YAML

Any ideas? Thanks