-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Connection not working! #20
Comments
The Python-Version is okay, with a older version it throws an error. The MQTT-Connection is fine. |
Is the grounding correct? |
Switched RX and TX. No dice! What do you mean with grouding? |
The readme says differently.. |
There's a note about the grounding in the README. Admittedly, it's a shot in the dark. |
Ordered a replacement LIN-UART and will send the old one back, as I assume it was not working correctly out of the box. Also ordered an MPU6050. Lets see how this can nicely be integrated into Home Assistant. BTW: Thanks for your efforts ;) |
I also ordered an MPU6050. If you're interested, there's a separate "issue" (#16) about MPU6050-related topics. 😉 |
...then lets work on something nice for home assistant. BTW: Ich bin "snipah" im Pösslforum. Du 3sine? |
Hey snipah, |
There is an example for a HA-integration from Sönke (skebber) in our docs |
Hey snipah, I would close this issue, if it is okay for you. Hopefully you see a connection with the new device - your comments will be welcome |
Solved and is was just my fault... and 7wells was totally right. I did not connect ground coming from the ESP and nobody noticed, even though the pictures above clearly show it. 7well's shot in the dark was absolutely right. Replacement LIN2UART arrived today and it did not work... so I looked at 7wells pictures in the RX/TX issue raised, and then I noticed that he had ground from the ESP connected to the adapter. Changed the wiring according and: BAM, worked immediately :) |
So you are right, on your pictures is clear to see the missing grounding - sorry that I didn't give you this hint. I'll try to pick this up in the docs |
Just saw today that you updated also the README with lots of useful information. Thank you so much, Magnus! :) |
Here is another very clear connection diagram from a successful installation. At Hannes Schleeh inetbox DIY you can find a very detailed manual, which is originally in German but should be understandable in other languages due to a translation function. |
of course, but you should not use the gnd-connection. Better you use the supply ground |
Check for credentials.dat
credentials.dat file exists -> pass the ask for credentials
Found ESP32 Board, using UART2 for LIN on GPIO 16(rx), 17(tx)
main-loop is running
INFO:mqtt_async:connecting wifi
lin-loop is running
INFO:mqtt_async:Connecting to ('192.168.1.21', 1883) id=b'0cb815cd8ff4' clean=1
INFO:mqtt_async:Connecting to ('192.168.1.21', 1883) id=b'0cb815cd8ff4' clean=0
Wifi connected
MQTT connected
set ha_autoconfig
publish energy_mix:gas
publish el_power_level:0
publish target_temp_water:0
publish target_temp_room:0
publish alive:OFF
publish heating_mode:off
publish operating_status:Off
publish current_temp_room:0
publish current_temp_water:0
publish alive:OFF
publish alive:OFF
publish alive:OFF
What could I check? I switched TX/RX from the ESP and also LIN/Ground. Does not seem to connect. Also did several resets on the CP+. No clue! Installed the latest unstable MicroPython and set up everything again... no dice!
What could I check next....? is it correct that the 12V-LED on the UART2LIN is lit?
The text was updated successfully, but these errors were encountered: