Well, call the call centre and ask to speak to someone in the development team.
SolarEdge - Iām using this custom component: GitHub - binsentsu/home-assistant-solaredge-modbus: Home assistant Component for reading data locally from Solaredge inverter through modbus TCP
Hi
Iām currently scoping for my first solar /battery installation and one of my quotes has been a GivEnergy inverter and battery combo. Integration into HA would be a massive selling point for me, so thanks @Bergals et for the amazing work you have done.
Considering the negative vibes iāve read about the GivEnergy portal and the slow data update rate, iām hope that they support initiatives like this!
Thanks all
darren
Thanks Dazzy, but I canāt take as much credit as @britkat and some others have put in a lot more effort. I cheered them on and helped test a few componentsā¦ and since got distracted by other things.
I will come back and visit - since I am seeing occasional hiccups in my data collection (energy page shows 3000+kWh consumed or sent. Still gotta figure that out, and figure out how to fix the data for the random days this happens.
Weāre currently refactoring GivTCP (local connection) with a view to being in a better place to develop a dedicated HA integration. No promises on timeframes, but a slicker way of getting data in, and eventually control is coming.
Today it takes a docker container, NR flow and some HA config.
Will the GivTCP local connection be retrofittable to an inverter installed a year ago with WiFi?
Yes, as far as I know it should work. Mine has been in for about 9 months and only has the standard wifi dongle.
You can test be seeing if port 8899 is open on the wifi IP address.
I am in the final stages of getting my GivEnergy system installed - battery and inverter in and working but the panels are not yet properly connected >_< nothing to do with GEā¦
Iād love to be able to integrate this with HA. I have been using HA for ages now but Iām no coding genius so honestly mostly rely on deploying what (you) clever people develop
I am fluent enough in Docker but know zero about node Red so for now, Iāll watch this thread for developments and focus on understanding how the solar/battery eco-system actually operates irl.
Thanks to all of you and GE (I insisted on their equipment based on the excellent online support when I was asking many stupid questions during scoping) for making this happen - much appreciated!
Mike
Weāre a friendly bunch here - unless I get low blood sugar (read: can be bribed with chocolate ), shout if you struggle with things - but you should come right without using node-red. Iāve got it as an interim step - I think i donāt need it anymore - but Iād have to reconfigure some sensors. A project for when Iām done with my current mission!
Iām new to HA, so new that this is my first post in the community. So Iāve got a question or twoā¦
I have a givenergy inverter and battery. I know my username, password, s/n, and the API key. But Iām not seeing anything from the givenergy.cloud that resembles the plantid, so where do I find that? Where does the API key fit into this or is it even needed?
Iām also very new to nodeRed, as in Iāve it installed, and Iāve just worked out how to import the config you have. Is this the latest?
I just got that info from the GE community. If you have one setup then 1 is the ID.
Sorry for the delay in replying - glad youāve come right!
Hi All,
Finally ready for wider access. The local connection for GivEnergy invertors can be found here: https://github.com/britkat1980/giv_tcp
You can run this code either natively or via a docker image for those who want that sort of thing!
Docker Hub
Running the docker hub will provide a rest interface and you can then use REST template sensors to get the data into your HA instance. There is a givtcp.yaml file in the GitHub repo that you can use, you just need to change the IP address to the docker instance running GivTCP.
I personally use a Node-Red flow to allow some logic to be applied and facilitate control too, its comparatively complex, but Iām happy to share for reference.
Its been tested on a umber of invertor types and f/w version, but there may be some gremlins lurking somewhere, so any feedback would be great.
Sounds promising, Mark. I am interested in the Node-Red implementation
OK, let me tidy it up and Iāll post a link to it here
Hi Mark,
Iām running home assistant OS on a rasp pi 4, how would I go about implementing this to access my givenergy ac inverter and battery.
- Download the Docker image here: Docker Hub
- Run the docker container on your host network with the ENV variables set as per these instructions: https://github.com/britkat1980/giv_tcp#docker
- Copy this file: https://github.com/britkat1980/giv_tcp/blob/48de36c30a80989b3d165b0222c6b24cf2a7a047/givtcp.yaml into a folder named āpackagesā inside your config folder
- Add the following lines into your configuration.yaml file:
homeassistant:
packages: !include_dir_named packages
- Restart home assistant and the sensors should then be available.
Thanks @britkat for making this available. Not if this is the right place to ask questions but here goes. Iām trying to get the docker image up and running on my QNAP nas. Itās intel based so should be ok from what youāve said. Iāve followed your instructions but the image wonāt come up and all I get is the following message in the console āstandard_init_linux.go:228: exec user process caused: exec format errorā
Any thoughts on what I can try?
Hi Phil, my Synology NAS is also Intel and it runs fine. Some users on raspberry piās have had to run the container with the --privelleged switch. Try that and see if it helps?
Thanks for the response Mark no joy Iām afraid.
Below are my settings in case there is anything obvious:
50% cpu and 4GB ram
Name Value
DEBUG False
DEBUG_FILE_LOCATION
GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D
HA_OUTPUT False
HA_TOKEN
HA_URL
INFLUX_BUCKET
INFLUX_ORG
INFLUX_OUTPUT False
INFLUX_TOKEN
INFLUX_URL
INVERTOR_IP
JSON_OUTPUT False
LANG C.UTF-8
MQTT_ADDRESS 127.0.0.1
MQTT_OUTPUT True
MQTT_PASSWORD password
MQTT_PORT 1883
MQTT_TOPIC battery
MQTT_USERNAME mqttusr
NUMBATTERIES 1
PATH /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PRINT_RAW False
PYTHON_GET_PIP_SHA256
6665659241292b2147b58922b9ffe11dda66b39d52d8a6f3aa310bc1d60ea6f7
PYTHON_GET_PIP_URL https://github.com/pypa/get-pip/raw/a1675ab6c2bd898ed82b1f58c486097f763c74a9/public/get-pip.py
PYTHON_PIP_VERSION 21.2.1
PYTHON_VERSION 3.10.0b4
SELF_RUN True
SELF_RUN_LOOP_TIMER 10
Iāve not run mqtt yet so Iāve just defaulted some values in there. The blanks are because qnap container station wonāt let me add the NUMBATTERIES variable while there are still variables that are blank so Iāve deleted the blanks at the point of creating the container.
Network is host mode
have tried both with and without priviledged mode
Same error message on the console and the container doesnāt start. Iāve several other docker containers running so I donāt think itās my docker capability (container station).
What intel chipset are you using, it might be that the docker container doesnāt have the right architectureā¦ Hopefully it is one I can compile for