Closed wlcrs closed 1 year ago
@steve-hawkins Your diagnostics file shows that the configuration parameters are correctly populated. This is different from the original issue. Can you describe exactly what your problem is, preferably with screenshots illustrating your problem?
none of the configuration changes that require elevated permissions appear to work, as an example if I set the switch.battery_charge_from_grid entity value to false / off it shows as off in Home Assistant yet it is not then reflected in the Huawei configuration: -
Can you please generate debug logs via the method described here: https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics
Please mention what changes to the configuration you tried to make while debug logging was enabled. Which one succeeded? Which didn't?
Configuration changes whilst running debug logs: -
I've inspected your debug logs, and can see no errors when you change these values: the inverter accepts them nicely.
I however have been able to replicate the behavior, but I'm assuming it is caused by the wrong value being cached by the FusionSolar app, or maybe the online backend?
After changing these values, I observe that the changes are not directly reflected by the FusionSolar app, but they do appear to have come through when checking on the inverter directly.
You can check the real value of each setting by directly connecting to the inverter via the "Device commissioning" function of the FusionSolar app. Most settings can be found under 'Power adjustment'. You'll need to disable the integration when you want to use the Device Commisioning tool.
Thanks @wlcrs I'll do some more testing as I starting looking into this when turning off charge from grid whilst away from the property for a couple of days. Doing this through home assistant showed it was off, but the overnight TOU charging period still pulled from the grid.
Someone in the HA forum mentioned that it takes 10 minutes for the "Charge from grid" to be activated/deactivated after he flips the "Battery Charge from Grid" switch. I tried the replicate it with my setup and is doing the same.
Steve, did you try to wait for the 10 minutes to pass before checking in the fusion solar app/commisioning?
I'm also seeing this behaviour, even after like 30 minutes. Not sure if the changes are being applied or not.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I didn't want to raise a new issue - bug as it is more than likely the same as @r13ssh is running into, but let me know if you want me to raise a new one instead
here are the details after enabling extensive logging as you have suggested: -
Describe your Huawei Solar Setup
Inverter Type: SUN2000-6KTL-L1 Inverter Firmware version: V200R001C00SPC124 SDongle present: no Power meter present: single phase Battery: LUNA2000 10kWh Battery Firmware version: V100R002C00SPC116
How do you connect to the inverter?
Via SUN2000- WiFi
Upload your Diagnostics File
Diagnostics File:
config_entry-huawei_solar-e698316461e8c0ed05ffbd592187e6c1.json.txt
Upload your relevant debug logs
home-assistant_2023-01-23T17-59-18.918Z.log
_Originally posted by @steve-hawkins in https://github.com/wlcrs/huawei_solar/issues/265#issuecomment-1400755606_