hn / ginlong-solis

Solis inverter ESP8266 data logger, S3 WiFi stick reverse engineering and ESPhome firmware
90 stars 16 forks source link

Problems with wemos/esphome & Solis RHI-5K-48ES-5G #21

Closed ErwinP closed 9 months ago

ErwinP commented 9 months ago

Hi,

First of all: thank you for making this possible, and for all the work that you have put in this! I don't like the need of pulling my data from the ginlong servers, and this projects would fit all my needs.

I've set up a wemos D1 device using ESPHome as indicated in the readme, device_base solis-modbus-esinv.yaml. The RX/TX lights of the RS485-to-serial adapter are blinking. However, I can't get this to work: the state of all sensors is "NA" and I'm getting the following from the logs:

[D][modbus_controller:040]: Modbus command to device=1 register=0x8119 countdown=0 no response received - removed from send queue [D][modbus_controller:040]: Modbus command to device=1 register=0x8121 countdown=0 no response received - removed from send queue [D][modbus_controller:040]: Modbus command to device=1 register=0x8131 countdown=0 no response received - removed from send queue [D][modbus_controller:040]: Modbus command to device=1 register=0x8137 countdown=0 no response received - removed from send queue [D][modbus_controller:040]: Modbus command to device=1 register=0x8161 countdown=0 no response received - removed from send queue

I'll be very honest to start off: this whole modbus thing is super new to me and I'm still quite confused about this. Any hints as to what is happening or where to start troubleshooting, would be very much appreciated :)

Thank you in advance!

Kind regards, Erwin

hn commented 9 months ago

Well, if TX/RX are blinking, RS485 data likely is flowing, but ... you never know.

ErwinP commented 9 months ago

I just realized I never gave feedback on this one, sorry! Actually, when trying to play around with the TX/RX wire, I lost all connection. I therefore suspect that my soldering skills are not as good as I wished for :) I decided to go for the wifi stick, of which the view has a slightly higher wife acceptance factor anyway. But it's giving me headaches anyhow, will open a new issue for that.

Thank you for the feedback!