Skip to content
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

pylontech stream server not working #6

Open
tomasvida opened this issue Dec 17, 2023 · 6 comments
Open

pylontech stream server not working #6

tomasvida opened this issue Dec 17, 2023 · 6 comments

Comments

@tomasvida
Copy link

Dear Mletenay,
thank you for your work. It is very useful and fills the holes left by the manufacturer's technology.
I have been using your integration of the good we inverter into the home assistant for a very long time. Thank you for her!
Now I'm trying to get the pylontech integration working, but I keep having problems with it, I can't do it.
I tried to use esp32 and ESP8266 but there is no difference between them.
I am successfully using the Pylontech Battery Monitoring via WiFi integration that you mention in your tutorial. It works perfectly. But when I upload esphome to ESP, with the attached configuration, I am not able to connect with the help of your integration.
Can you please advise me where I am doing wrong?
esphome-web-726110.txt

Many thanks!
Tomas

@toessfrosch
Copy link

have you found a solution?
If so can you please post the code for ESPhome

@guybw
Copy link

guybw commented Sep 12, 2024

have you found a solution? If so can you please post the code for ESPhome

Have a look at the code on my GitHub as that might help you out !

@tomasvida
Copy link
Author

Unfortunately I didn't solve it, but I will take a look at the link of a colleague who answered here today

@toessfrosch
Copy link

toessfrosch commented Sep 12, 2024

Thanks for the help
I have used an ESP32 and changed the following settings. But it does not work.

esp32:
board: esp32dev
framework:
type: arduino

Does something need to be adjusted here?
uart:
id: uart_bus
tx_pin: 1 #GPIO1 or 1 tx pin for pylontech uart
rx_pin: 3 #GPIO3 or 3 rx pin for pylontech uart
baud_rate: 115200 # baudrate for pylontech uart
rx_buffer_size: 2048

website is accessible but without data.
Time | level | Tag | Message
19:41:23 | [I] | [safe_mode:041] | Boot seems successful; resetting boot loop counter
19:41:23 | [D] | [esp32.preferences:114] | Saving 1 preferences to flash...
19:41:23 | [D] | [esp32.preferences:143] | Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
19:44:41 | [I] | [main:1308] | Testing pwrsys commands
19:44:41 | [I] | [main:1311] | This has send the pwrsys command
19:44:41 | [D] | [uart_debug:158] | >>> "pwrsys\r\n"

@guybw
Copy link

guybw commented Sep 12, 2024

Ok so a few things what pylontech is it ? Some of them require you to send a weird command before it will respond! Also the Esp32 might be different pins!

It all depends if the pylontech is on a certain firmware version.
I haven’t done sending the command as I updated my firmware and it fixed it for me but I can help if you get stuck

@toessfrosch
Copy link

Polontech US3000C 10.01.2023 (Console RJ45)
ESP32 WROM conect to TX (GPIO1) and RX (GPIO3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants