Hallo Kurt,
ich bekomme trotz doppeltem senden des write-Befehls timeouts:
root@raspberrypi:/home/pi# python3 /opt/fhem/bmsinfo.py A4:C1:38:7D:E4:A3
Connecting to: A4:C1:38:7D:E4:A3
BMS connected: A4:C1:38:7D:E4:A3
BMS request generic data
BMS answering 1: b'dd 03 00 1b 05 34 00 00 74 5c 75 30 00 01 2b 06 00 00 00 00 '
BMS answering 2: b'00 00 25 63 03 04 02 0b 50 0b 47 fc c7 77 '
BMS disconnecting: A4:C1:38:7D:E4:A3
BMS disconnected!
BMS answer: dd03001b05340000745c753000012b0600000000000025630304020b500b47fcc777
{
"Imain": 0.0,
"NominalCap": 300.0,
"NumberCycles": 1,
"ProtectState": 0,
"ProtectStateBin": "0000000000000000",
"ProtectStateText": "ok",
"RemainCap": 297.88,
"SOC": 99,
"Time": "2022-01-02_18:26:47",
"Vmain": 13.32
}
root@raspberrypi:/home/pi# python3 /opt/fhem/bmsinfo.py A4:C1:38:7D:E4:A3
Connecting to: A4:C1:38:7D:E4:A3
BMS connected: A4:C1:38:7D:E4:A3
BMS request generic data
BMS Answering timeout
Diese sind wesentlich häufiger als Antworten mit Daten.
Hast Du eine Idee?
-Manfred