johanmeijer / grott

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

ShineWIFI-F Pro support on an SPF 6000 ES Plus #604

Open hristouzunovaz opened 6 days ago

hristouzunovaz commented 6 days ago

Hey guys, I'm wondering if Grott supports this datalogger ShineWIFI-F Pro on this inverter SPF 6000 ES Plus. I can see the documentation says spf support but this exact inverter is not mentioned. I'm only asking because I have installed and configured Grott (HA add-on) and it seems to be communicating with the datalogger:

Hostname : 1ef934e0-grott IP : 172.30.33.4 , port : 5279

  • ('192.168.2.248', 63588) has connected

  • Growatt packet received: <socket.socket fd=4, family=2, type=1, proto=0, laddr=('172.30.33.4', 51494), raddr=('8.209.71.240', 7006)>

    • Grott - grottproxy - Invalid data record received, processing stopped for this record

The logs suggest to me that the logger and my Grott instance talk to each other, however, the messages are unexpected. If this hardware setup is not supported, what can I do to help make it supported?

johanmeijer commented 5 days ago

As far I can see from the issue/discussion Grott works with a SPF 5000 ES and SPF 3000TL.

I am not sure it works with a ES Pro and/or datalogger ShiniWIFI-Pro (although that seems the datalogger specific for the SPF.

The challenge is that if have "forgotten" to program the additional verbose record logging when a record is invalid, so it is difficult to debug the record.

I can update the 2.8.3. version with the necessary debugging info but that will not work directly for the HA addon I think we need @egguy for that.

Are these the only records you see at this moment? Are there other records that shows Data less then minimum record length, data not processed? If that is true we have more capabilities to debug.

johanmeijer commented 5 days ago

I added additional debug info showing full data record for invalid datarecord to grottrproxy.py in the beta 2.8.3 version.

Maybe we can use this one to debug. Start with the -v option to see the additional information. @egguy is it possible to test this one with HA addon?

hristouzunovaz commented 5 days ago

To answer your initial comment: Yes, these are the only logs I can see. I am starting the server with verbose : true. No, there are no other records.

Regarding your latter comment: how do I get to the beta version? I'm afraid I did not see a way to do this in HA. I did receive an update notification for Grott this morning and did apply it.

Is there anything more I can share from my setup to assist in debugging?

johanmeijer commented 4 days ago

Maybe @egguy can help us to test the beta in HA? He is the owner of the HA addon.

hristouzunovaz commented 2 days ago

Hi @egguy, what would be the best way to try and debug in this case. I have installed the beta branch from the HA add-on, and of course, I get the same result.

egguy commented 19 hours ago

Hi @hristouzunovaz , I have recently updated the 2.8 add-on based on the beta branch.

You can test it on the edge addon repository for the moment: https://github.com/egguy/ha-addons-edge/ you can install it alongside the currently install repository. You need to stop the other add-on before running the new one.

It is currently using the commit: 4b526a8