Help making Grott more user friendly #423
Replies: 19 comments 30 replies
-
There was a long text here but I conflated some stuff on your wiki with guides written by muppet3000, will rewrite tomorrow |
Beta Was this translation helpful? Give feedback.
-
For me it was difficult to get started. (Using the grott edge ha plugin). |
Beta Was this translation helpful? Give feedback.
-
Hallo Johan, thx for your work on this HA integration! it would be great if we could install this with hacs or the HA integration page. i'm currently a user of the Growatt integration available in the HA integration page, but i get insane by the continuously stopping of the integration. i know it's because of the servers in china but it's really annoying having to wait for a HA update every time. so that's why i like youre approach! i'm not shure how to install this on a non docker HA version. so i think the solution of making this more user friendly is to making it available in hacs or the integration page. |
Beta Was this translation helpful? Give feedback.
-
I hope this topic is the right place to post my question (because I need some help). I have the same issue with the growatt servers and decided to use your solution. I think I have setup everything correctly but I don't get any data. The growatt dongle keeps saying there is no connection. Do you have any idea what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Well never mind ignore my question. I had to open the port on the firewall on my server. So for other people that ran into this problem and when you are on Windows. Add the following firewall rule (assuming that you are using port 5279). Choose what is needed Give it a name And you are done When everything is working you will get messages like this when you start grott from the command line (for testing) |
Beta Was this translation helpful? Give feedback.
-
I Home assistant you first need to add Grott. You can use HACS for that or just follow this --> https://github.com/muppet3000/homeassistant-grott Don't forget to restart Home Assistant otherwise you wont see the new addon When added you can add a new integration Just leave this as it is. At first grott will say that no devices and entities are found... just wait a minute and suddenly it will find your Growatt device (when everything is configured correctly) When you click on the entities you will see something like this. And gone is your problem with those horrible growatt servers (and horrible mobile app) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
My docker server and/or proxy seems to get stuck every few days, restarting the docker is the only thing to get it moving again. Aside from that, once setup it just does what it needs to. Perhaps adding a way to request firmware updates from the growatt servers could be added (i have never let the shinelan-x or inverter update, as they are not connected to the internet at all, but I am curious if there might be updates) |
Beta Was this translation helpful? Give feedback.
-
Something worth mentioning in the docs is that you'll have to restart the ShineLink after configuring the grott endpoint. As only after restarting the data will be send to the new configured endpoint. Something I can assume that would help some less experienced users out is to provide a container that already includes the grott_ha extension including a docker-compose example and make sure the latest tag is actually updated on every release as that one seems to be broken. At some point I might actually build a helm chart for deploying this on Kubernetes and contribute it here. |
Beta Was this translation helpful? Give feedback.
-
Hello Johan! First of all thanks a mil for sharing your project. While the Growatt servers are down/broken again, I found your repo at the HA forum. While it seems obvious I didn't get the difference between "Growatt server" and "server". Only today I realized with 'server' you mean the 'in between box' proxy/sniffer computing device. To me it would be clearer if you named it just "your server" "your Rpi" or the like.
Also this means I can confirm it works fine with a Growatt 2000 ShineWifi,
Oh I use a linux Debian 12 NUC by the way (no Docker this time) Thanks again, |
Beta Was this translation helpful? Give feedback.
-
A few things:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
H Johan, Glad with sharing your software! Thanks for your time and patience to help us so personal. To answer your question for tips to make Grott more userfriendly: Tip 1. For me it was difficult to understand what was meant with different sections during reading the grott.ini. Especially related to the different versions/functions of the software. When do you fill in IP and Portnumber in the Generic section or in the Growatt-section? And what IP and port? Maybe a different version of grott.ini for Grott Proxy and Grott Server? Tip 2. A list of errors and their explanation, cause and maybe solution to solve. |
Beta Was this translation helpful? Give feedback.
-
Hi Johanmeijer, would you be able to help me? Grott when installed via Add-Ons Store is not passing the MQTT username/password nomqtt = False
The Grott log doesn't give me much and just tells me about the environmental variable which I cannot change as they are fixed in the docker container. Grott process configuration file Grott process environmental variables
Grott IP address env invalid
Grott override settings if set in commandline Grott process json layout files Grott proxy mode started |
Beta Was this translation helpful? Give feedback.
-
I am not totally up to speed with the HA extension (I am not running HA yet and have not created this extension). Which docker container are you using? Is this the one provided in the HA library ? Maybe @egguy can help us here. |
Beta Was this translation helpful? Give feedback.
-
Are you running Grott Beta branch (2.8)? That's the add-on I use. I don't have an ini file, I simply use the add-on configuration and mine is as follows:
And you are running a Mosquitto broker I hope? I also use the Grott integration which simplifies access to the entities. |
Beta Was this translation helpful? Give feedback.
-
While grott is a great project I switched to using modbus on my growatt inverter. This way you just can get all the values from you Growatt inverter without needing something in between like Grott |
Beta Was this translation helpful? Give feedback.
-
You can use this HA integration when you get all your values through the modbus connector on your inverter. https://github.com/wills106/homeassistant-solax-modbus The only "downside" is that you have to connect a modbus cable to your inverter and add a modbus to ethernet converter. |
Beta Was this translation helpful? Give feedback.
-
I did mess with it a lot too
1 setup a user passwd in web interface
2 setup in webinterface to match mosquito.
Op wo 24 jul. 2024 22:51 schreef theminch ***@***.***>:
… Hi @egguy <https://github.com/egguy>.
I've
1. removed the container docker rm 5e1bfc40db97
2. removed the image docker rmi 39e8258665c8
3. Rebooted Home Assistant (not restarted)
4. Installed Grott - Grott stable branch (2.8) Current version: 0.1.10
(Changelog) with this link
https://github.com/egguy/addon-grott/tree/v0.1.10 - ... and set the
addon to Start On Boot (via toggle switch on Info tab)
5. Rebooted Home Assistant (not restarted)
The addon does not create anything in /config/ it creates this file
structure /addon_configs/1ef934e0_grott/grott/ with a 0 Byte (empty)
grott.ini
➜ / ls /config/grott
ls: /config/grott: No such file or directory
➜ / ls -l /addon_configs/1ef934e0_grott/grott/
total 0
-rw-r--r-- 1 root root 0 Jul 24 20:40 grott.ini
Question 1: As I am using the Mosquitto Broker addon and/or the grott_ha
extension, should this work straight out of the box with no further config
required?
Question 2: Should I update the data_path in the addon configuration to
reflect "/addon_configs/1ef934e0_grott/grott/" ...? -- Notably I've tried
putting a grott.ini file here and also in /config/grott and various other
places but the addon seems to ignore it.
Question 3: Where is the addon getting Pulled 'gnomqtt=True' from the
environment from and should I change this to False, and if so how?
Questions 4: The addon configuation has this yaml below as default after
fresh install, notable grott_mqtt is false, is this correct? will this
publish to my Mosquitto Broker AddOn in HA? the MQTT log is at the bottom
of this post and I'm pretty sure it's not seeing grott sockets attempting
to come in as I assume from the bottom of the grott addon log that the
grott source socket is 172.30.33.6:5279 and I don't see this in the MQTT
log.
Question 5: what would you recommend doing now to publish to my MQTT
broker specifying IP, Port, Auth, Certs, Username and Password..?
Thanks for your assistance, happy to work through this but need some
direction.
GROTT ADDON CONFIGURATION:
data_path: /config/grott
gmode: proxy
grott_mqtt: false
ginvtype: default
ginvtypemap: ""
retain: false
verbose: false
ha_plugin: true
mqtt: {}
GROTT ADDON LOG:
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
------------------------------
Add-on: Grott stable branch (2.8)
The Growatt inverter monitor with current HA plugin integrated Add-on
version: 0.1.10
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.7.3
Home Assistant Supervisor: 2024.06.2 Please, share the above information
when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[21:43:21] INFO: Preparing to start...
**********************************************************************************
- Grott - libscrc not installed, no CRC checking only record validation on
length!
**********************************************************************************
Grott Growatt logging monitor : 2.8.3
Grott process configuration file
Grott process environmental variables
Pulled 'ginvtype=default' from the environment
Pulled 'gnomqtt=True' from the environment
Pulled 'gextension=True' from the environment
Pulled 'gextname=grottext.ha' from the environment
Pulled 'gextvar={"ha_mqtt_host": "core-mosquitto", "ha_mqtt_port": "1883", "ha_mqtt_user": "addons", "ha_mqtt_password": "ieph8iw0utahg8oozaiWoo2wet9othaich0aiRaedeeg3aevahs4thue9Aalieth", "ha_mqtt_retain": False}' from the environment
Grott override settings if set in commandline
Grott process json layout files
Grott proxy mode started
**********************************************************************************
- Grott - libscrc not installed, no CRC checking only record validation on
length!
**********************************************************************************
Hostname : 1ef934e0-grott
IP : 172.30.33.6 , port : 5279
MQTT LOGS:
2024-07-24 21:41:37: New connection from 172.30.32.2:34686 on port 1883.
2024-07-24 21:41:37: Client closed its connection.
2024-07-24 21:42:08: New connection from 172.30.32.1:57492 on port 1883.
error: received null username or password for unpwd check
2024-07-24 21:42:08: Client auto-65E81AC0-464B-DC39-6E5E-FBF315A4FB4F
disconnected, not authorised.
2024-07-24 21:42:27: Connecting bridge bridge-01
(eu1.cloud.thethings.network:8883)
2024-07-24 21:42:31: New connection from 192.168.0.55:55034 on port 1883.
2024-07-24 21:42:31: New client connected from 192.168.0.55:55034 as
sh.htg3.bbfc.55.hum_and_temp (p2, c1, k60, u'mqtt').
2024-07-24 21:42:41: Client sh.htg3.bbfc.55.hum_and_temp closed its
connection.
2024-07-24 21:42:44: New connection from 192.168.0.55:55037 on port 1883.
2024-07-24 21:42:44: New client connected from 192.168.0.55:55037 as
sh.htg3.bbfc.55.hum_and_temp (p2, c1, k60, u'mqtt').
2024-07-24 21:43:37: New connection from 172.30.32.2:39794 on port 1883.
2024-07-24 21:43:37: Client closed its connection.
2024-07-24 21:43:41: New connection from 192.168.0.80:5411 on port 1883.
2024-07-24 21:43:41: New client connected from 192.168.0.80:5411 as
shellybutton1-34945476917C (p2, c1, k60, u'mqtt').
2024-07-24 21:43:58: Connecting bridge bridge-01
(eu1.cloud.thethings.network:8883)
—
Reply to this email directly, view it on GitHub
<#423 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEV42JLIVHWAA2FUUZXZU4DZOAHWVAVCNFSM6AAAAABLIXNW76VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJUGIZTENQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Last days Growatt servers seems to be very unstable. This resulted in a lot more visitors and download from the Grott github repository.
Searching on the Internet about reactions on and information about the use of grott I see some reaction that Grott is to difficult to use.
Of course I want to make grott more user friendly (I am a techie and for some things are obvious). So please can you help (hints and tips, advise) how to improve grott/grottserver (and documentation).
Beta Was this translation helpful? Give feedback.
All reactions