dupondje / nrgkick-ha

Home Assistant - NRGKick Integration
17 stars 3 forks source link

New API for NRGKick #20

Closed xlazam01 closed 4 weeks ago

xlazam01 commented 1 month ago

There is a new API available for NRGkick Gen2 chargers.

ModbusTCP JSON

Documetation is here: https://www.nrgkick.com/wp-content/uploads/2024/06/website_simulate.html

I tested the API over JSON with "rest" and "rest_command" features and it works - I would be awesome to intergrate this API into your solution

dupondje commented 1 month ago

Yea, I have it also, and need to play with it. This integration needs to be switched to use the JSON API, but just need to find the time to implement it.

dupondje commented 1 month ago

https://github.com/dupondje/nrgkick-ha/commits/feat/api/

Feel free to test it :) @fano0001: Care to translate the new strings file in German ? :)

fano0001 commented 1 month ago

@dupondje yes, will translate it after my vecations

mgrn0 commented 1 month ago

@dupondje i can also try to help with that if you want.

dupondje commented 1 month ago

@mgrn0 : If you want :) My german isn't great, and I don't want to push an update which breaks the german translation.

fano0001 commented 1 month ago

Created a PR with the new translation file https://github.com/dupondje/nrgkick-ha/pull/21

dupondje commented 4 weeks ago

Pushed new version that uses the new API :)

cy-bertrand commented 3 weeks ago

Hi @dupondje , first : You're making great work and thanks for that !

Question : Can't we keep as well the old way to connect via cloud as an option ? / or on another repo on HACS ?

(My NRGKick is not yet updated + what about Sim connected device (not a fix ip) )

Many thanks,