Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Im a total noob and need help #18

Closed
xDAVIDx93 opened this issue Aug 20, 2020 · 116 comments
Closed

Im a total noob and need help #18

xDAVIDx93 opened this issue Aug 20, 2020 · 116 comments
Labels
good first issue Good for newcomers

Comments

@xDAVIDx93
Copy link

Hi just signed up to github downloaded the grott-2.1.1-Beta- and extracted it i have a shinwifi-x and im just wondering if someone can help run me through setting this up end goal is to have pvoutput website running with automatic data update im using windows 10 for now..

@johanmeijer
Copy link
Owner

Hi Grott is designed to use mqtt and to distribute it from there to the home automation tooling (eg domoticz, openhab and home assistent). With node red (javascript visualisation) it is posible to retrieve it from mqtt and send it to pvoutput.

I do understand this sound very complex for somebody who is not familiar with this tooling.

I can help you with setting up this complex enironment and help you with mqtt and nodered.

What we also can try to do is enhance grott so it will sent the data directly to pvoutput (next or instead of mqtt). This might take some weeks but I can try to program it.

Please let me know your preference. If there is somebody else with ideas I like to hear it.

@johanmeijer johanmeijer added the good first issue Good for newcomers label Aug 20, 2020
@xDAVIDx93
Copy link
Author

I use Google home in my house but only for a bunch of smart speakers that's about it oh and a xiaomi robot vacuum so I dont have open hub or anything like that just google home?

I was hoping to redirect the ip and info from the shinewifi-x somewhere else to like my win 10 pc then have it send that data to pvoutput and then if possible also to https://server.growatt.com/ but if that's not possible I think pvoutput looks better anyway. So if someone could help me do that please let me know :)

@johanmeijer
Copy link
Owner

It will be a little bit complex to set it up if you do not have mqtt and nodered experience. I can help you and try to do it.

I can also try to make a direct interface to pvoutput.org ( don't think that would be very complex). Look for version 2.2.x next week ;)

@xDAVIDx93
Copy link
Author

Okay ill wait for version 2.2 hopefully next week thanks for your help :)

@johanmeijer
Copy link
Owner

Programming work is done :) I will perform some tests and publish it the comming days.

I will also try to write a short instruction. Do you have python already installed? (Just trying to determine where to start)

There is one challenge at this moment: I do not known how to run a python script as an always running process under windows.if somebody has some tips it would be very welcome. Otherwise internet has to help me.

@xDAVIDx93
Copy link
Author

No i don't have python I've heard of it though its a programming tool I've run scripts before for like minecraft and other game mods but I've never programmed anything before.

@johanmeijer
Copy link
Owner

johanmeijer commented Aug 26, 2020

@xDAVIDx93
Oke lets try it: I published Version 2.1.2 (Beta).
This will be the base for direct PVOoutput.org logging and running as a service under windows.

Most of the setup details are described in the wiki (https://github.com/johanmeijer/grott/wiki). But here in short what is needed:

  1. Download grott from this github and place in the directory wanted
  2. Download Python3: https://www.python.org/downloads/windows/ (I use 3.7, 2.x will not work)
  3. I assume PIP3 (Python installation manager is installed with python)
  4. Install necessary python packages
    At command line:
  • pip3 install paho-mqtt
  • pip3 install requests
  1. Modify grott.ini:
    (uncomment this statements and modify using your PVOutput.org credentials)
  • nomqtt = True
  • pvoutput = True
  • #apikey = yourapikey
  • #systemid = yoursystemid

6.. Now you can test grott for the first time:

  • at the command line in the grott directory
  • python3 grott.py -v
  1. Grott will start and listen in proxy modes
  2. Stop grott (ctrl pause or ctrl break)
  3. Reroute the growatt logging to user windows system (your windows ip needs to be known)
  1. Test Grott again (see above)
  • the Growatt data will processed by Grott and sent to PVOutput.org!
  1. Stop grott again (see above)
  2. Enable grott as a windows service (so it will run at the background and survive system reboots)

Hopefully this helps you with setting up grott. Please let me know your results and expierences.

@xDAVIDx93
Copy link
Author

Download grott from this github and place in the directory wanted
Download Python3: DONE
I assume PIP3 YEP
Install necessary python packages
At command line:
pip3 install paho-mqtt DONE
pip3 install requests DONE

Modify grott.ini:
nomqtt = True
pvoutput = True
#apikey = yourapikey
#systemid = yoursystemid
DONE i think i did this correctly alls i did was remove the # from infront of
nomqtt = True
pvoutput = True
and put True then added my api and system id next to but left the #
#apikey = yourapikey
#systemid = yoursystemid

6.. Now you can test grott for the first time:

at the command line in the grott directory
this part i dont understand in cmd what do i type and how do i know where my grott directory is?
python3 grott.py -v
if you could explain this part more that would be fantastic cause thats where im stuck.

@xDAVIDx93
Copy link
Author

grott

assuming this is the directory? what exactly do i type into cmd? directory and command so i can copy paste and hit enter

@johanmeijer
Copy link
Owner

What I ment with the command line is a windows terminal screen with a command line.

Go to start en enter CMD and start this applicactions.

image

You have to switch to the directory with:
cd \users\david\downloads\grott-2.1.2-beta-\grott-2.1.2-beta-\grott-2.1.2-beta-

If it works I think I would change the directory to (move the files to) something more simple like:
c:\users\david\grott or even c:\grott

@xDAVIDx93
Copy link
Author

failiing

sorry i have no idea what im doing i moved the folder location but when i run the command still nothing

@xDAVIDx93
Copy link
Author

do you have teamviewer?

@xDAVIDx93
Copy link
Author

win!

i think i did it is that correct??

@xDAVIDx93
Copy link
Author

yay
yay2

hope this is correct

@xDAVIDx93
Copy link
Author

so i put in my desktops ip address into the growatt server set ip address field and used growatt20200828 password and it says saved with a tick
ip

i hope thats correct

then i installed grott using nssm in cmd as admin

1

but when i start it it fails and pauses

2

so i opened services as admin and hit resume on Grott and it says that error??

@xDAVIDx93
Copy link
Author

yay
yay2

hope this is correct

Forgot to mention I checked pvoutput and it wasn't receiving any output data I assume its because cmd isn't constantly running grott script and I need the nssm service for it to constantly run is that correct?

@xDAVIDx93
Copy link
Author

augments empty

removed nssm grott and reinstalled with no augments and it started without pausing this time

@xDAVIDx93
Copy link
Author

still no data to pvoutput though all still goes to server.growatt.com

@johanmeijer
Copy link
Owner

It does look oke! Your are almost there I think.

But no data is rerouted via your windows machine. That seem to be strange.

You can either grott run viaa the command line or as a service. With both active only one will handle the data (the one that started first).

I see I made a mistake in the NSSM grott Service. The -c should be removed. That is the reason why the service does not start!. It should be: grott.py -v -o grottlog.txt
Sorry!!

image

Please do not start (stop) or remove the service. Run grott in the windows command screen. After a while you should see that some data is beeing process by grott. If the data is really rerouted via your desktop PC, the Growatt server should not receive any data anymore if grott is not running!

You will not lose any data if grott is stopped. The data is bufferd in the shine-lan stick and will be sent as soon there is a connection again.

Can you change the IP address via the shine-lan dialogue? (I have the shine wifi stick and this only possible when I reset the stick)? Maybe it is not changed via the growatt website (altough it was succesfull).

I assume you have changed the PVOutput APIKEY and systemid in the .ini file.

I do not have teamviewer yet but can install it if necessary.

@xDAVIDx93
Copy link
Author

Okay ip address is working now and server.growatt only works if cmd grott.py is running but ive hit this error now..

Grott send data to pvoutput response bad request 400 energy value to high?

20200829_122109.jpg

@johanmeijer
Copy link
Owner

The good news is, Grott is working.

But it is not processing the data right.

Can you sent me the part with the growatt data? Hopefully you can capture this.

In the meanwhile you can try it with.

decrypt = yes
compat = true
valueoffset = 26

@xDAVIDx93
Copy link
Author

Ill try in 2 or so hours when I get home from work problem is my inverter goes into stand by when the sun goes down but ill give it a go and see what happens

@johanmeijer
Copy link
Owner

johanmeijer commented Aug 29, 2020

For me the day has just started (the Netherlands) ;)

@xDAVIDx93
Copy link
Author

Ok shes come througj with the good hope this captures all the info you need also my shine wifi thing is model x

ShineWifi-x

Screenshot_20200829-170008_TeamViewer.jpgScreenshot_20200829-170037_TeamViewer.jpgScreenshot_20200829-170057_TeamViewer.jpgScreenshot_20200829-170103_TeamViewer.jpgScreenshot_20200829-170123_TeamViewer.jpgScreenshot_20200829-170130_TeamViewer.jpgScreenshot_20200829-170150_TeamViewer.jpgScreenshot_20200829-171151_TeamViewer.jpgScreenshot_20200829-171204_TeamViewer.jpgScreenshot_20200829-172152_TeamViewer.jpgScreenshot_20200829-172230_TeamViewer.jpg

@johanmeijer
Copy link
Owner

I have some toubles with retrieving the right information from your screen dumps. I think I miss some records.

Can you start grott with:

python grott.py -v -o textlog.txt

You will get only the start mesagge. The rest is logged into the file.

Let it run for a while (10 minutes or so) and then stop it and sent the textlog.txt?

Hopefu;lly the Growatt is still working.

@johanmeijer
Copy link
Owner

I need the data just before the last screen. I do not think this is in the screen dumps.

@xDAVIDx93
Copy link
Author

Screenshot_20200829-170150_TeamViewer.jpg

Not that?

@xDAVIDx93
Copy link
Author

Nope growatt is in stand by this os all I got, ill try again tomorrow.

Grott Command line parameters processed:
verbose: True
config file: grott.ini
output file: <_io.TextIOWrapper name='textlog.txt' encoding='cp1252'>
nomqtt: False
inverterid: ABC1234567
pvoutput: False

Grott Proces configuration file

Grott Proces environmental variables

Grott override settings if set in commandline

Grott Proces json layout files:

Grott layout records loaded:
T020104 :
{'decrypt': False, 'pvserial': 36, 'date': 56, 'pvstatus': 78, 'pvpowerin': 82, 'pv1voltage': 90, 'pv1current': 94, 'pv1watt': 98, 'pv2voltage': 106, 'pv2current': 110, 'pv2watt': 114, 'pvpowerout': 122, 'pvfrequentie': 130, 'pvgridvoltage': 134, 'pvenergytoday': 182, 'pvenergytotal': 190, 'pvtemperature': 206, 'pvipmtemperature': 242}
T050104 :
{'decrypt': True, 'pvserial': 36, 'date': 56, 'pvstatus': 78, 'pvpowerin': 82, 'pv1voltage': 90, 'pv1current': 94, 'pv1watt': 98, 'pv2voltage': 106, 'pv2current': 110, 'pv2watt': 114, 'pvpowerout': 122, 'pvfrequentie': 130, 'pvgridvoltage': 134, 'pvenergytoday': 182, 'pvenergytotal': 190, 'pvtemperature': 206, 'pvipmtemperature': 242}
T060104 :
{'decrypt': True, 'pvserial': 76, 'date': 116, 'pvstatus': 158, 'pvpowerin': 162, 'pv1voltage': 170, 'pv1current': 174, 'pv1watt': 178, 'pv2voltage': 186, 'pv2current': 190, 'pv2watt': 194, 'pvpowerout': 202, 'pvfrequentie': 210, 'pvgridvoltage': 214, 'pvenergytoday': 262, 'pvenergytotal': 270, 'pvtemperature': 286, 'pvipmtemperature': 322}
T055104 :
{'decrypt': True, 'pvserial': 36, 'date': 56, 'pvstatus': 78, 'pvpowerin': 82, 'pv1voltage': 90, 'pv1current': 94, 'pv1watt': 98, 'pv2voltage': 106, 'pv2current': 110, 'pv2watt': 114, 'pvpowerout': 170, 'pvfrequentie': 178, 'pvgridvoltage': 182, 'pvenergytoday': 274, 'pvenergytotal': 282, 'pvtemperature': 450, 'pvipmtemperature': 454}

Grott settings:

_Generic:
version: 2.1.2
verbose: True
trace: False
config file: grott.ini
minrecl: 100
decrypt: True
compat: False
valueoffset: 6
offset: 6
inverterid: ABC1234567
mode: proxy
grottip 0.0.0.0
grottport 5279
_MQTT:
nomqtt True
mqttip: localhost
mqttport: 1883
mqtttopic: energy/growatt
mqtttauth: False
mqttuser: grott
mqttpsw: growatt2020
_Growatt server:
growattip: 47.91.67.66
growattport: 5279
_PVOutput:
pvoutput: True
pvurl: https://pvoutput.org/service/r2/addstatus.jsp
pvapikey: 9cac8d83546faa4cb1c82ffb88c14fb586e88aff
pvsystemid: 77962

Grott proxy mode started

@johanmeijer
Copy link
Owner

Okay thank you.

I think the automatic protocol recognition is not totally working fine yet. I based it on to little test records I think.
The more information I get the better it will be.

Sorry for that.

@johanmeijer
Copy link
Owner

Is it more stable now @xDAVIDx93

@xDAVIDx93
Copy link
Author

Yea so far so good not sure about the backed up data though it hasn't seem to have filled in the gaps for previous days its gone down for a few hours...?

@johanmeijer
Copy link
Owner

johanmeijer commented Oct 11, 2020 via email

@xDAVIDx93
Copy link
Author

When the shine wifi x disconnects no data is recorded to growatt server or pvoutput and when I reconnected it data is automatically written to growatt server and pvoutput but I'd have thought the shine wifi stick/inverter would back up data and write it to the growatt server when its back up and recording data

@johanmeijer
Copy link
Owner

johanmeijer commented Oct 11, 2020 via email

@johanmeijer
Copy link
Owner

@xDAVIDx93 can we close this issue? You can always open a new one if new problems occurs.

@xDAVIDx93
Copy link
Author

Uhm yea sure so long as i can still read it because sometimes I come back to it for instructions..

@johanmeijer
Copy link
Owner

@xDAVIDx93 You can always find this issue under closed issues!

@xDAVIDx93
Copy link
Author

Hi Johan, what's growatts default server ip address i want to change it back from my PC's ip address back to growatts for some reason it keeps losing connection to my router through my oc but it never did that just connected to the router and the growatt server..

@johanmeijer
Copy link
Owner

johanmeijer commented Nov 2, 2020 via email

@xDAVIDx93
Copy link
Author

xDAVIDx93 commented Nov 2, 2020

My pc auto shuts down at 8pm and auto boots at 5am every morning .. When the sun goes down the inverter goes into sleep mode and disconnects from wifi on the router and most mornings it reconnects automatically when the sun rises as the pc is on well before sun rise but sometimes it doesn't auto reconnect for some unknown reason

@johanmeijer
Copy link
Owner

Ok. I do not totally understand why the communication would fail then.

What might be a issue is that grott starts to early in the windows start-up process and that the netwerk setup is not totally completed. It is possible to delay a service startup: automatic (delayed start). You have to specify that in the service console or NSSM. See the picture below.

image

@xDAVIDx93
Copy link
Author

Nah all good thanks I dont think a delayed start will fix anything cause I used to run it 24/7 and it would still disconnect

@johanmeijer
Copy link
Owner

What do you mean with disconnects? The PC from the network or the inverter (what is normal it powers down in the evening and should reconnect in the morning).

@xDAVIDx93
Copy link
Author

updated to 2.5.2
added automatic (delayed start) to nssm

this is what my grottlog.txt says

Grott Command line parameters processed:
verbose: True
config file: grott.ini
output file: <_io.TextIOWrapper name='grottlog.txt' encoding='cp1252'>
nomqtt: False
inverterid: automatic
pvoutput: False
blockcmd: False
noipf: False

Grott process configuration file

Grott process environmental variables

Grott override settings if set in commandline

Grott process json layout files

Grott layout records loaded
T02NNNN :
{'decrypt': {'value': 'False'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T06NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 202, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 210, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 230, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 238, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 254, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 262, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 278, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 286, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 322, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 366, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 374, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 382, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 390, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNNX :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 170, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 178, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 182, 'length': 2, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 274, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 282, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 450, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 454, 'length': 2, 'type': 'num', 'divide': 10}}
T06NNNNX :
{'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 250, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 258, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 278, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 282, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 294, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 298, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 346, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvenergytoday': {'value': 354, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 362, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 386, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 534, 'length': 2, 'type': 'num', 'divide': 10}}

Grott external record whitelist 'recwl.txt' not found

Grott records whitelisted : {'5116', '5119', '0103', '0116', '0119', '5016', '0104', '5050', '5003', '5019', '0150', '5104', '5004', '5150', '5103'}

Grott settings:

_Generic:
version: 2.5.2
verbose: True
trace: False
config file: grott.ini
minrecl: 100
decrypt: True
compat: False
blockcmd: False
noipf: False
time: auto
sendbuf: True
timezone: local
valueoffset: 6
offset: 6
inverterid: automatic
mode: proxy
grottip default
grottport 5279
_MQTT:
nomqtt False
mqttip: localhost
mqttport: 1883
mqtttopic: energy/growatt
mqtttauth: False
mqttuser: grott
mqttpsw: secret
_Growatt server:
growattip: 47.91.67.66
growattport: 5279
_PVOutput:
pvoutput: True
pvurl: https://pvoutput.org/service/r2/addstatus.jsp
pvapikey: 8faee4102ed7d87d3288f24eb72e73e6e79ec107
pvinverters: 1
pvsystemid: 77962
_Influxdb:
influx: False
influx2: False
database: grottdb
ip: localhost
port: 8086
user: grott
password: secret
organization: grottorg
bucket: grottdb
token: secret
_Extension:
extension: False
extname: grottext
extvar: {'none': 'none'}

Grott proxy mode started
Hostname : Davids-Pc
IP : 192.168.1.7 , port : 5279


this is my grott.ini

Specify grott monitor configuration

Defaults are described

Remove # and update the value to enable the setting

Last updated: 2021-01-09

Version 2.4.0

[Generic]

Specify verbose for extended messaging

#verbose = True

Specify minrecl for debugging purposes only (default = 100)

#minrecl = 100

Specify mode (sniff or proxy)(> 2.1.0 proxy is default)

#mode = proxy

Specify port and IP address to listen to (only proxy), default port 5279, 0.0.0.0 ==> own ip address

#ip = 0.0.0.0
#port = 5279

To blocks commands from outside (to channge inverter and shine devices settings) specify blockcmd = True,

specify noipf = True if you still want be able to dest ip addres from growatt server

Specify noipf = True if you still want be able to dest ip addres from growatt server (advice only to use

this for a short time)

#blockcmd = True
#noipf = True

Time = auto/server parameter enable/disable date/time retrieval from data record (server), default is

auto: grott decides which time is used (data record if valid otherwise Server)

If time = server Grott server time is alwas used

#time = auto

Sendbuf = True / False parameter to enable / disable sending historical (buffered) data. Default is sendbuf = True.

#sendbuf = True

Compat is True and valoffset needs to be set if offset / growatt protocol has been changed.

#compat = False
#valueoffset = 6

Specify inverter id (not necessary in version >2.1.0 if compat = false!)

#inverterid = ABC1234567

Decrypt is False if growatt communication is not encrypted (older inverters), (not necessary in version

>2.1.0 if compat = false!)

#decrypt = True

[Growatt]

Ip address and port of Growatt server (specify only if IP has changed)

#ip = 47.91.67.66
#port = 5279

[MQTT]

Mqtt parameters definitions

Be aware nomqtt = True means no MQTT processing will be done!!!!!!

#nomqtt = False
#ip = localhost
#port = 1883
#topic= energy/growatt
#auth = False
#user = grott
#password = growatt2020

[PVOutput]

PVOutput parameters definitions

pvoutput = True

Use this if you have one inverter

apikey = 8faee4102ed7d87d3288f24eb72e73e6e79ec107
systemid = 77962

Use this if you have multiple inverters

#systemid1 = 12345
#inverterid1 = inverter1
#systemid2 = 67890
#inverterid2 = inverter2
#systemid99 = 99999
#inverterid99 = inverter99

[influx]

Influxdb parameters definitions

#influx = False
#influx2 = False
#dbname = grottdb
#ip = localhost
#port = 8086
#user = grott
#password = growatt2020
#token = "influx_token"
#org = "grottorg"
#bucket = "grottdb"

[extension]

grott extension parameters definitions

#extension = True
#extname = grottext
#extvar = {"var1": "var1_content", "var2": "var2_content"}


only things that are active is pvoutput

growatt server is being updated with data but pvoutput isnt
also grottlog.txt isnt receiving updates ive refreshed the folder and reopened the .txt and nothing new...?

@johanmeijer
Copy link
Owner

Hmm ok. I going to look into it.

Does not seems to something to be wrong defined. If you only use pvoutput you might specify nomqqt=true (but I do not think it is necessary).

It is strange that there is nothing being shown. Are you sure the data is routed via your PC? I expect that minimal some information should be there if grott receives and send data to the growatt server.

Did you reset the growatt wifi stick by accident (or changed the IP address via the growatt webpages)?

@xDAVIDx93
Copy link
Author

Oh I'm so silly I forgot I must have changed the IP back to growatt server I will change the IP back to the PC in the morning see how we go then :)

@johanmeijer
Copy link
Owner

lol ;)

@xDAVIDx93
Copy link
Author

yep set the pc ip address again and all fixed sending you grottlog.txt to see if all looks good but otherwise its running :)

Grott Command line parameters processed:
verbose: True
config file: grott.ini
output file: <_io.TextIOWrapper name='grottlog.txt' encoding='cp1252'>
nomqtt: False
inverterid: automatic
pvoutput: False
blockcmd: False
noipf: False

Grott process configuration file

Grott process environmental variables

Grott override settings if set in commandline

Grott process json layout files

Grott layout records loaded
T02NNNN :
{'decrypt': {'value': 'False'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T06NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 202, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 210, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 230, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 238, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 254, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 262, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 278, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 286, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 322, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 366, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 374, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 382, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 390, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNNX :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 170, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 178, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 182, 'length': 2, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 274, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 282, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 450, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 454, 'length': 2, 'type': 'num', 'divide': 10}}
T06NNNNX :
{'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 250, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 258, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 278, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 282, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 294, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 298, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 346, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvenergytoday': {'value': 354, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 362, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 386, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 534, 'length': 2, 'type': 'num', 'divide': 10}}

Grott external record whitelist 'recwl.txt' not found

Grott records whitelisted : {'0104', '5019', '5004', '5050', '5116', '0116', '5104', '0103', '5016', '0119', '5119', '5150', '5003', '5103', '0150'}

Grott settings:

_Generic:
version: 2.5.2
verbose: True
trace: False
config file: grott.ini
minrecl: 100
decrypt: True
compat: False
blockcmd: False
noipf: False
time: auto
sendbuf: True
timezone: local
valueoffset: 6
offset: 6
inverterid: automatic
mode: proxy
grottip default
grottport 5279
_MQTT:
nomqtt False
mqttip: localhost
mqttport: 1883
mqtttopic: energy/growatt
mqtttauth: False
mqttuser: grott
mqttpsw: secret
_Growatt server:
growattip: 47.91.67.66
growattport: 5279
_PVOutput:
pvoutput: True
pvurl: https://pvoutput.org/service/r2/addstatus.jsp
pvapikey: 8faee4102ed7d87d3288f24eb72e73e6e79ec107
pvinverters: 1
pvsystemid: 77962
_Influxdb:
influx: False
influx2: False
database: grottdb
ip: localhost
port: 8086
user: grott
password: secret
organization: grottorg
bucket: grottdb
token: secret
_Extension:
extension: False
extname: grottext
extvar: {'none': 'none'}

Grott proxy mode started
Hostname : Davids-Pc
IP : 192.168.1.7 , port : 5279

 - ('192.168.1.11', 52970) has connected

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Growatt original Data:
	 \x00\x02\x00\x06\x02\x41\x01\x03\x1f\x35\x2b\x45\x20\x45\x44\x71\x30\x29\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x37\x23\x25\x42\x35\x76\x40\x5f\x31\x54\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x75\x61
	 \x74\x74\x3b\x72\x6e\x77\x78\x74\x74\x47\x16\x6f\x77\x46\x64\x74\x47\xb1\x3f
	 \x74\x89\x35\x3f\x76\x5c\x5f\x77\x3b\x35\x35\x06\x72\x69\x77\x60\x74\x74\x44
	 \x9a\x6f\x36\x61\x35\x74\x8f\x72\xa7\x77\x61\x2c\x20\x03\x44\x2e\x46\x53\x44
	 \x32\x72\x72\x6f\x77\x61\x74\x75\x47\x16\x6f\x77\x61\x74\x54\x67\x52\x3f\x21
	 \x41\x3d\x1a\x31\x17\x1d\x03\x04\x06\x54\x67\x72\x6f\x63\x31\x76\x75\x40\x97
	 \x6f\x74\x61\x6b\x74\x48\x72\x63\x77\x4a\x74\x77\x40\x7a\x65\x5f\x73\x28\x60
	 \x17\x75\x67\x7d\x3b\x66\x28\x53\x22\x6f\x77\x61\x74\x74\x47\x72\x6f\x70\x9e
	 \x7d\x96\x55\xfc\x7c\xe0\x61\x46\x74\x75\x72\x5d\x77\x64\x74\x46\x47\x77\x6f
	 \x45\x61\x71\x74\x75\x72\x5d\x77\x61\x74\x74\x4e\x84\x6f\x77\x20\x3f\x35\x06
	 \x42\x58\x47\x50\x54\x54\x77\x44\x6e\x46\x61\x74\x74\x47\x61\xce\x77\x79\x7d
	 \xb0\x4d\x28\x67\xef\x69\x62\x74\x53\x72\x6a\x7e\x0e\x7c\x88\x62\xdc\x49\x41
	 \x46\x64\x50\xc6\x5b\x9c\x50\x71\x74\x74\x47\x72\x6e\x5b\x61\x8b\x3a\x67\x72
	 \x90\x39\x41\x74\x8b\x09\x52\x6f\x88\x2f\x54\x77\x47\x72\x6f\x78\x61\x74\x46
	 \x47\x72\x6f\x77\x61\x74\x7f\xff\x7e\x5b\x77\x61\x2c\x20\x03\x44\x2e\x46\x53
	 \x44\x32\x72\x42\x5f\x47\x51\x44\x44\x77\x42\x5f\x47\x51\x44\x44\x77\x42\x5f
	 \x47\x51\x44\x44\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\xc3\x52
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060103X
 - no matching record layout found, try generic
 - Record layout used :  T060103X
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 00020006024101035847443241313036424600000000000000000000000000000000000000005
	 85444364131323046350000000000000000000000000000000000000000000000000000020000
	 007c0001001900000064000027100000c35003e8414b312e30005a41414100060001000003e80
	 041004100c800c800005854443641313230463500000000000100640000000020202050562049
	 6e766572746572202000001450020107e50003001f000f000c002b000307080a28125c1450070
	 80a5a125c1450000000000000000007ff09e2128e139700320032003200050032000500320005
	 003200320000000009f60000414b4141303730312020303601310000000013a1001809c40a5a0
	 898081600140005096f08fc25ae26362710248129f3271000000000012c00ff4e2000ff4e2000
	 ff4e2000ff4e20030000000f0000320000000000000bb80c34000058544436413132304635303
	 03030303030303030303030303030303030300000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000b13d
 - Grott data ack record or data record not defined no processing done

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Growatt original Data:
	 \x00\x02\x00\x06\x02\x41\x01\x04\x1f\x35\x2b\x45\x20\x45\x44\x71\x30\x29\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x37\x23\x25\x42\x35\x76\x40\x5f\x31\x54\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x74\x77\x6b\x48\x7c\x77\x75\x6a
	 \xcc\x78\x73\x72\x6e\x77\x61\xc0\x52\x4b\xf2\x6f\x3e\x61\x74\x2e\x1a\x7e\x33
	 \x77\x28\x74\x74\x1e\xbb\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\xf7\xff\x7c\xfe\x68\xcd
	 \x74\xf6\x72\x6f\xc7\xe2\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x4e\xcb\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \xdf\xfa\x60\x2d\xc3\x75\x72\x6f\x77\xdc\x74\x75\x48\xce\x6f\x76\x75\x4f\x74
	 \x47\x72\x0f\x77\x61\xfd\x9a\x47\x72\x6f\x17\x61\x74\xfe\x0a\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x4f\xf5\x6f\x69\x61\x74\x74\x47\x66\xef\x77\x61\x75
	 \xff\x47\x72\x6f\x77\x61\x74\x75\xf8\x7c\xb6\x77\x61\x3a\x54\x47\x28\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x78\x72\x7e\xde\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\xca\x40
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060104X
 - no matching record layout found, try generic
 - Record layout used :  T06NNNNX
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 00020006024101045847443241313036424600000000000000000000000000000000000000005
	 8544436413132304635000000000000000000000000000000000000000015031f0f0e18020bb8
	 0c3400010000b4260c80004900005a5d0c5c0049000059c900000000000000000000000000000
	 00000000000000000000000b08d138909b900b10000b083000000000000000000000000000000
	 0009b90000000000000000000000000000b08d0159b732000000bd00010fbc0001143b0000006
	 0000089ee0000006000008a4d0000000000000000000000000000000000000000000000000000
	 000000000000000000000000000000000000000000000887001e0000000014800000018b00000
	 000000001bf0ed900004e20005a00000000000000000000000000000000000000000000000000
	 0000000000000000000000000000000000000000000c350cb1000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000b82f
 - Growatt new layout processing
	 - decrypt       :  True
	 - offset        :  6
	 - record layout :  T06NNNNX

 - Grott data record date/time processing started
 - date-time:  2021-03-31T15:14:24
 - Grott values retrieved:
	 -  pvserial             :  XTD6A120F5
	 -  pvstatus             :  1
	 -  pvpowerin            :  4611.8
	 -  pv1voltage           :  320.0
	 -  pv1current           :  7.3
	 -  pv1watt              :  2313.3
	 -  pv2voltage           :  316.4
	 -  pv2current           :  7.3
	 -  pv2watt              :  2298.5
	 -  pvpowerout           :  4519.7
	 -  pvfrequentie         :  50.0
	 -  pvgridvoltage        :  248.9
	 -  pvgridcurrent        :  17.7
	 -  pvgridpower          :  4518.7
	 -  pvgridvoltage2       :  0.0
	 -  pvgridcurrent2       :  0.0
	 -  pvgridpower2         :  0.0
	 -  pvgridvoltage3       :  0.0
	 -  pvgridcurrent3       :  0.0
	 -  pvgridpower3         :  0.0
	 -  totworktime          :  3146.8
	 -  pvenergytoday        :  18.9
	 -  pvenergytotal        :  6956.4
	 -  epvtotal             :  7071.5
	 -  epv1today            :  9.6
	 -  epv1total            :  3531.0
	 -  epv2today            :  9.6
	 -  epv2total            :  3540.5
	 -  pvtemperature        :  39.5
	 -  pvipmtemperature     :  0.0
 - MQTT jsonmsg: 
		 {"device": "XTD6A120F5", "time": "2021-03-31T15:14:24", "buffered": "no",
		 "values": {"pvstatus": 1, "pvpowerin": 46118, "pv1voltage": 3200,
		 "pv1current": 73, "pv1watt": 23133, "pv2voltage": 3164, "pv2current": 73,
		 "pv2watt": 22985, "pvpowerout": 45197, "pvfrequentie": 5001,
		 "pvgridvoltage": 2489, "pvgridcurrent": 177, "pvgridpower": 45187,
		 "pvgridvoltage2": 0, "pvgridcurrent2": 0, "pvgridpower2": 0,
		 "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3": 0, "totworktime":
		 22656818, "pvenergytoday": 189, "pvenergytotal": 69564, "epvtotal": 70715,
		 "epv1today": 96, "epv1total": 35310, "epv2today": 96, "epv2total": 35405,
		 "pvtemperature": 395, "pvipmtemperature": 0}}
 - MQTT connection refused by target
 - Grott send data to PVOutput systemid:  77962 for inverter:  XTD6A120F5
	 -  {'X-Pvoutput-Apikey': '8faee4102ed7d87d3288f24eb72e73e6e79ec107', 'X-Pvoutput-SystemId': '77962'}
	 -  {'d': '20210331', 't': '15:14', 'v1': 18900, 'v2': 4519.7, 'v6': 248.9}
 - Grott PVOutput response: 
	 -  OK 200: Added Status
 - Grott Send data to Influx disabled 
 - Grott extension processing disabled 

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Growatt original Data:
	 \x00\x02\x00\x06\x02\x41\x01\x50\x1f\x35\x2b\x45\x20\x45\x44\x71\x30\x29\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x37\x23\x25\x42\x35\x76\x40\x5f\x31\x54\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x74\x77\x6b\x4b\x54\x69\x75\x6a
	 \xcc\x78\x73\x72\x6e\x77\x61\xb0\x15\x4a\x4a\x6f\x3e\x61\x74\x15\xa3\x7f\x76
	 \x77\x28\x74\x74\x25\x0f\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x87\xe7\x7c\xfd\x68\xb1
	 \x74\xfb\x72\x6f\xb7\x00\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x4e\xb7\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \xaf\xe2\x60\x2d\x1a\x55\x72\x6f\x77\x09\x74\x75\x48\x15\x6f\x76\x72\x91\x74
	 \x47\x72\x5a\x77\x61\xfd\xb7\x47\x72\x6f\x42\x61\x74\xfe\x65\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x4f\xf5\x6f\x27\x61\x74\x74\x47\x66\xed\x77\x61\x75
	 \xa9\x47\x72\x6f\x77\x61\x74\x75\xfe\x7c\x81\x77\x61\x3a\x54\x47\x10\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x78\x72\x7e\xde\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x8a\xad
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060150X
 - no matching record layout found, try generic
 - Record layout used :  T06NNNNX
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 00020006024101505847443241313036424600000000000000000000000000000000000000005
	 8544436413132304635000000000000000000000000000000000000000015031f0c2606020bb8
	 0c3400010000c4610d380049000061e40d1900490000627d00000000000000000000000000000
	 00000000000000000000000c095138a09c500bc0000c061000000000000000000000000000000
	 0009c50000000000000000000000000000c09501596e120000006800010f67000113e50000003
	 5000089c30000003500008a220000000000000000000000000000000000000000000000000000
	 0000000000000000000000000000000000000000000008870050000000001482000001dd00000
	 000000001b90eee00004e20006200000000000000000000000000000000000000000000000000
	 0000000000000000000000000000000000000000000c350cb1000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000f8c2
 - Growatt new layout processing
	 - decrypt       :  True
	 - offset        :  6
	 - record layout :  T06NNNNX

 - Grott data record date/time processing started
 - date-time:  2021-03-31T12:38:06
 - Grott values retrieved:
	 -  pvserial             :  XTD6A120F5
	 -  pvstatus             :  1
	 -  pvpowerin            :  5027.3
	 -  pv1voltage           :  338.4
	 -  pv1current           :  7.3
	 -  pv1watt              :  2506.0
	 -  pv2voltage           :  335.3
	 -  pv2current           :  7.3
	 -  pv2watt              :  2521.3
	 -  pvpowerout           :  4930.1
	 -  pvfrequentie         :  50.0
	 -  pvgridvoltage        :  250.1
	 -  pvgridcurrent        :  18.8
	 -  pvgridpower          :  4924.9
	 -  pvgridvoltage2       :  0.0
	 -  pvgridcurrent2       :  0.0
	 -  pvgridpower2         :  0.0
	 -  pvgridvoltage3       :  0.0
	 -  pvgridcurrent3       :  0.0
	 -  pvgridpower3         :  0.0
	 -  totworktime          :  3144.2
	 -  pvenergytoday        :  10.4
	 -  pvenergytotal        :  6947.9
	 -  epvtotal             :  7062.9
	 -  epv1today            :  5.3
	 -  epv1total            :  3526.7
	 -  epv2today            :  5.3
	 -  epv2total            :  3536.2
	 -  pvtemperature        :  47.7
	 -  pvipmtemperature     :  0.0
 - MQTT jsonmsg: 
		 {"device": "XTD6A120F5", "time": "2021-03-31T12:38:06", "buffered": "yes",
		 "values": {"pvstatus": 1, "pvpowerin": 50273, "pv1voltage": 3384,
		 "pv1current": 73, "pv1watt": 25060, "pv2voltage": 3353, "pv2current": 73,
		 "pv2watt": 25213, "pvpowerout": 49301, "pvfrequentie": 5002,
		 "pvgridvoltage": 2501, "pvgridcurrent": 188, "pvgridpower": 49249,
		 "pvgridvoltage2": 0, "pvgridcurrent2": 0, "pvgridpower2": 0,
		 "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3": 0, "totworktime":
		 22638098, "pvenergytoday": 104, "pvenergytotal": 69479, "epvtotal": 70629,
		 "epv1today": 53, "epv1total": 35267, "epv2today": 53, "epv2total": 35362,
		 "pvtemperature": 477, "pvipmtemperature": 0}}
 - MQTT connection refused by target
 - Grott send data to PVOutput systemid:  77962 for inverter:  XTD6A120F5
	 -  {'X-Pvoutput-Apikey': '8faee4102ed7d87d3288f24eb72e73e6e79ec107', 'X-Pvoutput-SystemId': '77962'}
	 -  {'d': '20210331', 't': '12:38', 'v1': 10400, 'v2': 4930.1, 'v6': 250.1}
 - Grott PVOutput response: 
	 -  OK 200: Added Status
 - Grott Send data to Influx disabled 
 - Grott extension processing disabled 

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

 - Growatt packet received:
	  <socket.socket fd=592, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 51477), raddr=('47.91.67.66', 5279)>
 - Growatt original Data:
	 \x00\x03\x00\x06\x02\x41\x01\x50\x1f\x35\x2b\x45\x20\x45\x44\x71\x30\x29\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x37\x23\x25\x42\x35\x76\x40\x5f\x31\x54\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x74\x77\x6b\x4b\x59\x69\x75\x6a
	 \xcc\x78\x73\x72\x6e\x77\x61\xb7\x0c\x4a\x4f\x6f\x3a\x61\x74\x10\x2e\x7f\x25
	 \x77\x29\x74\x74\x18\x7d\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\xf8\xe0\x7c\xf0\x68\xb0
	 \x74\x86\x72\x6f\xc8\x6d\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x4e\xb6\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \xd0\xe5\x60\x2d\x04\x26\x72\x6f\x77\x0d\x74\x75\x48\x19\x6f\x76\x72\x9d\x74
	 \x47\x72\x58\x77\x61\xfd\xb1\x47\x72\x6f\x40\x61\x74\xfe\x63\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x4f\xf5\x6e\x73\x61\x74\x74\x47\x66\x12\x77\x61\x75
	 \x99\x47\x72\x6f\x77\x61\x74\x75\x84\x7c\x86\x77\x61\x3a\x54\x47\x10\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x78\x72\x7e\xde\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74
	 \x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61
	 \x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f
	 \x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47
	 \x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
	 \x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
	 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
	 \x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x15\xcb
 - Grott automatic protocol detection
 - Grott data record length 585
 - layout   :  T060150X
 - no matching record layout found, try generic
 - Record layout used :  T06NNNNX
 - Growatt data decrypted V2
 - Grott Growatt data decrypted
 - Growatt plain data:
	 00030006024101505847443241313036424600000000000000000000000000000000000000005
	 8544436413132304635000000000000000000000000000000000000000015031f0c2b06020bb8
	 0c3400010000c3780d3d004d000064690d4a004800005f0f00000000000000000000000000000
	 00000000000000000000000bf92138709c400c10000bf0c000000000000000000000000000000
	 0009c40000000000000000000000000000bf92015970610000006c00010f6b000113e90000003
	 7000089c50000003700008a240000000000000000000000000000000000000000000000000000
	 000000000000000000000000000000000000000000000887010400000000147d000001ed00000
	 000000001c30ee900004e20006200000000000000000000000000000000000000000000000000
	 0000000000000000000000000000000000000000000c350cb1000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 00000000000000000000000000000000000000000000000000000000000000000000000000000
	 0000000000067a4
 - Growatt new layout processing
	 - decrypt       :  True
	 - offset        :  6
	 - record layout :  T06NNNNX

 - Grott data record date/time processing started
 - date-time:  2021-03-31T12:43:06
 - Grott values retrieved:
	 -  pvserial             :  XTD6A120F5
	 -  pvstatus             :  1
	 -  pvpowerin            :  5004.0
	 -  pv1voltage           :  338.9
	 -  pv1current           :  7.7
	 -  pv1watt              :  2570.5
	 -  pv2voltage           :  340.2
	 -  pv2current           :  7.2
	 -  pv2watt              :  2433.5
	 -  pvpowerout           :  4904.2
	 -  pvfrequentie         :  50.0
	 -  pvgridvoltage        :  250.0
	 -  pvgridcurrent        :  19.3
	 -  pvgridpower          :  4890.8
	 -  pvgridvoltage2       :  0.0
	 -  pvgridcurrent2       :  0.0
	 -  pvgridpower2         :  0.0
	 -  pvgridvoltage3       :  0.0
	 -  pvgridcurrent3       :  0.0
	 -  pvgridpower3         :  0.0
	 -  totworktime          :  3144.3
	 -  pvenergytoday        :  10.8
	 -  pvenergytotal        :  6948.3
	 -  epvtotal             :  7063.3
	 -  epv1today            :  5.5
	 -  epv1total            :  3526.9
	 -  epv2today            :  5.5
	 -  epv2total            :  3536.4
	 -  pvtemperature        :  49.3
	 -  pvipmtemperature     :  0.0
 - MQTT jsonmsg: 
		 {"device": "XTD6A120F5", "time": "2021-03-31T12:43:06", "buffered": "yes",
		 "values": {"pvstatus": 1, "pvpowerin": 50040, "pv1voltage": 3389,
		 "pv1current": 77, "pv1watt": 25705, "pv2voltage": 3402, "pv2current": 72,
		 "pv2watt": 24335, "pvpowerout": 49042, "pvfrequentie": 4999,
		 "pvgridvoltage": 2500, "pvgridcurrent": 193, "pvgridpower": 48908,
		 "pvgridvoltage2": 0, "pvgridcurrent2": 0, "pvgridpower2": 0,
		 "pvgridvoltage3": 0, "pvgridcurrent3": 0, "pvgridpower3": 0, "totworktime":
		 22638689, "pvenergytoday": 108, "pvenergytotal": 69483, "epvtotal": 70633,
		 "epv1today": 55, "epv1total": 35269, "epv2today": 55, "epv2total": 35364,
		 "pvtemperature": 493, "pvipmtemperature": 0}}
 - MQTT connection refused by target
 - Grott send data to PVOutput systemid:  77962 for inverter:  XTD6A120F5
	 -  {'X-Pvoutput-Apikey': '8faee4102ed7d87d3288f24eb72e73e6e79ec107', 'X-Pvoutput-SystemId': '77962'}
	 -  {'d': '20210331', 't': '12:43', 'v1': 10800, 'v2': 4904.2, 'v6': 250.0}
 - Grott PVOutput response: 
	 -  OK 200: Added Status
 - Grott Send data to Influx disabled 
 - Grott extension processing disabled 

 - Growatt packet received:
	  <socket.socket fd=596, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.1.7', 5279), raddr=('192.168.1.11', 52970)>
 - Data less then minimum record length, data not processed

@johanmeijer
Copy link
Owner

@xDAVIDx93 looks ok to me.

You do not use MQTT I think (msg: MQTT connection refused by target) so you might disable MQTT processing by specifying nomqtt=True in the grott.ini. But again it does not hurt.

@xDAVIDx93
Copy link
Author

4 days straight it run pefectly and pc was running 24/7 but this morning its disconnected again i dont see it on the network at all here is the grottlog which was last modified at 6:17am

Grott Command line parameters processed:
verbose: True
config file: grott.ini
output file: <_io.TextIOWrapper name='grottlog.txt' encoding='cp1252'>
nomqtt: False
inverterid: automatic
pvoutput: False
blockcmd: False
noipf: False

Grott process configuration file

Grott process environmental variables

Grott override settings if set in commandline

Grott process json layout files

Grott layout records loaded
T02NNNN :
{'decrypt': {'value': 'False'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 122, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 130, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 134, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 138, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 142, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 150, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 154, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 158, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 166, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 174, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 182, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 190, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 198, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 206, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 242, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 278, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 294, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 310, 'length': 4, 'type': 'num', 'divide': 10}}
T06NNNN :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 202, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 210, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 214, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 218, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 222, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 230, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 234, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 238, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 246, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 250, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 254, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 262, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 278, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvtemperature': {'value': 286, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 322, 'length': 2, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 358, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 366, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 374, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 382, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 390, 'length': 4, 'type': 'num', 'divide': 10}}
T05NNNNX :
{'decrypt': {'value': 'True'}, 'pvserial': {'value': 36, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 56, 'divide': 10}, 'pvstatus': {'value': 78, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 82, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 90, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 94, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 98, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 106, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 110, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 114, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 170, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 178, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 182, 'length': 2, 'type': 'num', 'divide': 10}, 'pvenergytoday': {'value': 274, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 282, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 450, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 454, 'length': 2, 'type': 'num', 'divide': 10}}
T06NNNNX :
{'pvserial': {'value': 76, 'length': 10, 'type': 'text', 'divide': 10}, 'date': {'value': 136, 'divide': 10}, 'pvstatus': {'value': 158, 'length': 2, 'type': 'num'}, 'pvpowerin': {'value': 162, 'length': 4, 'type': 'num', 'divide': 10}, 'pv1voltage': {'value': 170, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1current': {'value': 174, 'length': 2, 'type': 'num', 'divide': 10}, 'pv1watt': {'value': 178, 'length': 4, 'type': 'num', 'divide': 10}, 'pv2voltage': {'value': 186, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2current': {'value': 190, 'length': 2, 'type': 'num', 'divide': 10}, 'pv2watt': {'value': 194, 'length': 4, 'type': 'num', 'divide': 10}, 'pvpowerout': {'value': 250, 'length': 4, 'type': 'num', 'divide': 10}, 'pvfrequentie': {'value': 258, 'length': 2, 'type': 'num', 'divide': 100}, 'pvgridvoltage': {'value': 262, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent': {'value': 266, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower': {'value': 270, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage2': {'value': 278, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent2': {'value': 282, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower2': {'value': 286, 'length': 4, 'type': 'num', 'divide': 10}, 'pvgridvoltage3': {'value': 294, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridcurrent3': {'value': 298, 'length': 2, 'type': 'num', 'divide': 10}, 'pvgridpower3': {'value': 302, 'length': 4, 'type': 'num', 'divide': 10}, 'totworktime': {'value': 346, 'length': 4, 'type': 'num', 'divide': 7200}, 'pvenergytoday': {'value': 354, 'length': 4, 'type': 'num', 'divide': 10}, 'pvenergytotal': {'value': 362, 'length': 4, 'type': 'num', 'divide': 10}, 'epvtotal': {'value': 370, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1today': {'value': 378, 'length': 4, 'type': 'num', 'divide': 10}, 'epv1total': {'value': 386, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2today': {'value': 394, 'length': 4, 'type': 'num', 'divide': 10}, 'epv2total': {'value': 402, 'length': 4, 'type': 'num', 'divide': 10}, 'pvtemperature': {'value': 530, 'length': 2, 'type': 'num', 'divide': 10}, 'pvipmtemperature': {'value': 534, 'length': 2, 'type': 'num', 'divide': 10}}

Grott external record whitelist 'recwl.txt' not found

Grott records whitelisted : {'5116', '0119', '0150', '5019', '0104', '5050', '5104', '0103', '5004', '5003', '5119', '5103', '5016', '0116', '5150'}

Grott settings:

_Generic:
version: 2.5.2
verbose: True
trace: False
config file: grott.ini
minrecl: 100
decrypt: True
compat: False
blockcmd: False
noipf: False
time: auto
sendbuf: True
timezone: local
valueoffset: 6
offset: 6
inverterid: automatic
mode: proxy
grottip default
grottport 5279
_MQTT:
nomqtt False
mqttip: localhost
mqttport: 1883
mqtttopic: energy/growatt
mqtttauth: False
mqttuser: grott
mqttpsw: secret
_Growatt server:
growattip: 47.91.67.66
growattport: 5279
_PVOutput:
pvoutput: True
pvurl: https://pvoutput.org/service/r2/addstatus.jsp
pvapikey: 8faee4102ed7d87d3288f24eb72e73e6e79ec107
pvinverters: 1
pvsystemid: 77962
_Influxdb:
influx: False
influx2: False
database: grottdb
ip: localhost
port: 8086
user: grott
password: secret
organization: grottorg
bucket: grottdb
token: secret
_Extension:
extension: False
extname: grottext
extvar: {'none': 'none'}

Grott proxy mode started
Hostname : Davids-Pc
IP : 192.168.1.7 , port : 5279

@johanmeijer
Copy link
Owner

Strange. It seems that again no data is routed via your PC. It is possible that the shinewifi is reseted?
Is data being sent to the growatt server?

@xDAVIDx93
Copy link
Author

xDAVIDx93 commented Apr 5, 2021

No, no data is being uploaded to growatt server, pvoutput or grottlog.txt..

When I go into router admin Web page it doesn't say it's connected to wifi either

It automatically reconnects to wifi and starts uploading data to growatt, pvoutput and grottlog.txt when I disconnect the shinewifi x stick and plug it back in.

Once a week randomly it loses wifi connection when it goes into standby mode over night then doesn't bother to reconnect in the morning or it try's but fails then gives up... but then if I don't do anything randomly the next morning it will successfully reconnect to wifi like nothing happened..?

@johanmeijer
Copy link
Owner

I am not sure how it works with your inverter / shinewifi but my inverter (and the shinewifi) is powered off every day from the moment the solar panels does not deliver enough power anymore.

In the morning everything is started again and connection with the wifi is established again. No issue's at all.

If your inverter does not reconnect to the wifi it seems to me a network / wifi issue. Grott is not involved yet (that is only applicable if the inverter is connect to the wifi and start sending data).

Maybe a restart of your router might help (be aware the IP address of your PC has not been changed).

@xDAVIDx93
Copy link
Author

@johanmeijer got a new modem router and installed the latest update of grott 2.6.1h for the last week everything seems fine it's actually connecting in the morning where as before sometimes it wasn't I think that was a router issue.

But I do have a question with grottlog.txt is there a way to have it record logs that spands the whole day or even the whole week because at the moment whenever shinewifi disconnects and reconnects it overwrites the grottlog.txt and starts over. If there's a way to do that can you run me through it because I forget how to use nssm/services thingo.. which is where I think we specified in the first place to make grottlog.txt..?

@johanmeijer
Copy link
Owner

Time ago I looked at the windows services. Give me some time to look into it.

@johanmeijer
Copy link
Owner

johanmeijer commented Oct 6, 2022

@xDAVIDx93 Sorry but you really have to dive into nssm again.

  • Start a command prompt with admin rights

  • Go to the NSSM directory (e.g C:\nssm\win64

  • edit the grott service: nssm edit grott

  • change the arguments with: u grott.py -v
    image

  • go to the io window and set the logfile name and directory destination for output and error (e.g. d:\my_grott_dir\grottlog.txt, I used the same for output and error).
    image

  • go the the file rotation window and enable rotate files:
    image

  • stop the grott service : nssm stop grott

  • start the grott service : nssm start grott

No every time grott stop/start the old grottlog file will be save in a file with a date/time stamp in the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants