johanmeijer / grott

Growatt inverter monitor
https://github.com/johanmeijer/grott/wiki
395 stars 109 forks source link

How to configure GROTT on SonOff's ihost (docker)? #431

Open typxxi opened 1 year ago

typxxi commented 1 year ago

Hello,

I am new to both Grott and ihost cause I gotten mine just recently. This is a SonOff local ewe link host / server which can run docker images. But I am newbie beyond the first HA installation i had done 3 years ago on a Pi 4. This ihost has gotten the latest software updates from today.

I have read the docker support here

So I have tried to fill out what ihost wants to run the GROTT docker image.

A: First of all I had to pull the right image which I hope is that with the most downloads here https://hub.docker.com/r/ledidobe/grott

B 1: I have tried it with bridge where I had to fill in the port in both fields (1 is missing in the screenshot) and the IP where I have used the real one and not the .xx shown here in the COMMAND ( not sure if docker would be needed) -d -p 5279:5279 --restart on-failure -e gmqttip="192.168.178.xx" ledidobe/grott -e TZ=Europe/Berlin

image

B 2: Then there is a host option where I had used the same command parameters. No success, status as before exited and no log. Same if I press restart.

B 3: last chance was NONE instead of bridge or host and that did not work either.

What is wrong with my configurations I had tried

I hope to fix it and can pute a guideline together for running Grott on ihost I want to use Grott data in HA running on a Pi 4 (I am using HA OS where they suggest to not run docker images on top).

If the sonoff ihost would not work (the docker image had been shown by ihost after I searched for GROTT) then I could also get an old Pi zero W or Pi 3 to run GROTT on that. I have to mention that I have 4 GROWATT inverters running right now, but will end up with 7 or 8 all in the same location / room (4x Min 4600 + SPH 4600 + MiC 3000 + MiC 2000) which has grown over time. So I hope this will work with the 7 or 8 inverters we finally will have.

Any ideas ?

Thanks a lot.