Closed Jacke87 closed 1 year ago
What is your code doing?
Check the all logs under /var/log/*/current
I use the https://github.com/freakent/dbus-mqtt-devices driver to add my PV inverter I push the values via Mqtt in Node red on a other device. I tested a lot, my GUI seems to freeze. If I only have the battery driver running, it stocks in between. If I reload the page via ESC, it works. If the battery driver comes along, the dropouts get worse and I lose the connection to the BMS. Before I reinstalled it I used the trieber version <1, now I'm >1. As if the load is too big for the Raspberry? I've looked at various logs but can't do anything with them, I don't know what to look for.
Jacke87, I had similar Problems with the mqtt driver. Altough I really like its General concept, I stopped using it for Performance reasons. Maybe, there is some kind of Loop in there? If i remember correct we also had a Loop within this driver while writing to dbus.
Before the broken SD card is used Louis dB in 0.14 and mqtt 0.5.2 I think and all was well. After reinstall I used Louis 1.0.2 and mqtt 0.6 am it crashes. After I tried a knew installation with mqtt 0.5.2 the same result. My third attempt was to use only Louis dB dbus driver in version 1. But the GUI is also laggy. I think I try 0.14 again but I like the changes in version 1
Try to use the mqtt drivers from my repsoitory.
ok i will give it a try. thanks for support and your great work
@Jacke87 any updates?
Describe the problem
Hello after adding a PV Inverter to Venus OS on AC1 Out my System crash. I use Venus OS 3.01 with louis dbus serial JKBms. Both devices get the VRM instance 1. i don´t know if this is the problem. my code worked for 3 mOnths untill yesterday. My SD Card was corrupted and i instal a fresh Venus an know i Have the issues.
Driver version
1.0.20230531
Venus OS device type
Raspberry Pi
Venus OS version
3.01
BMS type
JKBMS / Heltec BMS
Cell count
16
Connection type
Serial USB adapter to TTL
Config file
Relevant log output
Any other information that may be helpful
@4000000064e6315937404b74 INFO:SerialBattery:Testing Renogy @4000000064e6315a0b7553a4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6315a0b898b6c INFO:SerialBattery:Testing Seplos @4000000064e6315b0bf5ed84 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6315b29d845cc INFO:SerialBattery:Testing Daly @4000000064e6315b31543644 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6315b315dfa44 INFO:SerialBattery:Testing Daly @4000000064e6315b38d5b884 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6315b38df2a7c INFO:SerialBattery:Testing Ecs @4000000064e6315c15d5ce3c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6315c15dd2524 INFO:SerialBattery:Testing HeltecModbus @4000000064e6316001fefa8c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316002062e4c INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e63164206feabc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e63164207b29a4 INFO:SerialBattery:Testing Jkbms @4000000064e6316430f45364 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316431073754 INFO:SerialBattery:Testing Lifepower @4000000064e6316506abe4b4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316506c4047c INFO:SerialBattery:Testing LltJbd @4000000064e63165175fecc4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631651773a78c INFO:SerialBattery:Testing Renogy @4000000064e6316527cb5314 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316527de61fc INFO:SerialBattery:Testing Renogy @4000000064e6316538c5af0c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316538d9b7f4 INFO:SerialBattery:Testing Seplos @4000000064e63166393d118c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631671b8451b4 INFO:SerialBattery:Testing Daly @4000000064e6316722ffd8b4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316723074af4 INFO:SerialBattery:Testing Daly @4000000064e631672a87bfac ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631672a9150e4 INFO:SerialBattery:Testing Ecs @4000000064e631680754b774 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e63168075bb09c INFO:SerialBattery:Testing HeltecModbus @4000000064e6316b2ed2e294 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6316b2edbf6cc INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e6317011be3e74 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6317011c848c4 INFO:SerialBattery:Testing Jkbms @4000000064e63170223b0dcc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631702251dda4 INFO:SerialBattery:Testing Lifepower @4000000064e6317033140acc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631703328bbac INFO:SerialBattery:Testing LltJbd @4000000064e6317108a631fc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6317108ba61f4 INFO:SerialBattery:Testing Renogy @4000000064e6317119ba20d4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6317119cd472c INFO:SerialBattery:Testing Renogy @4000000064e631712a0871d4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631712a1b26e4 INFO:SerialBattery:Testing Seplos @4000000064e631722a837604 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631730cd2a954 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB4 @4000000064e631730cd67214 @4000000064e6318305fff12c INFO:SerialBattery:Starting dbus-serialbattery @4000000064e631830610547c INFO:SerialBattery:dbus-serialbattery v1.0.20230531 @4000000064e631830618ad34 INFO:SerialBattery:Testing Daly @4000000064e631830d989d1c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631830da23a0c INFO:SerialBattery:Testing Daly @4000000064e631831515be44 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e63183151ea39c INFO:SerialBattery:Testing Ecs @4000000064e6318318c5f8ec ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318318ceb34c INFO:SerialBattery:Testing HeltecModbus @4000000064e63187056f70fc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e63187057bbd6c INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e6318b23f1d204 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318b23f9c52c INFO:SerialBattery:Testing Jkbms @4000000064e6318b356096c4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318b3573e42c INFO:SerialBattery:Testing Lifepower @4000000064e6318c0a09d10c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318c0a1dd60c INFO:SerialBattery:Testing LltJbd @4000000064e6318c1c5adb94 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318c1c6f07a4 INFO:SerialBattery:Testing Renogy @4000000064e6318c2d3b8954 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318c2d4cfa2c INFO:SerialBattery:Testing Renogy @4000000064e6318d0234bc44 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318d02472eec INFO:SerialBattery:Testing Seplos @4000000064e6318e02a2c43c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318e20843ddc INFO:SerialBattery:Testing Daly @4000000064e6318e27fb198c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318e28039184 INFO:SerialBattery:Testing Daly @4000000064e6318e2f74a4bc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318e2f7c9bcc INFO:SerialBattery:Testing Ecs @4000000064e6318f0c52abb4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6318f0c5ae52c INFO:SerialBattery:Testing HeltecModbus @4000000064e63192343fe86c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e63192344752dc INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e6319717122a84 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631971719a87c INFO:SerialBattery:Testing Jkbms @4000000064e6319727a26684 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319727bb610c INFO:SerialBattery:Testing Lifepower @4000000064e6319738373664 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631973849a90c INFO:SerialBattery:Testing LltJbd @4000000064e631980d4b30cc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631980d5e95a4 INFO:SerialBattery:Testing Renogy @4000000064e631981e6db21c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631981e943964 INFO:SerialBattery:Testing Renogy @4000000064e631982ef631a4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631982f0ce23c INFO:SerialBattery:Testing Seplos @4000000064e631992f78ea7c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319a11c09bec INFO:SerialBattery:Testing Daly @4000000064e6319a193c422c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319a1945fe5c INFO:SerialBattery:Testing Daly @4000000064e6319a20c64fec ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319a20cf96ec INFO:SerialBattery:Testing Ecs @4000000064e6319a392b75bc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319a39385a84 INFO:SerialBattery:Testing HeltecModbus @4000000064e6319e25ee422c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e6319e25f6299c INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e631a308cd6cf4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a308d4f6a4 INFO:SerialBattery:Testing Jkbms @4000000064e631a319ae5164 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a319c2a86c INFO:SerialBattery:Testing Lifepower @4000000064e631a32b2aed1c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a32b3ef9ec INFO:SerialBattery:Testing LltJbd @4000000064e631a33b928aac ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a4000b73a4 INFO:SerialBattery:Testing Renogy @4000000064e631a410b74a0c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a410cc4524 INFO:SerialBattery:Testing Renogy @4000000064e631a421e99e24 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a422014ca4 INFO:SerialBattery:Testing Seplos @4000000064e631a52262ecd4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631a604ad9fcc ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB4 @4000000064e631a604b0b4dc @4000000064e631b61263f454 INFO:SerialBattery:Starting dbus-serialbattery @4000000064e631b6127a9934 INFO:SerialBattery:dbus-serialbattery v1.0.20230531 @4000000064e631b6128831ac INFO:SerialBattery:Testing Daly @4000000064e631b61a75375c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631b61a755a84 INFO:SerialBattery:Testing Daly @4000000064e631b621fe4734 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631b621fec434 INFO:SerialBattery:Testing Ecs @4000000064e631b625706b54 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631b6257cfa2c INFO:SerialBattery:Testing HeltecModbus @4000000064e631ba11dc5d64 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631ba11dc7ca4 INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e631be305e8f8c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631be305eaecc INFO:SerialBattery:Testing Jkbms @4000000064e631bf05279674 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631bf0542c37c INFO:SerialBattery:Testing Lifepower @4000000064e631bf16a30d34 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631bf16cc47e4 INFO:SerialBattery:Testing LltJbd @4000000064e631bf272873c4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631bf273b730c INFO:SerialBattery:Testing Renogy @4000000064e631bf3767a1c4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631bf377b54bc INFO:SerialBattery:Testing Renogy @4000000064e631c00cea4064 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c00cfe87cc INFO:SerialBattery:Testing Seplos @4000000064e631c10d5d0b1c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c12b43b0f4 INFO:SerialBattery:Testing Daly @4000000064e631c132c6217c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c132cdf94c INFO:SerialBattery:Testing Daly @4000000064e631c13a486af4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c13a500444 INFO:SerialBattery:Testing Ecs @4000000064e631c217c428ec ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c217cfcd64 INFO:SerialBattery:Testing HeltecModbus @4000000064e631c606706a24 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631c6067b7644 INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e631ca24ed3194 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631ca24f49434 INFO:SerialBattery:Testing Jkbms @4000000064e631ca36052f7c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631ca3616f25c INFO:SerialBattery:Testing Lifepower @4000000064e631cb0abf3a74 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cb0ad3994c INFO:SerialBattery:Testing LltJbd @4000000064e631cb1b4e16e4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cb1b6275bc INFO:SerialBattery:Testing Renogy @4000000064e631cb2bdeb48c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cb2bf07b54 INFO:SerialBattery:Testing Renogy @4000000064e631cc00920cac ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cc00a3528c INFO:SerialBattery:Testing Seplos @4000000064e631cd0117711c ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cd1efbdca4 INFO:SerialBattery:Testing Daly @4000000064e631cd267af5b4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cd268430fc INFO:SerialBattery:Testing Daly @4000000064e631cd2e35eee4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631cd2e42ac9c INFO:SerialBattery:Testing Ecs @4000000064e631ce0b15a774 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631ce0b19c23c INFO:SerialBattery:Testing HeltecModbus @4000000064e631d1334bf734 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d13353a7f4 INFO:SerialBattery:Testing HLPdataBMS4S @4000000064e631d6164f28a4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d6165bafac INFO:SerialBattery:Testing Jkbms @4000000064e631d626ceedcc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d626e3ba04 INFO:SerialBattery:Testing Lifepower @4000000064e631d637460064 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d6376173bc INFO:SerialBattery:Testing LltJbd @4000000064e631d70c02eda4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d70c2703ec INFO:SerialBattery:Testing Renogy @4000000064e631d71c7c07c4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d71c8f68b4 INFO:SerialBattery:Testing Renogy @4000000064e631d72cf938c4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d72d15d8e4 INFO:SerialBattery:Testing Seplos @4000000064e631d82d76b9ac ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631d91066ad54 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB4 @4000000064e631d91066d07c @4000000064e631e9275f009c INFO:SerialBattery:Starting dbus-serialbattery @4000000064e631e92770179c INFO:SerialBattery:dbus-serialbattery v1.0.20230531 @4000000064e631e92777eb84 INFO:SerialBattery:Testing Daly @4000000064e631e92ef969dc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631e92f01b2f4 INFO:SerialBattery:Testing Daly @4000000064e631e936761da4 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631e9367eff14 INFO:SerialBattery:Testing Ecs @4000000064e631e939fdb9dc ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631e93a04b304 INFO:SerialBattery:Testing HeltecModbus @4000000064e631ed264a6034 ERROR:SerialBattery:>>> ERROR: No reply - returning @4000000064e631ed2652535c INFO:SerialBattery:Testing HLPdataBMS4S