syssi / homeassistant-goecharger-mqtt

go-eCharger integration for Home Assistant using the MQTT API
Apache License 2.0
88 stars 18 forks source link

go-e controller support #117

Closed cfaelled closed 5 months ago

cfaelled commented 1 year ago

Ive tried without success to add the go-e controller to HA using the addon - my go-e charger working flawless..

Is it possible to do so with this addon or does that need further development/coding ? https://go-e.com/en/products/go-e-controller

BD992000 commented 1 year ago

I think ther has to be done some coding. Maybe one can just use the code base an "just" implement the definitions according to the go-e controller api (-> https://github.com/goecharger/go-eController-API).

Maybe I will try. But I am no "python guy" so this will be kind of a challenge (because I hate the python syntax ...)

KJK-78 commented 1 year ago

I also just got the controller as my old meter died. Adding mqtt support parameters would be super as then they could be used elsewhere at HA. So basically reading the parameters eGo-Controller provides would be enough. No need to write anything.

If someone has to skills + energy to do this would be super.

syssi commented 1 year ago

Do you own the device and could you provide some MQTT message examples + topics?

karloskar commented 1 year ago

I have a controller and fired up a local mqtt broker (Mosquitto). With mqtt-explorer I can see the messages from the controller.

In what format would you prefer the message examples? And how do you prefer to get them?

syssi commented 1 year ago

In plaintext as code block here in the issue or as attached txt file if github accepts this file extension.

karloskar commented 1 year ago

Please see attached file messages.json

It's in JSONL format but GitHub wouldn't let me use the .jsonl extension. Every line is [{topic w/o prefix}, {dumped payload}]

Let me know if you need more!

KJK-78 commented 11 months ago

Hi, is there any development on this topic? If some more message examples are needed I can also try to provide. I have 3phase setup if that makes any difference.....

karvanoppa commented 11 months ago

Waiting this too. This add current sensors to my home assistant. Thanks

karloskar commented 10 months ago

I've had busy days workwise but am hoping this holiday season may bring some free time.

Is it desirable to have the controller code as part of this project/repo @syssi? As this project/repo is called homeassistant-goecharger-mqtt I was wondering whether homeassistant-goe-mqtt as a shared place or another project/repo called homeassistant-goecontroller-mqtt would be preferable. I ask this humbly as I don't now what a change of name would entail.

karloskar commented 10 months ago

I created POC here.

As of now only the basic power related things for the six CT sensors have been added.

Please note: there can be rough edges. I haven't tested installing through HACS as an example.

BD992000 commented 10 months ago

@karloskar : I tried your integration. Seems to work really well. Now I can easily store the data from my go-e controller in my influxdb.

Great work! Many thanks!

SteffenLav commented 9 months ago

Hey @karloskar - I am using your Controller POC and all the sensors I needed from it you got covered! Thank you so much. It is so nice finally to have excess PV to charge my Tesla MY fully automated :) BTW installs nicely through HACS Steffen

syssi commented 9 months ago

I'm happy about your implementation. Feel free to provide a pull request to extend the README of this project to point to your solution. We could also try to merge your device support into this project.

karloskar commented 9 months ago

I've made a pull request for a README change. Feel free to edit if you think it should be positioned elsewhere.

I don't mind at all combining our projects :smile: My experience with HA development is rather limited. Would the questions I raised further up this thread be a good starting point straightening out?

syssi commented 5 months ago

Merged! :-) Let's close this issue.