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

Entities becomes unavailable #25

Open
chinezbrun opened this issue Nov 21, 2023 · 3 comments
Open

Entities becomes unavailable #25

chinezbrun opened this issue Nov 21, 2023 · 3 comments

Comments

@chinezbrun
Copy link

after several days of normal operation the entities in HA becomes unavailable.

Home Assistant 2023.10.5
ESPHome 2023.11.2

WiFi ok. module is online
Reinstalled - no results
Delete device from HA - no results

log shows:
22:19:02][D][modbus_controller:043]: Modbus command to device=1 register=0x94 countdown=0 no response received - removed from send queue
[22:19:03][D][modbus_controller:043]: Modbus command to device=1 register=0xA6 countdown=0 no response received - removed from send queue
[22:19:04][D][modbus_controller:043]: Modbus command to device=1 register=0x154 countdown=0 no response received - removed from send queue
[22:19:06][D][modbus_controller:043]: Modbus command to device=1 register=0x21D countdown=0 no response received - removed from send queue
[22:19:07][D][modbus_controller:043]: Modbus command to device=1 register=0x224 countdown=0 no response received - removed from send queue

@klatremis
Copy link
Owner

What hardware do you use?

This is normal feedback when the rs485 communication is not working.

@chinezbrun
Copy link
Author

chinezbrun commented Nov 24, 2023

Hardware is exactly what you recommended and the power is coming from pin7,8 .
The communication worked, and suddenly become like this, and this worry me.
i did a hardware reset (power on off) and nothing, same result.
Looking to the TTL To RS485 Module, the TX led is blinking but on RX led, nothing. Look that is no communication with inverter indeed.

I tested the the 485 communication to inverter with a python code and is working.
Any idea?

@fabhund
Copy link

fabhund commented Nov 24, 2023

For me, it has been a bit of hit'n'miss with the hardware. Meaning I went through multiple ESP32 and TTL<->RS485 boards. Also tried to jump the ground connection across the TTL board. I cannot give a reason other that try another ESP32 + TTL board. It's been working stable for me for quite a while. Also powerd from CN2 Pin7+8. Via a 5V USB stepdown module. I would assume a burnt out TTL module. I also reduced the update interval to 15s. Maybe check if the 5V is stable. Maybe add a few filter capacitors to 5V +3.3V (Not sure it will help anything) Like I said. Hit''n'miss :-/

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