johanmeijer / grott

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

More Datalogger Register Commands #131

Open rany2 opened 2 years ago

rany2 commented 2 years ago

This is for ShineWifi-S but might apply for the rest.

I was messing around with my datalogger and found some registers that might be of interest. While the inverter registers are well documented, datalogger ones are not. For this reason I decided to put some info here as some kind of "crowd-funded" effort.

Previously mentioned in https://github.com/johanmeijer/grott/issues/123:

Newly found:

johanmeijer commented 2 years ago

Thanks! I will start documenting it in the wiki soon.

osos commented 2 years ago

curl 'http://localhost:5782/datalogger?command=register&datalogger=[dataloggerserial]&register=16'

Additional

smallbitt commented 1 year ago

On my Shinewifi-s I can't read or set any of those registers. I get an error: "Read Param Failure". Sadly I cannot even change the interval.

johanmeijer commented 1 year ago

Do you use the blockcmd parameter?

smallbitt commented 1 year ago

Oh yeah. It was blockcmd parameter set on "true". So does the interval register works only through grottserver or even directly to growatt server?

johanmeijer commented 1 year ago

It also works with grottserver. See also #93.

Be aware using the grottserver the interval can not set to low (I think not <2 minutes).

cyberdiamond commented 1 year ago

I have been doing some testing, and now I have some more to add:

Register 5: Modbus range low Register 6: Modbus address Register 9: Hardware version Register 11: FTP details Register 12: DNS ip address Register 20: Device type Register 22: Version Register 25: Subnet mask Register 26: Gateway ip address

There are lots more with values that I am not sure of their purpose yet?

rany2 commented 1 year ago

@cyberdiamond These don't apply to SHINEWIFI-S, or at least the values appear uninitalized on my unit.

cyberdiamond commented 1 year ago

I am using a Shinelan box so maybe some are specific to that?

cyberdiamond commented 1 year ago

To be more exact for any one finding this in the future it is a ShineLink (which is a combination of ShineLanBox and ShineRFStick @ 433mhz)

cyberdiamond commented 1 year ago

A couple of possibilities:

Register 28: Offline data number? Register 30: Timezone (looks like its default set to China timezone)?

curl -X GET "http://127.0.0.1:5782/datalogger?datalogger=NAC5Axxxxx&command=register&register=30" {"value": "LLT+8"}