Hi
I have taped into my inverters rs232 rx port hand have recorded what data a data logger send, replicating these recording to the inverter gives me a response from the inverter but I have no idea what the return string means.
Things have notice
-bit one of the binary buffer is always 1 in decimal (send/receive)
-bit two is always 3(send/receive)
-bit five of the binary buffer I send is always 0 (but I have only 14 strings I can send so this might be irrelevant)
-all the binary buffers I send contains 8 bytes
The inverter is a Sunsynk 5k and around the world there there are similar inverts rebranded as Deye or Sol-ark.
I need help how to understand/decode the data I send and receive.
Thanks
Frans
[
{
"id": "3f8a463ee39730ab",
"type": "tab",
"label": "Flow 2",
"disabled": false,
"info": "",
"env": []
},
{
"id": "df19ed4a26ebb68d",
"type": "serial-port",
"serialport": "/dev/ttyUSB0",
"serialbaud": "9600",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "200",
"bin": "false",
"out": "interbyte",
"addchar": "",
"responsetimeout": "0"
},
{
"id": "d77c800f247e0535",
"type": "serial-port",
"serialport": "/dev/ttyUSB1",
"serialbaud": "9600",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "200",
"bin": "false",
"out": "interbyte",
"addchar": "",
"responsetimeout": "0"
},
{
"id": "dfb4a60f.d788f8",
"type": "ui_group",
"name": "Data Export",
"tab": "",
"order": 1,
"disp": true,
"width": "12"
},
{
"id": "9fe33af1483ca568",
"type": "ui_base",
"theme": {
"name": "theme-light",
"lightTheme": {
"default": "#0094CE",
"baseColor": "#0094CE",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"darkTheme": {
"default": "#097479",
"baseColor": "#097479",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": false
},
"customTheme": {
"name": "Untitled Theme 1",
"default": "#4B7930",
"baseColor": "#4B7930",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
},
"themeState": {
"base-color": {
"default": "#0094CE",
"value": "#0094CE",
"edited": false
},
"page-titlebar-backgroundColor": {
"value": "#0094CE",
"edited": false
},
"page-backgroundColor": {
"value": "#fafafa",
"edited": false
},
"page-sidebar-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"group-textColor": {
"value": "#1bbfff",
"edited": false
},
"group-borderColor": {
"value": "#ffffff",
"edited": false
},
"group-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"widget-textColor": {
"value": "#111111",
"edited": false
},
"widget-backgroundColor": {
"value": "#0094ce",
"edited": false
},
"widget-borderColor": {
"value": "#ffffff",
"edited": false
},
"base-font": {
"value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
}
},
"angularTheme": {
"primary": "indigo",
"accents": "blue",
"warn": "red",
"background": "grey",
"palette": "light"
}
},
"site": {
"name": "Node-RED Dashboard",
"hideToolbar": "false",
"allowSwipe": "false",
"lockMenu": "false",
"allowTempTheme": "true",
"dateFormat": "DD/MM/YYYY",
"sizes": {
"sx": 48,
"sy": 48,
"gx": 6,
"gy": 6,
"cx": 6,
"cy": 6,
"px": 0,
"py": 0
}
}
},
{
"id": "160e81fb.f1c86e",
"type": "ui_group",
"name": "File Browser",
"tab": "",
"order": 1,
"disp": true,
"width": "18",
"collapse": false
},
{
"id": "82f4b26fb14a5434",
"type": "serial in",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 639.0001373291016,
"y": 42.00001335144043,
"wires": [
[
"2f282fa6cd37a4b2"
]
]
},
{
"id": "8fe2a0f736a39396",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,0,0,1,132,10",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,0,0,1,132,10]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 41.33331871032715,
"wires": [
[
"f1ccc4078b7234b7",
"d8cd21348e51b1d1"
]
]
},
{
"id": "8e3f7b858d48e56f",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,0,0,20,69,197",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,0,0,20,69,197]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 81.33331871032715,
"wires": [
[
"8155f562b7a28f15",
"dffe444f01497894"
]
]
},
{
"id": "b36cabd7392cfcb8",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,59,0,6,180,5",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,59,0,6,180,5]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 121.33331871032715,
"wires": [
[
"83131b474d578e96",
"cba3775ceaebc5ad"
]
]
},
{
"id": "38ef29aaf77a5231",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,90,0,27,37,210",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,90,0,27,37,210]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 161.33331871032715,
"wires": [
[
"62d5396611a24336",
"a64a0186d4e286a9"
]
]
},
{
"id": "3bd578d854c5fc0a",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,150,0,51,229,243",
"props": [
{
"p": "payload"
}
],
"repeat": "30",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,150,0,51,229,243]",
"payloadType": "bin",
"x": 144,
"y": 200.0000057220459,
"wires": [
[
"e2b4992b077b2763",
"d75018fd15228440"
]
]
},
{
"id": "8155f562b7a28f15",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 81.33332538604736,
"wires": []
},
{
"id": "83131b474d578e96",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 121.33332538604736,
"wires": []
},
{
"id": "62d5396611a24336",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 161.33332538604736,
"wires": []
},
{
"id": "e2b4992b077b2763",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 201.33332538604736,
"wires": []
},
{
"id": "a97795c5ad64aa5f",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,1,55,0,16,244,52",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,1,55,0,16,244,52]",
"payloadType": "bin",
"x": 150,
"y": 240,
"wires": [
[
"99e16dade73d70b5",
"1a1e6317fe65bf5e"
]
]
},
{
"id": "99e16dade73d70b5",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 318.00000762939453,
"y": 239.00000667572021,
"wires": []
},
{
"id": "702c7828fea9beeb",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,70,0,14,37,219",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,70,0,14,37,219]",
"payloadType": "bin",
"x": 152.3332977294922,
"y": 281.3333263397217,
"wires": [
[
"b75ea17d26ca5721",
"74a0a3e0bab993b0"
]
]
},
{
"id": "b75ea17d26ca5721",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 281.33332538604736,
"wires": []
},
{
"id": "31c17cfdaddaaa77",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,235,0,1,244,62",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,235,0,1,244,62]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 321.33331871032715,
"wires": [
[
"9e855e013f505510",
"75c3accbbb57aaec"
]
]
},
{
"id": "9e855e013f505510",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 321.33332538604736,
"wires": []
},
{
"id": "5d32c6f5ac3b87b9",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,1,244,0,90,133,255",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,1,244,0,90,133,255]",
"payloadType": "bin",
"x": 143.3332977294922,
"y": 361.33331871032715,
"wires": [
[
"d0966a0868daa1b3",
"16362b3cd9051c4b"
]
]
},
{
"id": "d0966a0868daa1b3",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 361.33332538604736,
"wires": []
},
{
"id": "94ce2ab237739e4e",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,2,88,0,50,68,116",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,2,88,0,50,68,116]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 441.33331871032715,
"wires": [
[
"f84ec65866cb8512",
"0aa3155d1c074a6d"
]
]
},
{
"id": "f84ec65866cb8512",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 441.33332538604736,
"wires": []
},
{
"id": "cd1832f0856bcc32",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,2,138,0,50,228,77***",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,2,138,0,50,228,77]",
"payloadType": "bin",
"x": 133.3333511352539,
"y": 623.3333158493042,
"wires": [
[
"6beb56377e10ec28",
"022ea2fb1ce35507"
]
]
},
{
"id": "6beb56377e10ec28",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 323.3333435058594,
"y": 623.3333311080933,
"wires": []
},
{
"id": "e49b0021a5853734",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,0,84,0,3,68,27",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,0,84,0,3,68,27]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 401.33331871032715,
"wires": [
[
"3919ddb1ca3b2c5d",
"7c9f39160804c84b"
]
]
},
{
"id": "3919ddb1ca3b2c5d",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 401.33332538604736,
"wires": []
},
{
"id": "42269f5776ad213c",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,2,188,0,50,4,67***",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,2,188,0,50,4,67]",
"payloadType": "bin",
"x": 143.3333511352539,
"y": 663.3333158493042,
"wires": [
[
"22325fa8412342a5",
"3904aa36edb4ec41"
]
]
},
{
"id": "22325fa8412342a5",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.3333396911621,
"y": 664.3333320617676,
"wires": []
},
{
"id": "f62e0d0285ed47c7",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,2,238,0,50,165,146***",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,2,238,0,50,165,146]",
"payloadType": "bin",
"x": 133.3333511352539,
"y": 703.3333158493042,
"wires": [
[
"a6ce10df79e325da",
"62278db1e4941b72"
]
]
},
{
"id": "a6ce10df79e325da",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.3333396911621,
"y": 704.3333320617676,
"wires": []
},
{
"id": "a4054bf248b9e523",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,3,32,0,10,196,67***",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,3,32,0,10,196,67]",
"payloadType": "bin",
"x": 143.3333511352539,
"y": 743.3333158493042,
"wires": [
[
"10f152a8cd46c266",
"75d676920e5f3107"
]
]
},
{
"id": "10f152a8cd46c266",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.3333396911621,
"y": 744.3333320617676,
"wires": []
},
{
"id": "0c38337ed67a797a",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,1,30,0,1,229,240",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,1,30,0,1,229,240]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 519.3333377838135,
"wires": [
[
"8bb198b982ef5722",
"fa11fe26cbe1eebd"
]
]
},
{
"id": "8bb198b982ef5722",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 519.3333444595337,
"wires": []
},
{
"id": "6d7aca73a3623277",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,1,163,0,2,53,213",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,1,163,0,2,53,213]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 559.3333377838135,
"wires": [
[
"a9705d3d8edca017",
"23a7b18f857348cc"
]
]
},
{
"id": "a9705d3d8edca017",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 559.3333444595337,
"wires": []
},
{
"id": "f1ccc4078b7234b7",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 327.3332996368408,
"y": 41.33331871032715,
"wires": []
},
{
"id": "34be6b502e61cfc4",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "df19ed4a26ebb68d",
"x": 324.33330154418945,
"y": 479.3333444595337,
"wires": []
},
{
"id": "f51b64b4845bda13",
"type": "inject",
"z": "3f8a463ee39730ab",
"name": "1,3,1,74,0,1,164,32",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[1,3,1,74,0,1,164,32]",
"payloadType": "bin",
"x": 153.3332977294922,
"y": 479.3333377838135,
"wires": [
[
"34be6b502e61cfc4",
"546185a8fec6dbd8"
]
]
},
{
"id": "d8cd21348e51b1d1",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 479.6666793823242,
"y": 41.0000057220459,
"wires": []
},
{
"id": "dffe444f01497894",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 469.0000114440918,
"y": 81.00000190734863,
"wires": []
},
{
"id": "cba3775ceaebc5ad",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 467,
"y": 118,
"wires": []
},
{
"id": "a64a0186d4e286a9",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 466,
"y": 157,
"wires": []
},
{
"id": "d75018fd15228440",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 469,
"y": 199,
"wires": []
},
{
"id": "1a1e6317fe65bf5e",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 470,
"y": 239,
"wires": []
},
{
"id": "74a0a3e0bab993b0",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 471.3333206176758,
"y": 273.99999618530273,
"wires": []
},
{
"id": "75c3accbbb57aaec",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 471.3333206176758,
"y": 314.99999618530273,
"wires": []
},
{
"id": "16362b3cd9051c4b",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 470.3333206176758,
"y": 353.99999618530273,
"wires": []
},
{
"id": "7c9f39160804c84b",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 473.3333206176758,
"y": 395.99999618530273,
"wires": []
},
{
"id": "0aa3155d1c074a6d",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 469,
"y": 435,
"wires": []
},
{
"id": "546185a8fec6dbd8",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 470.3333206176758,
"y": 469.99999618530273,
"wires": []
},
{
"id": "fa11fe26cbe1eebd",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 470.3333206176758,
"y": 510.99999618530273,
"wires": []
},
{
"id": "23a7b18f857348cc",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 469.3333206176758,
"y": 549.9999961853027,
"wires": []
},
{
"id": "022ea2fb1ce35507",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 463,
"y": 622.6666870117188,
"wires": []
},
{
"id": "3904aa36edb4ec41",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 464.3333206176758,
"y": 657.6666831970215,
"wires": []
},
{
"id": "62278db1e4941b72",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 464.3333206176758,
"y": 698.6666831970215,
"wires": []
},
{
"id": "75d676920e5f3107",
"type": "serial out",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 463.3333206176758,
"y": 737.6666831970215,
"wires": []
},
{
"id": "60a9702f39ae917d",
"type": "serial in",
"z": "3f8a463ee39730ab",
"name": "",
"serial": "d77c800f247e0535",
"x": 640,
"y": 96.00003433227539,
"wires": [
[
"949811880b731365"
]
]
},
{
"id": "2f282fa6cd37a4b2",
"type": "debug",
"z": "3f8a463ee39730ab",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 804.6667747497559,
"y": 42.000022888183594,
"wires": []
},
{
"id": "949811880b731365",
"type": "debug",
"z": "3f8a463ee39730ab",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 801.0000267028809,
"y": 93.00000190734863,
"wires": []
}
]