Open Cercaj opened 7 months ago
If the Grott logs aren't showing the correct values then the issue is with Grott rather than this integration I recommend logging a ticket over in the main Grott repo and seeing if the developer of Grott can help you there. Feel free to link the two tickets together so I can assist when you get a resolution.
I am having a similar problem - but with PV1 not generating the sensor sensor.growatt_pv1_energy_today
(the sensor for pv2 is working fine).
Grott is showing the data to MQTT, as I can see it in the json.
This integration is picking up the data from MQTT, as I can see it in the logs.
But HA does not have the entity. How can I regenerate the entities, please? (A restart of HA or the Grott docker container doesn't do it. Neither does a re-download of the integration.) Using v1.1.0
@PianSom that's really weird, please can you post a copy of your grott logs so that I can see what values the sensor should be? If possible could you post a copy of your logs from Home Assistant as well as you say you're seeing it get the value there as well, it would be nice to be able to try and pinpoint where the issue is happening.
@muppet3000
Thanks for looking.
Grott log below, at the bottom of the post. Today has just started, so totals for today are still low. But you can see epv1today and epv2today are being generated. (I believe these are the correct sensors picked up by HA - the values seem to match for pv2.) These do show up on MQTT, as I said (screenshot from MQTT Explorer showing an excerpt from the json attached)>
On my HA dashboard I am seeing the attached screenshot (not contemporaneous with the log file). Note the missing sensor - which obviously did exist previously when I created the dashboard. And note that PV2 is showing up ok.
Bit hard to show logs from HA with an absence of action! But somehow I need to do a discovery of the PV1 sensor.
```
30/01/2024
09:25:36
30/01/2024
09:25:36
- Growatt packet received:
30/01/2024
09:25:36
@PianSom Please could you take a screengrab of the integration's page and paste it here, even better if you can find the relevant value missing on there as well.
Here's an example of what mine looks like:
Here you go. The missing value is ... missing!! Should be PV1 Energy - Today (like the PV2 one you can see).
You're running the version of Grott that has a bug where it has a space in the name of the value. If you look at this snippet from the logs:
"epvtotal ": 15590, "epv1today ": 0, "epv1total": 30/01/2024 09:25:36 7723, "epv2today": 0, "epv2total": 7867, "epv3today": 0, "epv3total": 0,
You can see that after epvtotal
and epv1today
both have a space after them which means that this integration doesn't parse them correctly.
What this requires is a fix in the upstream grott code (which I thought had already been released because I'm sure I've already helped someone else with the same issue) and then it should appear.
Aha!! Thanks - well spotted.
I'm running Grott in Docker, and am using the image ledidobe/grott:2.8.2
which I thought was about as up to date as was available (and I think is the first version that supports the TL-X MIN inverter that I have). Is there a newer one, do you happen to know?
Aha!! Thanks - well spotted.
I'm running Grott in Docker, and am using the image
ledidobe/grott:2.8.2
which I thought was about as up to date as was available (and I think is the first version that supports the TL-X MIN inverter that I have). Is there a newer one, do you happen to know?
I think the place to ask that question is over in the https://github.com/johanmeijer/grott/issues/ area. If you're familiar with docker though, my recommendation would be to take a clone of the 'master' branch branch that repo and then mount it into the container as a volume.
For prosperity, in case any come across this on a search ...
The latest (Jan 2024) beta, which contains the "space" correction, is 2.8.4 (https://github.com/johanmeijer/grott/blob/Beta-(2.8.x)/Version_history.txt)
Looks like this hasn't yet been incorporated into any docker image so far, so looks like I will need to build my own from the beta branch.
Thanks again @muppet3000 !
Hello @muppet3000
I have now upgraded my grout container to a new beta (see here for the current state of play; things will change soon) which, I can see, does not give me the SPACE bug.
After a HA restart I am now seeing the missing sensors, albeit with a changed sensor name starting with the inverter serial number (this may be due to user error).
Not really a user error, I guess the change is coming via mqtt into your system.
It is the same behaviour as if you would have deleted your device from inside the grott ha integration. Once you have done then the device and its sensors will vanish and be deleted.
And when you then readd the same inverter again or grott is working again then grott ha integration will recognice the messages as a new inverter and add that to the grott ha integration with the serial as its name. All the sensors will be back within minutes. And then you open that inverter and can rename the inverter (but you might always save your current inverter names just in case such thing happens again cause then you can easily rename the inverter to the previous one and all your dashboards will get their proper sensors back.
I also think it might be time to close the issue considerng that even Johann is now moving ahead and callind the latest beta the version to go to for the last 2 months for example here https://github.com/johanmeijer/grott/issues/516#issuecomment-1998113973
Hi, there,
My Grott is not getting PV2 information, only PV1 and total value energy is different from Growatt any ideas?
My home assistant is installed in a Debian SO. My Device Type: ShineWiFi-X Device: AK1.0/AKAA1601/ZAAA-0014/S19B00D00T00P0EU00M003C MTTQ server and Grott are running as docker machines.
Does anyone know what I did wrong?