Giter VIP home page Giter VIP logo

Comments (18)

johanmeijer avatar johanmeijer commented on July 30, 2024

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

I am using the master branch. Will switch to the 2.1.2 branch and try again tomorrow.

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

It doesn't look much different in the 2.1.2-(Beta) branch, (no matter if I have the default t060104.json or overwrite it with T060104temp.json).

- Growatt processing values for:  XXXXXXXXXX
        - pvserial:          XXXXXXXXXX
        - pvstatus:          0
        - pvpowerin:         0.0
        - pvpowerout:        0.2
        - pvenergytoday:     80532947.3
        - pvenergytotal:     111155609.7
        - pv1watt:           0.0
        - pv2watt:           0.0
        - pvfrequentie:      0.0
        - pvgridvoltage:     12.4
        - pv1voltage:        0.0
        - pv1current:        0.0
        - pv2voltage:        0.0
        - pv2current:        0.0
        - pvtemperature:     100.0
        - pvipmtemperature:  1233.6
- MQTT jsonmsg:

or

- Growatt processing values for:  XXXXXXXXXX
        - pvserial:          XXXXXXXXXX
        - pvstatus:          0
        - pvpowerin:         0.0
        - pvpowerout:        0.2
        - pvenergytoday:     0.0
        - pvenergytotal:     0.0
        - pv1watt:           0.0
        - pv2watt:           0.0
        - pvfrequentie:      30.0
        - pvgridvoltage:     312.4
        - pv1voltage:        0.0
        - pv1current:        0.0
        - pv2voltage:        0.0
        - pv2current:        0.0
        - pvtemperature:     0.0
        - pvipmtemperature:  232.7

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

grott.ini

#Specify grott monitor configuration

[Generic]
# Specify inverter id
inverterid = XXXXXXXX
# Specify mode (sniff or proxy)
mode = proxy
# specify port to listen to (only proxy, default 5279)
port = 5279
#Decrypt is False if growatt communication is not encrypted (older inverters)
decrypt = True
#Compat is True and valoffset needs to be set if offset / growatt protocol has been changed. Since 2020 this needs to be specified (True,26)
compat = True
valueoffset = 26

[Growatt]
#ip address and port of Growatt server
ip = 47.91.67.66
port = 5279

[MQTT]
#mqtt parameters definitions
ip = 192.168.71.101
port = 1883
topic= energy/growatt
auth = False
user = grott
password = growatt2020

Startup messages:

Grott Growatt logging monitor : 2.1.2
Grott Command line parameters processed:
        verbose:              True
        config file:          grott.ini
        output file:          <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
        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:
t065104.json
t065104.json.old
t055104.json
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, 'pvene>
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, 'pvener>
T060104  :
{'decrypt': 'True', 'pvserial': 76, 'date': 116, 'pvstatus': 158, 'pvpowerin': 162, 'pv1voltage': 170, 'pv1current': 174, 'pv1watt': 178, 'pv2voltage': 186, 'pv2current': 190, 'pv2watt': 194, 'pvpowerout': 250, 'pvfrequentie': 258, 'pvgridvoltage': 262, 'pvenergytoday': 354,>
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, 'pven>
T065104  :
{'decrypt': 'True', 'pvserial': 76, 'date': 116, 'pvstatus': 158, 'pvpowerin': 162, 'pv1voltage': 170, 'pv1current': 174, 'pv1watt': 178, 'pv2voltage': 186, 'pv2current': 190, 'pv2watt': 194, 'pvpowerout': 250, 'pvfrequentie': 258, 'pvgridvoltage': 262, 'pvenergytoday': 354,>
Grott settings:
_Generic:
        version:              2.1.2
        verbose:              True
        trace:                False
        config file:          grott.ini
        minrecl:              100
        decrypt:              True
        compat:               True
        valueoffset:          26
        offset:               26
        inverterid:           XXXXXXX
        mode:                 proxy
        grottip               0.0.0.0
        grottport             5279
_MQTT:
        nomqtt                False
        mqttip:               192.168.71.101
        mqttport:             1883
        mqtttopic:            energy/growatt
        mqtttauth:            False
        mqttuser:             grott
        mqttpsw:              growatt2020
_Growatt server:
        growattip:            47.91.67.66
        growattport:          5279
_PVOutput:
        pvoutput:             False
        pvurl:                https://pvoutput.org/service/r2/addstatus.jsp
        pvapikey:             yourapikey
        pvsystemid:           12345
Grott proxy mode started
         - ('192.168.71.123', 1043) has connected
         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 56928), raddr=('47.91.67.66', 5279)>
         - Data less then minimum record length, data not processed
         - Growatt packet received:
                  <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 5279), raddr=('192.168.71.123', 1043)>
         - Data less then minimum record length, data not processed
         - Growatt packet received:
                  <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 5279), raddr=('192.168.71.123', 1043)>
         - Data less then minimum record length, data not processed
         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 56928), raddr=('47.91.67.66', 5279)>
         - Data less then minimum record length, data not processed
         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 56928), raddr=('47.91.67.66', 5279)>
         - Growatt original Data:
                 \x00\x54\x00\x06\x02\x41\x50\x03\x09\x33\x2c\x42\x20\x45\x42\x71\x37\x59\x77
                 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
                 \x2b\x33\x27\x44\x35\x76\x42\x5f\x44\x57\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\xb8\x74\x74\x47\x16\x6f\x77\x46\x64\x74\x47\xfe\xcf
                 \x74\x89\x35\x38\x76\x5c\x5f\x77\x3b\x35\x36\x06\x72\x6e\x77\x60\x74\x74\x44
                 \x9a\x6f\x4b\x61\x48\x74\x1d\x72\x35\x77\x61\x30\x30\x01\x42\x2e\x46\x51\x44
                 \x47\x71\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\x64\x8d\x76\x75\x40\x96
                 \x6f\x7e\x61\x64\x74\x57\x72\x6d\x77\x7c\x74\x77\x40\x42\x65\x22\x73\xfa\x60
                 \x59\x75\x5f\x7d\x34\x66\xfa\x53\x6c\x68\x47\x6b\x21\x66\xc9\x66\x71\x70\xc2
                 \x7d\x96\x55\xe1\x7c\xfa\x61\x46\x74\x75\x72\x5d\x77\x53\x74\x46\x47\x40\x6f
                 \x45\x61\x46\x74\x75\x72\x5d\x77\x69\x74\x7c\x4e\x90\x6f\x77\x20\x38\x35\x06
                 \x42\x5e\x47\x50\x54\x54\x77\x43\x6e\x46\x61\x74\x74\x47\x61\xf3\x77\x53\x7d
                 \xc0\x4e\x90\x67\x33\x69\x62\x74\x53\x72\x6a\x7e\x0e\x7c\x88\x61\xaa\x48\xab
                 \x46\x64\x5d\x59\x54\x63\x50\x71\x74\xe2\x47\x72\x6e\x93\x61\x8b\x3a\x67\x72
                 \x90\x39\x41\x74\x8b\x09\x52\x6f\x88\x2f\x54\x75\x47\x72\x6f\x78\x60\x74\x50
                 \x47\x72\x6f\x77\x61\x74\x7f\xff\x7e\x5b\x77\x61\x30\x30\x01\x42\x2e\x46\x51
                 \x44\x47\x71\x42\x5f\x47\x51\x44\x44\x77\x42\x5f\x47\x51\x44\x44\x77\x42\x5f
                 \x47\x51\x44\x44\x47\x72\x6e\x83\x61\x74\x75\xd7\x72\x6e\x77\x61\x74\x74\x47
                 \x72\x6d\x2f\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x51\xda\x6f\x77\x61\x74
                 \x74\x47\x72\x6f\x77\x61\x74\x10\x47\x77\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
                 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x23\x72\x0b\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\x37\x2f\x39\x2c\x2c\x1f
                 \x2a\x37\x2f\x39\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x54
                 \x54\x67\x52\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\x2c\x1f\x02\x75
         - Growatt data decrypted
         - Growatt plain data:
                 00540006024150034e41433541313636453600000000000000000000000000000000000000004
                 44446304131303033360000000000000000000000000000000000000000000000000000020000
                 007c000100d9000000640000271000008ca003e8414c312e30005a41424100010001000003e80
                 03c003c005a005a00004444463041313030333600000000000100640000000020202050562049
                 6e7665727465722020000013ec020107e40009001000100002001d000307300a55128e141e073
                 00a55128e141e07300a55128e141e07a309e21293138d00320032003200320032003200320032
                 003200320008000809e20000414c41413031303120203031013100000000139c003209b409e20
                 844081600140005096f08fc26d827dc2710291e260c27100096000001e400ff4e2000ff4e2000
                 ff4e2000ff4e20010000000f0100240000000000000bb80c34000044444630413130303336303
                 0303030303030303030303030303030303030000001f400000190000100000000000002580000
                 000000000000000016a8000000000000000000000064000500000000000000000000000000000
                 00000000064006400000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000005858585858585858585800000000000000000000000000002020202000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000005858701a
         - Growatt processing values for:  XXXXXXX
                 - pvserial:          XXXXXXXXX
                 - pvstatus:          0
                 - pvpowerin:         0.0
                 - pvpowerout:        0.2
                 - pvenergytoday:     80532947.3
                 - pvenergytotal:     111155609.7
                 - pv1watt:           0.0
                 - pv2watt:           0.0
                 - pvfrequentie:      0.0
                 - pvgridvoltage:     12.4
                 - pv1voltage:        0.0
                 - pv1current:        0.0
                 - pv2voltage:        0.0
                 - pv2current:        0.0
                 - pvtemperature:     100.0
                 - pvipmtemperature:  1233.6
         - MQTT jsonmsg:
                         {"device": "XXXXXXXX", "time": "2020-09-16T14:04:34", "values":
                         {"pvstatus": 0, "pv1watt": 0, "pv2watt": 0, "pvpowerin": 0, "pvpowerout": 2,
                         "pvfrequentie": 0, "pvgridvoltage": 124, "pvenergytoday": 805329473,
                         "pvenergytotal": 1111556097, "pv1voltage": 0, "pv2voltage": 0, "pv1current":
                         0, "pv2current": 0, "pvtemperature": 1000, "pvipmtemperature": 12336}}
         - MQTT message message sent

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

renamed t060104.json.old to t060104.old

Content grott.ini


[Generic]

[Growatt]

[MQTT]
ip = 192.168.71.101
topic= energy/growatt
auth = False
user = grott
password = growatt2020

Startup log

Grott Growatt logging monitor : 2.1.2

Grott Proces configuration file


Grott Proces environmental variables

Grott override settings if set in commandline

Grott Proces json layout files:
t065104.json
t055104.json

Grott layout records loaded:
T020104  : 
T050104  : 
T060104  : 
T055104  : 

         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 39270), raddr=('47.91.67.66', 5279)>

         - Growatt packet received:
                  <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 5279), raddr=('192.168.71.123', 1026)>

         - Growatt packet received:
                  <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 5279), raddr=('192.168.71.123', 1026)>

         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 39270), raddr=('47.91.67.66', 5279)>

         - Growatt packet received:
                  <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 39270), raddr=('47.91.67.66', 5279)>

And these lines go on forever. No json log anymore.

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

Hmm, this was without verbose mode, will see what verbose gives.

         - Growatt original Data:
                 \x00\xe9\x00\x06\x02\x41\x50\x04\x09\x33\x2c\x42\x20\x45\x42\x71\x37\x59\x77
                 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
                 \x2b\x33\x27\x44\x35\x76\x42\x5f\x44\x57\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\x6a
                 \xcc\x78\x73\x72\x6e\x77\x61\x6c\x5d\x49\x09\x6f\x67\x61\x74\x6c\x61\x70\x29
                 \x77\x61\x74\x74\x47\x71\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\x5f\x60\x7c\xfd\x69\x81
                 \x74\x5b\x72\x6f\x6f\x75\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
                 \x61\x74\x74\x4f\x87\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
                 \x6f\x77\x61\x08\xde\x63\x72\x6f\x77\xe7\x74\x74\x6b\x27\x6f\x77\x4d\xcd\x74
                 \x47\x72\xe7\x77\x61\x58\xcd\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\xb8\x88\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x75
                 \x1f\x46\x19\x6f\x77\x61\x74\x75\xfc\x7d\x01\x77\x61\x3a\x54\x47\x63\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\x4e\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\x61\xe4\x7f\x8b\x74\x68\x47
                 \x72\x78\xa0\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74
                 \x74\x47\x65\xb6\x77\xc1\x3a\x54\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\x8c\xd7
         - Grott automatic protocol detection
         - layout   :  T065004
         - Growatt data decrypted
         - Growatt plain data:
                 00e90006024150044e41433541313636453600000000000000000000000000000000000000004
                 44446304131303033360000000000000000000000000000000000000000000000000000020bb8
                 0c340001000018290e7b001000001826024600000000000300000000000000000000000000000
                 000000000000000000000001812138a08f5001c00001814000000000000000000000000000000
                 0008f500000000000000000000000000000000007caa240000008600002c5500002cb90000008
                 800002cb900000000000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000fffa00000000000000000000016b016b0
                 000000001bb0f6e00004e20001100000000000000000000000000000000000000000000000000
                 00003c0000000000000000000000000000000000000c350cb1000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000138b08ea001c000017d70000
                 0000000000000000000000000000000017d900a04e20000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000feb8
         - Grott data ack record or data record not defined no processing done

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

         - Growatt packet received:
                  <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('192.168.71.101', 40574), raddr=('47.91.67.66', 5279)>
         - Growatt original Data:
                 \x00\xea\x00\x06\x02\x41\x50\x03\x09\x33\x2c\x42\x20\x45\x42\x71\x37\x59\x77
                 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72
                 \x2b\x33\x27\x44\x35\x76\x42\x5f\x44\x57\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\xb8\x74\x74\x47\x16\x6f\x77\x46\x64\x74\x47\xfe\xcf
                 \x74\x89\x35\x38\x76\x5c\x5f\x77\x3b\x35\x36\x06\x72\x6e\x77\x60\x74\x74\x44
                 \x9a\x6f\x4b\x61\x48\x74\x1d\x72\x35\x77\x61\x30\x30\x01\x42\x2e\x46\x51\x44
                 \x47\x71\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\x64\x8d\x76\x75\x40\x96
                 \x6f\x7e\x61\x64\x74\x55\x72\x6a\x77\x55\x74\x77\x40\x42\x65\x22\x73\xfa\x60
                 \x59\x75\x5f\x7d\x34\x66\xfa\x53\x6c\x68\x47\x6b\x21\x66\xc9\x66\x71\x70\xc2
                 \x7d\x96\x55\xe1\x7c\xfa\x61\x46\x74\x75\x72\x5d\x77\x53\x74\x46\x47\x40\x6f
                 \x45\x61\x46\x74\x75\x72\x5d\x77\x69\x74\x7c\x4e\x90\x6f\x77\x20\x38\x35\x06
                 \x42\x5e\x47\x50\x54\x54\x77\x43\x6e\x46\x61\x74\x74\x47\x61\xf3\x77\x53\x7d
                 \xc0\x4e\x90\x67\x33\x69\x62\x74\x53\x72\x6a\x7e\x0e\x7c\x88\x61\xaa\x48\xab
                 \x46\x64\x5d\x59\x54\x63\x50\x71\x74\xe2\x47\x72\x6e\x93\x61\x8b\x3a\x67\x72
                 \x90\x39\x41\x74\x8b\x09\x52\x6f\x88\x2f\x54\x75\x47\x72\x6f\x78\x60\x74\x50
                 \x47\x72\x6f\x77\x61\x74\x7f\xff\x7e\x5b\x77\x61\x30\x30\x01\x42\x2e\x46\x51
                 \x44\x47\x71\x42\x5f\x47\x51\x44\x44\x77\x42\x5f\x47\x51\x44\x44\x77\x42\x5f
                 \x47\x51\x44\x44\x47\x72\x6e\x83\x61\x74\x75\xd7\x72\x6e\x77\x61\x74\x74\x47
                 \x72\x6d\x2f\x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x51\xda\x6f\x77\x61\x74
                 \x74\x47\x72\x6f\x77\x61\x74\x10\x47\x77\x6f\x77\x61\x74\x74\x47\x72\x6f\x77
                 \x61\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x23\x72\x0b\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\x37\x2f\x39\x2c\x2c\x1f
                 \x2a\x37\x2f\x39\x74\x74\x47\x72\x6f\x77\x61\x74\x74\x47\x72\x6f\x77\x61\x54
                 \x54\x67\x52\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\x2c\x1f\xbc\x30
         - Grott automatic protocol detection
         - layout   :  T065003
         - Growatt data decrypted
         - Growatt plain data:
                 00ea0006024150034e41433541313636453600000000000000000000000000000000000000004
                 44446304131303033360000000000000000000000000000000000000000000000000000020000
                 007c000100d9000000640000271000008ca003e8414c312e30005a41424100010001000003e80
                 03c003c005a005a00004444463041313030333600000000000100640000000020202050562049
                 6e7665727465722020000013ec020107e400090010001200050034000307300a55128e141e073
                 00a55128e141e07300a55128e141e07a309e21293138d00320032003200320032003200320032
                 003200320008000809e20000414c41413031303120203031013100000000139c003209b409e20
                 844081600140005096f08fc26d827dc2710291e260c27100096000001e400ff4e2000ff4e2000
                 ff4e2000ff4e20010000000f0100240000000000000bb80c34000044444630413130303336303
                 0303030303030303030303030303030303030000001f400000190000100000000000002580000
                 000000000000000016a8000000000000000000000064000500000000000000000000000000000
                 00000000064006400000000000000000000000000000000000000000000000000000000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000000000005858585858585858585800000000000000000000000000002020202000000000
                 00000000000000000000000000000000000000000000000000000000000000000000000000000
                 00000005858ce5f
         - Grott data ack record or data record not defined no processing done

No valid json records

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Hmm new type of record. You need a t065004.json I am afraid.
I will try to create one (I am on vacation so this will be a challenge with the limited IT equipement I have here).

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

No hurry, enjoying your holiday is more important!

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Thanks.

I published a t065004.json. It is a copy of the record layout of the shinewifi-x (and xe inverter). Lets see if this ones works.
If not I have to debug it next week.

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

Just did a git pull, will let you now more tomorrow.

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

First results look a lot better

- Growatt new layout processing
         - decrypt       :  True
         - offset        :  6
         - record layout :  T065004
         - pvserial:          XXXXXXXXX
         - pvstatus:          1
         - pvpowerin:         259.1
         - pvpowerout:        262.7
         - pvenergytoday:     0.1
         - pvenergytotal:     1135.4
         - pv1watt:           259.1
         - pv2watt:           0.0
         - pvfrequentie:      49.99
         - pvgridvoltage:     228.4
         - pv1voltage:        430.8
         - pv1current:        0.6
         - pv2voltage:        14.9
         - pv2current:        0.0
         - pvtemperature:     30.2
         - pvipmtemperature:  30.2

I will check a few more times today.

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

Looks good :)

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

Yeah, the total values also do increase as expected.

I do get quite some discarded reads en grott restarts every now and then (ConnectionResetError: [Errno 104] Connection reset by peer), but I do not think Grott is to blame for that.

from grott.

johanmeijer avatar johanmeijer commented on July 30, 2024

from grott.

a-dekker avatar a-dekker commented on July 30, 2024

Another model tested for now :-)

I'll close the issue, thanks for the assistance.

from grott.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.