tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
149 stars 27 forks source link

Missing Data #108

Closed stefanofalasca closed 1 year ago

stefanofalasca commented 1 year ago

Well seem that all data that I can see are only statistics data, missing all real time data. For example Status Battery %, battery energy in, bettery energy out, energy from grid, energy out to grid.....

Screenshot 2023-08-30 alle 22 13 59

any idea ?

tijsverkoyen commented 1 year ago

The screenshot shows the plant data. The realtime data is linked to the inverter device.

stefanofalasca commented 1 year ago

I haven't any inverted devices showed, I see plant with this data

Screenshot 2023-08-31 alle 21 26 36
tijsverkoyen commented 1 year ago

There is something weird with your account. Feel free to send your credentials to me ‘FusionSolar at verkoyen dot eu’ and I will try to debug it.

stefanofalasca commented 1 year ago

ok I sent you

tijsverkoyen commented 1 year ago

@stefanofalasca Yeah I tried to debug it. And I think the changes in https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 will resolve your issues.

Do note that you will probably have performance issues in your Home Assistant instance on startup.

Could you try to apply the changes in https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 and let me know if the issue is resolved. If so I will create a new release. Thanks in advance

As told by email you have access to more than 100 stations, which is not supported by the Huawei API. So you need to disable the stations that don't have meaning to you (as you already did). I still think it would be best that you contact your installer (or Huawei support) and tell them you have access to stations that are not yours, and they should limit your OpenAPI account to have acces to your station and devices only.

stefanofalasca commented 1 year ago

Thanks Tijs, I already opened a ticket to huwaei, before to try, I will try soon Stefano Falasca

Il giorno ven 1 set 2023 alle ore 16:04 Tijs Verkoyen < @.***> ha scritto:

@stefanofalasca https://github.com/stefanofalasca Yeah I tried to debug it. And I think the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 will resolve your issues.

Do note that you will probably have performance issues in your Home Assistant instance on startup.

Could you try to apply the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 and let me know if the issue is resolved. If so I will create a new release. Thanks in advance

As told by email you have access to more than 100 stations, which is not supported by the Huawei API. So you need to disable the stations that don't have meaning to you (as you already did). I still think it would be best that you contact your installer (or Huawei support) and tell them you have access to stations that are not yours, and they should limit your OpenAPI account to have acces to your station and devices only.

— Reply to this email directly, view it on GitHub https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/108#issuecomment-1702803047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQ7HIUTLMSLNWPP74JEWLXYHTPZANCNFSM6AAAAAA4FBPIL4 . You are receiving this because you were mentioned.Message ID: @.***>

stefanofalasca commented 1 year ago

Now I see new devices : Inverter, Battery and Sensor Power. For Battery and Sensor Power entities working, for Inverter no all entities are not available Stefano Falasca

Il giorno ven 1 set 2023 alle ore 18:05 Stefano Falasca @.***> ha scritto:

Thanks Tijs, I already opened a ticket to huwaei, before to try, I will try soon Stefano Falasca

Il giorno ven 1 set 2023 alle ore 16:04 Tijs Verkoyen < @.***> ha scritto:

@stefanofalasca https://github.com/stefanofalasca Yeah I tried to debug it. And I think the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 will resolve your issues.

Do note that you will probably have performance issues in your Home Assistant instance on startup.

Could you try to apply the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 and let me know if the issue is resolved. If so I will create a new release. Thanks in advance

As told by email you have access to more than 100 stations, which is not supported by the Huawei API. So you need to disable the stations that don't have meaning to you (as you already did). I still think it would be best that you contact your installer (or Huawei support) and tell them you have access to stations that are not yours, and they should limit your OpenAPI account to have acces to your station and devices only.

— Reply to this email directly, view it on GitHub https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/108#issuecomment-1702803047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQ7HIUTLMSLNWPP74JEWLXYHTPZANCNFSM6AAAAAA4FBPIL4 . You are receiving this because you were mentioned.Message ID: @.***>

stefanofalasca commented 1 year ago

missing screenshot

Stefano Falasca

Il giorno ven 1 set 2023 alle ore 22:54 Stefano Falasca @.***> ha scritto:

Now I see new devices : Inverter, Battery and Sensor Power. For Battery and Sensor Power entities working, for Inverter no all entities are not available Stefano Falasca

Il giorno ven 1 set 2023 alle ore 18:05 Stefano Falasca @.***> ha scritto:

Thanks Tijs, I already opened a ticket to huwaei, before to try, I will try soon Stefano Falasca

Il giorno ven 1 set 2023 alle ore 16:04 Tijs Verkoyen < @.***> ha scritto:

@stefanofalasca https://github.com/stefanofalasca Yeah I tried to debug it. And I think the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 will resolve your issues.

Do note that you will probably have performance issues in your Home Assistant instance on startup.

Could you try to apply the changes in #109 https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/109 and let me know if the issue is resolved. If so I will create a new release. Thanks in advance

As told by email you have access to more than 100 stations, which is not supported by the Huawei API. So you need to disable the stations that don't have meaning to you (as you already did). I still think it would be best that you contact your installer (or Huawei support) and tell them you have access to stations that are not yours, and they should limit your OpenAPI account to have acces to your station and devices only.

— Reply to this email directly, view it on GitHub https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/108#issuecomment-1702803047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQ7HIUTLMSLNWPP74JEWLXYHTPZANCNFSM6AAAAAA4FBPIL4 . You are receiving this because you were mentioned.Message ID: @.*** com>

tijsverkoyen commented 1 year ago

Did you restart? Is the device enabled? Screenshot is still missing

stefanofalasca commented 1 year ago

yep work sorry, I restarted. Good work thanks Stefano Falasca

Il giorno ven 1 set 2023 alle ore 23:08 Tijs Verkoyen < @.***> ha scritto:

Did you restart? Is the device enabled? Screenshot is still missing

— Reply to this email directly, view it on GitHub https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/108#issuecomment-1703321385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQ7HPNIE7XN4QB3LJIPMDXYJFFTANCNFSM6AAAAAA4FBPIL4 . You are receiving this because you were mentioned.Message ID: @.***>

stefanofalasca commented 1 year ago

Tijs you know, which entities use to configure energy dashboard ? like screenshot

Stefano Falasca

Il giorno ven 1 set 2023 alle ore 23:12 Stefano Falasca @.***> ha scritto:

yep work sorry, I restarted. Good work thanks Stefano Falasca

Il giorno ven 1 set 2023 alle ore 23:08 Tijs Verkoyen < @.***> ha scritto:

Did you restart? Is the device enabled? Screenshot is still missing

— Reply to this email directly, view it on GitHub https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues/108#issuecomment-1703321385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQ7HPNIE7XN4QB3LJIPMDXYJFFTANCNFSM6AAAAAA4FBPIL4 . You are receiving this because you were mentioned.Message ID: @.***>

okidoki99 commented 1 year ago

Hello, i have also installed fusion solar, I only have 1 plant, but i'm missing one important sensor that should get me from the power sensor device the grid consumption, also this sensor needs to be seen by the energy tab in HA in order to be able to see real energy usage. Or, change the type of the sensor.power_sensor_realtime_power to be seen in the energy dashboard as an individual device and in the electricity grid section from the energy setup page. Thanks!

okidoki99 commented 1 year ago

If you are missing the data, from the API then I think a calculation needs to be done consumption_today - consumed from PV = consumed from grid. This is a no battery scenario.

tijsverkoyen commented 1 year ago

@okidoki99 i think this is a whole other issue. Feel free to create another issue.

But I will not create calculations in this integration as I don’t believe this should be part of the integration. The data that Huawei exposes through their api is exposed. If you need to do calculations based on different entities, you can do so in Home Assistant.

okidoki99 commented 1 year ago

I would do it but the data is not available, either the API does not return it or your config does not include it. It appears in the kiosk info on the web browser... maybe also Fusion Solar does not provide it.. don't know...