-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Support] I can´t connect with my heat pump #1
Comments
Hi, I'm not 100% sure, but it may be because I've set things up to use UART1, and it looks like you've wired things up to use UART0 on the WROOM. It may work if you change the code in "ehal_hp.cpp": Line 15:
Should tell things to use UART0, I think? But I've only ever tried it using UART1 on my side. |
Hi, I´ve tried everything. Change pins and use UART2 with RX2 (16) and TX2 (17) but it remains the same. Does not receive anything from heat dump. HardwareSerial port = Serial2; |
Hmm, that sounds like it should work from the software side then. Unfortunately I don't have a WROOM board I can test with myself to confirm, but are you able to successfully connect to the heat pump using your board and some of the other heat pump communication libraries (a few are listed in the README for this repository)? This post mentions using a NodeMCU ESP32 board and Tx working, but no packets received. Some boards require a voltage regulator to bring down the 5V from the heat pump to 3.3V for the serial connection, or pullup resistors on the Rx pins (although this other post mentions not needing pullup resistors, but also some other UART issues which forced them to use UART0. |
I've buy the same board like you (lolin S2 mini). When it arrives, I will check. |
Just FYI, I pushed some changes to try to improve compatibility with the WROOM boards, I don't know if it will help with your issue, but it moves the serial tx/rx pins to ones which should work for the WROOM and fixes an issue that I wasn't explicitly setting the TX pin as an output. |
Hmm, so from that picture you're still just not receiving any replies from the heatpump. Debugging is a bit awkward, because I don't think there's much we can easily do from software, from the point of view of the code it's successfully sending data on the GPIO pins, but it's just not getting a response. One option might be to wire up and LED on the between TX pin on the ESP32 side, and RX on the heat pump, and between RX on the ESP32 and TX on the heat pump. At 2400 baud it should be slow enough that you can see it flash when there's data being transmitted. That might let you confirm if the ESP32 just isn't able to send any data, or if it's really that responses signals from the heat pump aren't being received. (If you have one, a logic analyser might be a more high-tech solution to that). |
Hi Richard,
I tested again with other esp32 (Chinese clon of spressif wroom 32) and the
first time I had the same error. Then, I switch in my board the TX and RX
pins and Eureka! the board starting received data.
So, I think it was my mistake. In my HA integration, I've some entities
Whose values I don't understand. Especially the temperature of zone 1. If
you like, you can close this issue and we will discuss the other topics in
another thread.
Regards.
El lun, 30 oct 2023, 19:00, Richard Broker ***@***.***>
escribió:
… I don't know if I'm missing something or if the pins are okay. I attach a
photo. Is there any way to debug if there is an error with the UART serial
port and the RX and TX pins?
Hmm, so from that picture you're still just not receiving any replies from
the heatpump. Debugging is a bit awkward, because I don't think there's
much we can easily do from software, from the point of view of the code
it's successfully sending data on the GPIO pins, but it's just not getting
a response.
One option might be to wire up and LED on the between TX pin on the ESP32
side, and RX on the heat pump, and between RX on the ESP32 and TX on the
heat pump. At 2400 baud it should be slow enough that you can see it flash
when there's data being transmitted. That might let you confirm if the
ESP32 just isn't able to send any data, or if it's really that responses
signals from the heat pump aren't being received. (If you have one, a logic
analyser might be a more high-tech solution to that).
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLQJD6DKAKP2YTSQAJABYLYB7TLHAVCNFSM6AAAAAA277T7QGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBVG43DSMJYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sure, no problem, I'm glad you found the issue in the end! My system only has 1 zone, so perhaps if you have 2 zones some modification is needed but it's hard for me to say. I'm happy to try and help in another thread if you'd like (my names for some entities maybe are also not very good / accurate, so maybe it is not helping?) |
Hi @rbroker,
I'm trying to use your code to connect to my Ecodan FCT6 but I can't see data on my home assistant.
My esp32 card is a WROOM Devkit and in principle the TX (GPIOP1) and RX ( (GPIOP3) pins for serial communication I think they should be fine but I don't receive any data.
Could you help me with this? I'll give you a couple of screenshots and the diagnostic log.
Device info
Overview
Logs
ESP32 WROOM Pinout
The text was updated successfully, but these errors were encountered: