NEWS
M-TEC Energy Butler
-
@metaxa sagte in M-TEC Energy Butler:
wurde das CAT7 Kabel an der richtigen Stelle des BUS Systems dazugehängt,
modbus RTU braucht ein twisted pair davon.
hast du den Waveshare?
@homoran sagte in M-TEC Energy Butler:
erst mal nur einen bei Input
muss mich korrigieren 40000er sind Holding. unüblich, kommt aber vor
was hast du gen2 nimmt holding, gen3 anscheinend Inputregister (30000er)
-
@homoran sagte in M-TEC Energy Butler:
modbus RTU braucht ein twisted pair davon.
Der Elektriker hat wie bei der Busverkabelung zwischen den beiden Geräten jeweils ein Pärchen zusammen für A und ein anderes für B sowie für GND genommen.
@homoran sagte in M-TEC Energy Butler:
gen3 anscheinend Inputregister (30000er)
Habe Gen3 und so eingetragen
Ahhhh! Jetzt wird der Adapter schon gesprächiger
modbus.0 2023-06-23 21:30:59.005 error unknown function code: 0x1d, 0x0 modbus.0 2023-06-23 21:30:58.993 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:58.978 error Wrong CRC for frame: 247,3,42,254,0,60,56,165,247,3,120,16,25,16,19,16,24,9,73,0,9,9,72,0,37,9,74,0,10,19,134,0,0,3,103,0,0,1,34,0,0,1,127,0,0,0,30 modbus.0 2023-06-23 21:30:58.868 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:58.849 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:58.827 error Wrong CRC for frame: 247,3,128,232,0,18,120,165,247,3,36,21,198,39,15,0,2,0,249,255,255,255,255,255,255,255,255,0,0,1,7,0,0,0,236,0,0,12,196,0,0,12,185,0,0,0,0,116,195,247,3,42,242,0,8,249,113,247,3,16,0,0,0,0,0,0,0,4,0,0,0,7,0,0,0,15,216,192,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48,50,48,56,51,51,48,50,54,49,30,6,0,0,0,0,190,217,247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0 modbus.0 2023-06-23 21:30:57.506 debug [DevID_0/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 21:30:57.506 debug [DevID_0] Poll start --------------------- modbus.0 2023-06-23 21:30:56.451 warn Poll error count: 2 code: "ReadInputRegisters: Invalid FC 3" modbus.0 2023-06-23 21:30:56.449 debug received answer for wrong ID 247, expected 0 modbus.0 2023-06-23 21:30:56.305 error Error response: 9b modbus.0 2023-06-23 21:30:56.240 error unknown function code: 0x8, 0x29 modbus.0 2023-06-23 21:30:56.225 error unknown function code: 0x0, 0xf modbus.0 2023-06-23 21:30:56.209 error unknown function code: 0x4e, 0x20 modbus.0 2023-06-23 21:30:56.193 error Error response: 1e modbus.0 2023-06-23 21:30:56.177 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:56.161 error Wrong CRC for frame: 247,3,42,254,0,60,56,165,247,3,120,16,25,16,20,16,24,9,73,0,9,9,73,0,38,9,74,0,10,19,134,0,0,3,117,0,0,1,34,0,0,1,127,0,0,0,30 modbus.0 2023-06-23 21:30:56.049 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:56.033 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:30:56.017 error Wrong CRC for frame: 247,3,128,232,0,18,120,165,247,3,36,21,198,39,15,0,2,0,249,255,255,255,255,255,255,255,255,0,0,1,7,0,0,0,235,0,0,12,196,0,0,12,185,0,0,0,0,127,132,247,3,42,242,0,8,249,113,247,3,16,0,0,0,0,255,255,255,252,0,0,0,9,0,0,0,0,195,48,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48,50,48,56,51,51,48,50,54,49,30,6,0,0,0,0,190,217,247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0 modbus.0 2023-06-23 21:30:54.215 debug [DevID_0/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 21:30:54.213 debug [DevID_0] Poll start --------------------- modbus.0 2023-06-23 21:30:53.654 error Wrong CRC for frame: 247,3,117,248,0,60,202,176,247,3,120,9,67,0,5,19,134,0,0,0,0,0,41,0,0,0,0,0,0,0,0,9,59,0,41,19,134,0,0,0,0,3,69,0,0,0,0,0,0,0,0,9,69,0,3,19,129,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,3,137,0,0,0,0,0,0,0,0,0,0,0,81,0,0,0,0,0,0,0,0,0,0,3,119,0,0,0,0,0,0,0,0,0,0,0,87,0,0,0,0,0,0,0,0,9,32,0 modbus.0 2023-06-23 21:30:53.446 debug received answer for wrong ID 247, expected 0 modbus.0 2023-06-23 21:30:53.303 error Error response: Value is not accepted by slave modbus.0 2023-06-23 21:30:53.302 error Error response for FCx119: Illegal Data Value modbus.0 2023-06-23 21:30:53.240 error Wrong CRC for frame: 247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 modbus.0 2023-06-23 21:30:53.147 warn Poll error count: 1 code: "ReadInputRegisters: Invalid FC 3" modbus.0 2023-06-23 21:30:53.144 debug received answer for wrong ID 247, expected 0 modbus.0 2023-06-23 21:30:53.105 error unknown function code: 0x3b, 0xf7 modbus.0 2023-06-23 21:30:51.779 debug [DevID_0/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 21:30:51.742 debug Initialization of scale factors done! modbus.0 2023-06-23 21:30:51.739 debug [DevID_0] Poll start --------------------- modbus.0 2023-06-23 21:30:51.737 info Connected to slave modbus.0 2023-06-23 21:30:51.705 debug connect to serial /dev/ttyUSB1 with 9600 modbus.0 2023-06-23 21:30:50.406 debug Initialize Objects for holdingRegs: [] modbus.0 2023-06-23 21:30:50.404 debug Add inputRegisters.33000_State_of_Charge_(SOC): {"_id":"inputRegisters.33000_State_of_Charge_(SOC)","type":"state","common":{"name":"Ladezustand der Batterie","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"%"},"native":{"regType":"inputRegs","address":2999,"deviceId":0,"type":"uint16be","len":1,"offset":0,"factor":1}} modbus.0 2023-06-23 21:30:50.403 debug Initialize Objects for inputRegs: [{"_address":"33000","name":"State of Charge (SOC)","description":"Ladezustand der Batterie","unit":"%","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":2999,"deviceId":0,"id":"inputRegisters.33000_State_of_Charge_(SOC)"}] modbus.0 2023-06-23 21:30:50.401 debug Initialize Objects for coils: [] modbus.0 2023-06-23 21:30:50.398 debug Initialize Objects for disInputs: [] modbus.0 2023-06-23 21:30:49.502 info starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v16.19.1, js-controller: 4.0.24
wo stelle ich den falschen Port im Adapter richtig?
-
@metaxa sagte in M-TEC Energy Butler:
wo stelle ich den falschen Port im Adapter richtig?
Port?
ist das nicht die Geräte ID? die hast du nicht ausgefüllt -
@manrum1 sagte in M-TEC Energy Butler:
nichts an der Anlage verändern
das tue ich auch nicht, mein Solateur hat mir das BUS Kabel angeschlossen
@manrum1 sagte in M-TEC Energy Butler:
Warne ausdrücklich von der genannten Installationsfirma aus München!!!!
In diese Versuchung kam ich in Wien nicht aber herzlichen Dank für die Info!
-
@homoran sagte in M-TEC Energy Butler:
ist das nicht die Geräte ID?
Mahhhh, richtig
Der Fehler ist jetzt einmal weg, bleiben aber noch genügend anderemodbus.0 2023-06-23 21:45:17.734 warn Poll error count: 1 code: "ReadInputRegisters: Invalid FC 3" modbus.0 2023-06-23 21:45:17.701 error unknown function code: 0x0, 0xef modbus.0 2023-06-23 21:45:17.636 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:45:17.620 error Wrong CRC for frame: 0,3,20,144,90,247,3,128,232,0,18,120,165,247,3,36,21,8,39,15,0,2,0,248,255 modbus.0 2023-06-23 21:45:17.527 error Wrong CRC for frame: 247,3,117,248,0,60,202,176,247,3,120,9,74,0,5,19,136,0,0,0,0,0,41,0,0,0,0,0,0,0,0,9,64,0,37,19,134,0,0,0,0,2,225,0,0,0,0,0,0,0,0,9,82,0,3,19,139,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,3,37,0,0,0,0,0,0,0,0,0,0,0,82,0,0,0,0,0,0,0,0,0,0,3,7,0,0,0,0,0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,9,29,0 modbus.0 2023-06-23 21:45:17.341 error Wrong CRC for frame: 1,1,0,0,0 modbus.0 2023-06-23 21:45:17.320 error unknown function code: 0x0, 0x40 modbus.0 2023-06-23 21:45:17.317 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:45:17.285 error unknown function code: 0x26, 0x0 modbus.0 2023-06-23 21:45:17.269 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:45:17.253 error Wrong CRC for frame: 247,3,42,254,0,60,56,165,247,3,120,16,41,16,34,16,35,9,78,0,9,9,83,0,34,9,83,0,10,19,134,0,0,3,25,0,0,1,36,0,0,1,129,0,0,0,31 modbus.0 2023-06-23 21:45:17.148 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:45:17.125 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 21:45:17.116 error unknown function code: 0x22, 0x0 modbus.0 2023-06-23 21:45:17.095 error Wrong CRC for frame: 247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48,50,48,56,51,51,48,50,54,49,30,6,0,0,0,0,190,217,247,3,39,121,0,17,74,61,247 modbus.0 2023-06-23 21:45:16.064 debug [DevID_247/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 21:45:16.055 debug Initialization of scale factors done! modbus.0 2023-06-23 21:45:16.042 debug [DevID_247] Poll start --------------------- modbus.0 2023-06-23 21:45:16.041 info Connected to slave
-
@metaxa wrong crc hab ich noch nie gehabt
A/B richtig rum? -
@homoran sagte in M-TEC Energy Butler:
A/B richtig rum?
Wie gesagt, mein Elektriker hat das gemacht. Aber ich springe mal in den Keller und tausche A/B um.
@homoran sagte in M-TEC Energy Butler:
hast du den Waveshare?
Ja, den von dir empfohlenen (habe ihn auf 5V geschalten seitlich).
-
@metaxa sagte in M-TEC Energy Butler:
, den von dir empfohlenen
da hatcder Elektriker auch angeklemmt?
-
@homoran sagte in M-TEC Energy Butler:
da hatcder Elektriker auch angeklemmt?
Ja, aber nur am Stecker
Könnte diese Einstellung auch falsch sein?
Ich gehe jetzt einmal umklemmen
-
@metaxa sagte in M-TEC Energy Butler:
Könnte diese Einstellung auch falsch sein?
ja, aber die hätte ich auch genommen.
Ab jetzt fische ich auch im trüben und würde in den allgemeinen Parametern spielen.
Alias mal aus -> was dann?
und auch die anderen Checkboxen mal testen -
@metaxa sagte in M-TEC Energy Butler:
Ich gehe jetzt einmal umklemmen
Uiiiiiii ..... das sind mehr Fehler als vorher
modbus.0 2023-06-23 21:59:39.687 info Disconnected from slave modbus.0 2023-06-23 21:59:39.583 error Wrong CRC for frame: 255,1,2,2,52,252,255 modbus.0 2023-06-23 21:59:39.567 error unknown function code: 0x0, 0x4 modbus.0 2023-06-23 21:59:39.552 error unknown function code: 0x7e, 0xb5 modbus.0 2023-06-23 21:59:39.500 error Error response: ff modbus.0 2023-06-23 21:59:39.491 error Error response: fd modbus.0 2023-06-23 21:59:39.470 error unknown function code: 0x7e, 0xdb modbus.0 2023-06-23 21:59:39.441 error unknown function code: 0x7e, 0x5e modbus.0 2023-06-23 21:59:39.393 error Error response: e2 modbus.0 2023-06-23 21:59:39.381 error Error response: ff modbus.0 2023-06-23 21:59:39.366 error Error response: ff modbus.0 2023-06-23 21:59:39.348 error Error response: ff modbus.0 2023-06-23 21:59:39.336 error Error response: f9 modbus.0 2023-06-23 21:59:39.318 error Error response: ff modbus.0 2023-06-23 21:59:39.302 error unknown function code: 0x65, 0xff modbus.0 2023-06-23 21:59:39.297 error Error response: ff modbus.0 2023-06-23 21:59:39.282 error Error response: af modbus.0 2023-06-23 21:59:39.277 error Error response: fe modbus.0 2023-06-23 21:59:39.259 error unknown function code: 0x0, 0x4 modbus.0 2023-06-23 21:59:39.242 error unknown function code: 0x0, 0x4 modbus.0 2023-06-23 21:59:39.182 error Error response: ff modbus.0 2023-06-23 21:59:39.174 error Error response: a9 modbus.0 2023-06-23 21:59:39.158 error Error response: ff modbus.0 2023-06-23 21:59:39.144 error Error response: ff modbus.0 2023-06-23 21:59:39.129 error Error response: fd modbus.0 2023-06-23 21:59:39.110 error Error response: ff modbus.0 2023-06-23 21:59:39.093 error Error response: eb modbus.0 2023-06-23 21:59:39.075 error Wrong CRC for frame: 0,4,126,181,131,239,13,58,0,4,126,247,255,255,255,1,2,2,140,252,255,255,241,255,255,255,255,3,93,0,4,126,108,247,233,201,43,0,4,126,186,169,103,103,179,102,246,182,246,246,44,150,246,182,54,214,54,110,255,255,255,255,131,154,0,4,126,108,67,221,107,133,0,4,126,183,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,81,94,0,4,126,181,128,135,143,181,0,4,126,232,183,251,151,247,151,107,97,255 modbus.0 2023-06-23 21:59:38.686 warn Poll error count: 1 code: {"err":"timeout","timeout":5000} modbus.0 2023-06-23 21:59:38.685 error Request timed out. modbus.0 2023-06-23 21:59:38.684 warn Error: undefined modbus.0 2023-06-23 21:59:36.679 error Error response: e7 modbus.0 2023-06-23 21:59:36.664 error Error response: fb modbus.0 2023-06-23 21:59:36.657 error Error response: fb modbus.0 2023-06-23 21:59:36.641 error unknown function code: 0x7e, 0xdb modbus.0 2023-06-23 21:59:36.626 error unknown function code: 0x7e, 0x5e modbus.0 2023-06-23 21:59:36.570 error Error response: 52 modbus.0 2023-06-23 21:59:36.564 error Error response: ff modbus.0 2023-06-23 21:59:36.548 error Error response: ff modbus.0 2023-06-23 21:59:36.532 error Error response: ff modbus.0 2023-06-23 21:59:36.523 error Error response: f9 modbus.0 2023-06-23 21:59:36.504 error Error response: ff modbus.0 2023-06-23 21:59:36.489 error unknown function code: 0x65, 0xff modbus.0 2023-06-23 21:59:36.483 error Error response: ff modbus.0 2023-06-23 21:59:36.467 error unknown function code: 0x79, 0xff modbus.0 2023-06-23 21:59:36.462 error Error response: f3 modbus.0 2023-06-23 21:59:36.444 error unknown function code: 0x0, 0x4 modbus.0 2023-06-23 21:59:36.428 error Wrong CRC for frame: 0,4,126,232,247,251,183,247,151,107,103,255,237,237,103,255,183,237,91,255,235,217,243,254,255,249,241,254,255,253,179,255,255,253,249,254,255,255,193,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,157,250,129,250,187,250,129,134,115,225,185,255,255,255,253,255,255,255,253,99,191,101,49,198,129,255,255,173,137,254,255,255,251,91,117,225,1,254,225,253,253,255,127,195,169,134,169,174,111,159,143,235,239,173,247,253,253,255,255,255,255,255,255,255,255,255,255,37,154,0,4,126,69,224,135 modbus.0 2023-06-23 21:59:36.230 error Wrong CRC for frame: 0,4,126,108,247,233,201,43,0,4,126,186,169,103,103,179,102,246,182,246,246,44,150,246,182,54,214,54,110,255,255,255,255,131,154,0,4,126,108,67,221,107,133,0,4,126,183,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,81,94,0,4,126,108,67,221,107,133,0,4,126,183,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,81,94,0,4 modbus.0 2023-06-23 21:59:33.671 debug [DevID_247/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 21:59:33.670 debug Initialization of scale factors done! modbus.0 2023-06-23 21:59:33.667 debug [DevID_247] Poll start --------------------- modbus.0 2023-06-23 21:59:33.665 info Connected to slave modbus.0 2023-06-23 21:59:33.636 debug connect to serial /dev/ttyUSB1 with 9600 modbus.0 2023-06-23 21:59:32.476 debug Initialize Objects for holdingRegs: [] modbus.0 2023-06-23 21:59:32.473 debug Add inputRegisters.33000_State_of_Charge_(SOC): {"_id":"inputRegisters.33000_State_of_Charge_(SOC)","type":"state","common":{"name":"Ladezustand der Batterie","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"%"},"native":{"regType":"inputRegs","address":2999,"deviceId":247,"type":"uint16be","len":1,"offset":0,"factor":1}} modbus.0 2023-06-23 21:59:32.469 debug Initialize Objects for inputRegs: [{"_address":"33000","name":"State of Charge (SOC)","description":"Ladezustand der Batterie","unit":"%","type":"uint16be","len":1,"factor":1,"offset":0,"formula":"","role":"level","room":"","cw":"","isScale":"","address":2999,"deviceId":247,"id":"inputRegisters.33000_State_of_Charge_(SOC)"}] modbus.0 2023-06-23 21:59:32.461 debug Initialize Objects for coils: [] modbus.0 2023-06-23 21:59:32.458 debug Initialize Objects for disInputs: [] modbus.0 2023-06-23 21:59:31.818 info starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v16.19.1, js-controller: 4.0.24
Klemme wieder zurück!
-
-
@homoran sagte in M-TEC Energy Butler:
wie blinkt es denn?
Kurz nur die rechte LED flackert nach dem Bestromen blau hört aber nach 2 Sekunden wieder auf und bleibt finster, links Power bleibt brav rot.
-
@metaxa der müsste jede Sekunde Blinken.
Brauchst du so viele Daten? sonst setz das Intervall runter 5000msec müssten vollkommen reichen. -
@homoran
Habe jetzt wieder zurückgeklemmt, paar von diesen 16Bit Einträgen ausprobiert, es kommt immer dieser "Wrong SRC for frame"modbus.0 2023-06-23 22:16:39.630 debug [DevID_247] Poll start --------------------- modbus.0 2023-06-23 22:16:37.896 error Wrong CRC for frame: 247,3,117,248,0,60,202,176,247,3,120,9,71,0,3,19,134,0,0,0,0,0,41,0,0,0,0,0,0,0,0,9,64,0,38,19,136,0,0,0,0,2,161,0,0,0,0,0,0,0,0,9,74,0,3,19,138,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0,0,2,230,0,0,0,0,0,0,0,0,0,0,0,83,0,0,0,0,0,0,0,0,0,0,2,173,0,0,0,0,0,0,0,0,0,0,0,83,0,0,0,0,0,0,0,0,9,27,0 modbus.0 2023-06-23 22:16:37.561 error Error response: 28 modbus.0 2023-06-23 22:16:37.497 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:37.486 error Wrong CRC for frame: 247,3,128,232,0,18,120,165,247,3,36,19,92,39,15,0,2,0,244,255,255,255,255,255,255,255,255,0,0,1,1,0,0,0,230,0,0,12,195,0,0,12,183,0,0,0,0,226,200,247,3,42,242,0,8,249,113,247,3,16,0,0,0,0,255,255,255,243,0,0,0,7,0,0,0,0,235,1,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48,50,48,56,51,51,48,50,54,49,30,6,0,0,0,0,190,217,247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0 modbus.0 2023-06-23 22:16:35.088 error Wrong CRC for frame: 247,3,117,248,0,60,202,176,247,3,120,9,67,0,5,19,134,0,0,0,0,0,42,0,0,0,0,0,0,0,0,9,67,0,36,19,134,0,0,0,0,2,166,0,0,0,0,0,0,0,0,9,74,0,3,19,138,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,2,235,0,0,0,0,0,0,0,0,0,0,0,83,0,0,0,0,0,0,0,0,0,0,2,184,0,0,0,0,0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,9,28,0 modbus.0 2023-06-23 22:16:34.750 error unknown function code: 0x28, 0xf7 modbus.0 2023-06-23 22:16:34.687 error Wrong CRC for frame: 247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 modbus.0 2023-06-23 22:16:34.589 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:34.574 error Wrong CRC for frame: 247,3,42,242,0,8,249,113,247,3,16,0,0,0,0,0,0,0,13,0,0,0,7,0,0,0,26,115,95,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48 modbus.0 2023-06-23 22:16:32.338 error Error response: Value is not accepted by slave modbus.0 2023-06-23 22:16:32.337 error Error response for FCx119: Illegal Data Value modbus.0 2023-06-23 22:16:32.275 error Wrong CRC for frame: 247,3,117,248,0,60,202,176,247,3,120,9,69,0,5,19,134,0,0,0,0,0,42,0,0,0,0,0,0,0,0,9,62,0,35,19,134,0,0,0,0,2,162,0,0,0,0,0,0,0,0,9,76,0,2,19,134,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,2,231,0,0,0,0,0,0,0,0,0,0,0,84,0,0,0,0,0,0,0,0,0,0,2,237,0,0,0,0,0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,9,28,0 modbus.0 2023-06-23 22:16:31.940 error Error response: 28 modbus.0 2023-06-23 22:16:31.879 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:31.861 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:31.843 error unknown function code: 0x3d, 0xf7 modbus.0 2023-06-23 22:16:31.835 error unknown function code: 0x0, 0xbe modbus.0 2023-06-23 22:16:31.766 error Wrong CRC for frame: 247,3,42,242,0,8,249,113,247,3,16,0,0,0,0,0,0,0,20,0,0,0,7,0,0,0,33,149,28,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48 modbus.0 2023-06-23 22:16:29.577 warn Poll error count: 1 code: "ReadInputRegisters: Invalid FC 3" modbus.0 2023-06-23 22:16:29.527 error Error response: f7 modbus.0 2023-06-23 22:16:29.468 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:29.447 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:29.432 error unknown function code: 0x53, 0x0 modbus.0 2023-06-23 22:16:29.416 error unknown function code: 0x0, 0x0 modbus.0 2023-06-23 22:16:29.400 error unknown function code: 0x13, 0x86 modbus.0 2023-06-23 22:16:29.384 error unknown function code: 0x0, 0x2 modbus.0 2023-06-23 22:16:29.371 error Wrong CRC for frame: 0,3,247,3,39,16,0,11,27,234,247,3,22,90,49,49,50,51,48,48,50,48,56,51,51,48,50,54,49,30,6,0,0,0,0,190,217,247,3,39,121,0,17,74,61,247,3,34,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,215,40,247,3,42,254,0,60,56,165,247,3,120,16,25,16,24,16,29,9,73,0,9,9,76,0,32,9,77,0,10,19,135,0,0,3,1,0,0,1,41,0,0,1,134,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,176,1,190,1,161,1,190,30,63,15,30,0,0,0,1,0,0,0,1,78,32,78,6,78,45,0,0,41,187,0,0,0,2,81,199,15,255,0,15,1,1,0,64,30,163,30,163,19,93,48,56,10,8,41,4,1,1,0,0,0,0,0,0,0,0,0,0,245,199,247,3,117,248,0,60,202,176,247,3,120,9,68,0,5,19,134,0,0,0,0,0,42,0,0,0,0,0,0,0,0,9,66,0,37 modbus.0 2023-06-23 22:16:28.445 debug [DevID_247/inputRegs] Poll address 2999 - 1 registers modbus.0 2023-06-23 22:16:28.444 debug Initialization of scale factors done! modbus.0 2023-06-23 22:16:28.440 debug [DevID_247] Poll start --------------------- modbus.0 2023-06-23 22:16:28.438 info Connected to slave modbus.0 2023-06-23 22:16:28.415 debug connect to serial /dev/ttyUSB1 with 9600 modbus.0 2023-06-23 22:16:27.710 debug Initialize Objects for holdingRegs: [] modbus.0 2023-06-23 22:16:27.709 debug Add inputRegisters.2999_State_of_Charge_(SOC): {"_id":"inputRegisters.2999_State_of_Charge_(SOC)","type":"state","common":{"name":"Ladezustand der Batterie","role":"level","type":"number","read":true,"write":false,"def":0,"unit":"%"},"native":{"regType":"inputRegs","address":2999,"deviceId":247,"type":"int16le","len":1,"offset":0,"factor":1}} modbus.0 2023-06-23 22:16:27.708 debug Initialize Objects for inputRegs: [{"_address":2999,"name":"State of Charge (SOC)","description":"Ladezustand der Batterie","unit":"%","type":"int16le","len":1,"factor":1,"offset":0,"formula":"","role":"level","room":"","cw":false,"isScale":"","address":2999,"deviceId":247,"id":"inputRegisters.2999_State_of_Charge_(SOC)"}] modbus.0 2023-06-23 22:16:27.707 debug Initialize Objects for coils: [] modbus.0 2023-06-23 22:16:27.706 debug Initialize Objects for disInputs: [] modbus.0 2023-06-23 22:16:27.222 info starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v16.19.1, js-controller: 4.0.24
alais Checkbox hat nix verändert.
-
Kann ich aus dem LOG erkennen ob da am anderen Ende überhaupt Daten sind, die Busschnittstelle die richtige ist?
-
@metaxa das versuche ich die ganze Zeit zu erkennen.
was sagt dennlsusb
? -
@homoran sagte in M-TEC Energy Butler:
lsusb
andreas@iOProduktiv:~$ lsusb -t /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=ch341, 12M |__ Port 2: Dev 5, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbfs, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M andreas@iOProduktiv:~$ ls -l /dev/serial/by-id insgesamt 0 lrwxrwxrwx 1 root root 13 23. Jun 19:53 usb-1a86_USB_Serial-if00-port0 -> ../../ttyUSB0 lrwxrwxrwx 1 root root 13 23. Jun 22:09 usb-FTDI_FT232R_USB_UART_A10N5R2A-if00-port0 -> ../../ttyUSB1 andreas@iOProduktiv:~$
-
@metaxa was hängt denn noch dran?
pi@tinkerboard:~$ ls -l /dev/serial/by-id insgesamt 0 lrwxrwxrwx 1 root root 13 14. Mai 22:54 usb-FTDI_FT232R_USB_UART_A10NBMVW-if00-port0 -> ../../ttyUSB1 lrwxrwxrwx 1 root root 13 14. Mai 22:53 usb-FTDI_FT232R_USB_UART_AB0OH9QR-if00-port0 -> ../../ttyUSB2 lrwxrwxrwx 1 root root 13 14. Mai 22:53 usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_01066523-if00-port0 -> ../../ttyUSB0
ich hab 2 dran
-
@homoran
NUC -->
1x USB für NUT (APC)
1x USB Hub (Hama)
--> ZigbeeStick
--> Waveshare