Closed lufton closed 2 months ago
Ok. My inverter is 220v / 50hz
Could you also upload some photos, for people, how might have the same revision of inverter?
The photos of the inverter?
Yes
I'm waiting for your update. Anyway thank you for your availability.
@cristianoggi, I have integrated my changes into repository. It should help with reading stats of inverter in your case. Not sure if changing of paramters will work though. Try using regular dtu-wbs1-v001-24v-example.yaml this time, not dtu-wbs1-v001-24v-example-local.yaml.
Ok @lufton. As soon as I can I'll flash it using the example.yaml and I'll let you know. For now thank you.
@lufton It works great! So far I've looked at it and it makes everything visualize! I'll finish testing it and update you. Great job!
Great! Like I said, configuring is probably not going to work right away. But I'm working on it.
@lufton Yes indeed the configuration does not work. It does not change the parameters. Could you add the PV details? Thanks.
Just uncomment pv package line: https://github.com/lufton/esphome-inv-8851/blob/044e6a2707213970f2fb3776e96eeca4ffd6463d/dtu-wbs1-v001-24v-example.yaml#L21
@lufton I'm flashing the configuration with the addition of the pv.yaml package but I get this error from the core.yaml package line 26
Sorry, that was my fault. I forgot to change 1 paramter in core.yaml. I have updated repo, try again.
The error remained....
Please try again using correct file: https://github.com/lufton/esphome-inv-8851/blob/main/dtu-wbs1-v001-24v-example.yaml
@lufton All ok. Thanks.
So, had you successfully receive data from inverter? Could you please check if changing parameters works (e.g. Backlight
)?
@lufton I received the data correctly. I tried to change the backlight status but it doesn't work.... It doesn't change.
@cristianoggi okay, I will investigate further and fix this ASAP.
@cristianoggi I think we where able to fix the issue with settings not being applied. Thanks to @leodesigner and his update in a library. Please try re-flash DTU using the same configuration you used last time. It should redownload new library file and fix the issue.
Okay. As soon as I can I'll flash it and update you. Do I always use dtu-wbs1-v001-24v-example.yaml?
Yes
Has the repository been updated? I flashed the DTU in Esphome but nothing changed.
Check flashing log. It should show dependency library leodesigner/PowMr_4500_regmap v1.0.3. If version is lower than 1.0.3 then clean build files from menu and try flashing again.
Executed as described and this time everything works! It even changes in writing...everything I set from the application, also changes on the inverter. Thanks for everything!
You are welcome! Please be careful messing with inverter parameters as this can damage you inverter or battery!
Yes I know. I just did the tests to see if it worked. Thank you.
@lufton Hi. Everything works. However, sometimes the entities are not available for a very short time. Is this normal? Or is there something that can be done? Thanks.
How often that happens? This could be connection issue. Check you wifi signal strength. Also check the logs.
It happens from time to time. What should I see in the logs?
Well, probably something that WiFi connection lost or connection to Home Assistant lost.
The DTU device disconnects. I noticed this because the WIFI LED goes off. Could the problem be with the WIFI network or the DTU device?
INFO ESPHome 2024.8.3 INFO Reading configuration /config/esphome/dtu-wbs1-v001-24v-example.yaml... INFO Updating https://github.com/lufton/esphome-inv-8851@main INFO Updating https://github.com/lufton/esphome-inv-8851.git@main INFO Starting log output from 192.168.1.5 using esphome API INFO Successfully connected to dtu-wbs1-v001 @ 192.168.1.5 in 0.041s WARNING Can't connect to ESPHome API for dtu-wbs1-v001 @ 192.168.1.5: Handshake timed out after 30.0s (TimeoutAPIError) INFO Trying to connect to dtu-wbs1-v001 @ 192.168.1.5 in the background WARNING dtu-wbs1-v001 @ 192.168.1.5: Connection error occurred: dtu-wbs1-v001 @ 192.168.1.5: Connection lost
This is most likely problems with WiFi signal strength.
Yes indeed I moved the DTU device closer to the router. I think and hope I have solved it. Thanks.
Investigating issue with empty values for @cristianoggi in https://github.com/lufton/esphome-inv-8851/issues/19 I found out that some invertors has different packet length 158 vs 154 for state and 104 vs 100 for config. I need to investigate deeper and create a way to handle this mismatch. Looks like those 4 bytes are all zeros at the end of data section. Will continue discussion in this thread. Here is state packet example:
and config packet example: