tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
133 stars 25 forks source link

FusionCharge charger integration #105

Closed P-Stenbumling closed 3 weeks ago

P-Stenbumling commented 10 months ago

Is the huawei charger available?

tijsverkoyen commented 10 months ago

What do you mean with that? Did you try? Do you have some more info? Which device is this exactly?

P-Stenbumling commented 10 months ago

Hi!

Sorry for the lack of information Software Version: FusionCharge V100R022C10SPC070 AC Charger Model SCharger-22KT-S0 image

tijsverkoyen commented 10 months ago

I don't think so. Is there anything exposed in the FusionSolar App on your phone? Or in the Kiosk?

tijsverkoyen commented 10 months ago

I don't think it is supported. Do you see anything in the FusionSolar app on your phone or in the kiosk? Feel free to share your credentials with me (fusionsolar-ha [at] Verkoyen [dot] eu), and I can take a look

P-Stenbumling commented 10 months ago

Yes,

image image image

tijsverkoyen commented 10 months ago

Are you willing to share your credentials? So I can check if the data is available in the API? But don't get your hope up, as I don't see anything in the documentation about FusionCharge

tijsverkoyen commented 10 months ago

@P-Stenbumling I will close this issue as there is no response. Feel free to share the credentials with me so I can have a look if any data is present.

karliwalti commented 4 months ago

May I please reopen the issue? According to this post, the charger can be started using the API https://forum.huawei.com/enterprise/en/api-capabillities-scharger-22kt-s0/thread/695710147218915328-667213868771979264

karliwalti commented 4 months ago

To facilitate the dev, I collect the existing cmd posted in forums (unfortunately I could not find the API documentation for it yet):


GET https://eu5.fusionsolar.huawei.com/thirdData/getChargerList
Authorization: Bearer YOUR_ACCESS_TOKEN
GET https://eu5.fusionsolar.huawei.com/thirdData/getChargerRealKpi
Authorization: Bearer YOUR_ACCESS_TOKEN
chargerCode=YOUR_CHARGER_CODE
POST /api/v2/chargers/1234567890/start_charging

{
  "start_time": "2023-03-08T12:00:00Z",
  "duration": 60
}
tijsverkoyen commented 4 months ago

You may.

At this point the integration is only reading data, not pushing data to the API. And to be honest I don't am very keen on adding this.

Can you tell we which device you exactly have? And are you willing to share your credentials? As I don't own a charger.

mega-alexraab commented 4 months ago

Hello, @tijsverkoyen I have the complet Huawei Sun Power Station and the Chager SCharger-22KT-S0 and full access to the system. What credentials to you need? I'm very interested to see more online data's from the charger.

You may.

At this point the integration is only reading data, not pushing data to the API. And to be honest I don't am very keen on adding this.

Can you tell we which device you exactly have? And are you willing to share your credentials? As I don't own a charger.

karliwalti commented 3 months ago

Sorry for my delay, I was waiting to get the API access, but still waiting... Once I have, would be happy to share access for a while. Plant Setuo: SCharger-22KT-S0, SUN200-8KTL-M1, 5kW battery

lucabacchipg commented 1 month ago

Hello, i'm going crazy because i shoud want integrate fusioncharge s22 into my Home Assistant Dashboard. I have a full control of my installation (i'm reseller too). Can you help me ? Do you need a documentation of Huawei SmartPVMS 24.2.0 Northbound API Reference.pdf API ? I should want to control Charging Status, Actual Power, KW loaded, Session Time, and some other issue.

karliwalti commented 1 month ago

I am selling my SCharger. That thing can´t even do phase switching when configured in 11kW.

tijsverkoyen commented 3 weeks ago

At this point I will not invest any time to add support for FusionCharge charger

lucabacchipg commented 3 weeks ago

I am selling my SCharger. That thing can´t even do phase switching when configured in 11kW.

Which means ?

lucabacchipg commented 3 weeks ago

At this point I will not invest any time to add support for FusionCharge charger

why not ?

tijsverkoyen commented 3 weeks ago

At this point I will not invest any time to add support for FusionCharge charger

why not ?

Don't take this personally. But there are a multiple reasons. I don't want to be ungrateful or impolite but:

Feel free to create a Pull Request, I will be happy to review.

karliwalti commented 3 weeks ago

I am selling my SCharger. That thing can´t even do phase switching when configured in 11kW.

Which means ?

That I have no longer the SCharger installed and won´t be able to provide access for development. I also think it is not a very good product and do recommend buying another charger that provides access to core functions via local API calls which are openly published. An example how it could be done: https://github.com/goecharger/go-eCharger-API-v2