Closed Cis4Cookies closed 1 month ago
@Cis4Cookies have you tried just installing the sDongle and connecting it to the LAN/Internet, so it can then do SNTP time updates, but then simply blocking outbound traffic on your home firewall to intl.fusionsolar.huawei.com or *.fusionsolar.huawei.com (or its specific IP addresses)? Changing the setting for the FusionPortal to connect to in the mobile phone Fusion App to some non existant URL would also do the same job.
While I appreciate your situation, adding this entity to the integration would surely confuse people: configuration entities are only updated every 5 minutes, making sure that it would always show a wrong number in HA.
Feel free to add it yourself by following the steps described in https://github.com/wlcrs/huawei_solar/wiki/Defining-custom-sensors, but applied to https://github.com/wlcrs/huawei_solar/blob/main/number.py#L64 instead.
Describe your feature request
My setup involves an offline SUN2000-6KTL-M1 inverter, that is deliberately commissioned without a smart dongle since I do not want to expose all my energy data to Huawei nor use the FusionSolar app for energy visualization.
I have a direct serial connection to my RPi4 which is running HA OS. The integration works like a charm so far.
The only drawback of an offline inverter is, that over time the inverter's system time goes out of synch, causing delays in time-based Modbus registers like "daily yield", etc. Currently, I connect to the inverter WiFi every now and then to adjust the time manually.
Would it be possible to add the corresponding registers shown below, so that we could use a simple HA automation for setting the system time and time zone regularly, e.g. on a daily basis.
Proper usage