SIGNALduino Firmware >3.3.2.1-rc8 wird nicht erkannt

Begonnen von SusisStrolch, 22 Juli 2020, 10:43:32

Vorheriges Thema - Nächstes Thema

SusisStrolch

Hardware: miniCUL an LaCrosseGateway
00_SIGNALduino.pm v3.4.4 vom 18.07. (via FHEM update)
Firmware von Github / Release

Firmware 3.3.2.1-rc8 wird erkannt.
Alle späteren Firmware-Versionen führen zum nachfolgenden Fehler:
2020.07.22 10:10:15.921 3: SDuino.AZ: StartInit, get version, retry = 2
2020.07.22 10:10:25.940 1: SDuino.AZ: CheckVersionResp, Not an SIGNALduino device, got for V: undef


Response auf V-Befehl bei 3.3.2.1-rc8:
V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb  2 2019 10:25:03

Alle späteren (auch 3.3.3, 3.3.4, 4.x):
V 3.3.4.0-dev200126 SIGNALduino cc1101 (minicul 433Mhz) (b0) - compiled


Hier fehlt anscheinend das Datum im Versionsstring...
Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch

SusisStrolch

Und hier nochmal mit "verbose 5"

3.3.2.1-rc8
2020.07.22 11:56:52.865 3: SDuino.WZ: ResetDevice, miniculCC1101
2020.07.22 11:56:52.889 1: SDuino.WZ: DoInit, 192.168.254.63:85
2020.07.22 11:56:54.351 4: SDuino.WZ: Read, msg: Using sFIFO
2020.07.22 11:56:54.353 5: SDuino.WZ: Parse, noMsg: Using sFIFO
2020.07.22 11:56:54.361 4: SDuino.WZ: Read, msg: Reading values from eeprom
2020.07.22 11:56:54.362 5: SDuino.WZ: Parse, noMsg: Reading values from eeprom
2020.07.22 11:56:54.376 4: SDuino.WZ: Read, msg: CCInit ok. ccVer=24 ccPartnum=0
2020.07.22 11:56:54.378 5: SDuino.WZ: Parse, noMsg: CCInit ok. ccVer=24 ccPartnum=0
2020.07.22 11:56:54.379 4: SDuino.WZ: Read, msg: Starting timerjob
2020.07.22 11:56:54.381 5: SDuino.WZ: Parse, noMsg: Starting timerjob
2020.07.22 11:56:54.392 3: SDuino.WZ: SimpleWrite_XQ, disable receiver (XQ)
2020.07.22 11:56:54.393 5: SDuino.WZ: SimpleWrite, XQ
2020.07.22 11:56:54.419 4: SDuino.WZ: Read, msg: receiver enabled
2020.07.22 11:56:54.420 5: SDuino.WZ: Parse, noMsg: receiver enabled
2020.07.22 11:56:54.894 3: SDuino.WZ: StartInit, get version, retry = 0
2020.07.22 11:56:54.895 5: SDuino.WZ: SimpleWrite, V
2020.07.22 11:56:54.935 4: SDuino.WZ: Read, msg: V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb  2 2019 10:25:03
2020.07.22 11:56:54.937 5: SDuino.WZ: Parse, noMsg: V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb  2 2019 10:25:03
2020.07.22 11:56:54.938 5: SDuino.WZ: Read, msg: regexp=V\s.*SIGNAL(?:duino|ESP).*(?:\s\d\d:\d\d:\d\d) cmd=version msg=V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb  2 2019 10:25:03
2020.07.22 11:56:54.938 5: SDuino.WZ: CheckVersionResp, called with V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb  2 2019 10:25:03
2020.07.22 11:56:54.978 2: SDuino.WZ: CheckVersionResp, initialized v3.4.4


3.3.4.0-dev200126
2020.07.22 12:09:30.391 3: SDuino.AZ: ResetDevice, miniculCC1101
2020.07.22 12:09:30.416 1: SDuino.AZ: DoInit, 192.168.254.64:85
2020.07.22 12:09:31.874 4: SDuino.AZ: Read, msg: Using sFIFO
2020.07.22 12:09:31.876 5: SDuino.AZ: Parse, noMsg: Using sFIFO
2020.07.22 12:09:31.888 4: SDuino.AZ: Read, msg: Reading values from eeprom
2020.07.22 12:09:31.889 5: SDuino.AZ: Parse, noMsg: Reading values from eeprom
2020.07.22 12:09:31.890 4: SDuino.AZ: Read, msg: CCInit ok. ccVer=20 ccPartnum=0
2020.07.22 12:09:31.891 5: SDuino.AZ: Parse, noMsg: CCInit ok. ccVer=20 ccPartnum=0
2020.07.22 12:09:31.896 4: SDuino.AZ: Read, msg: Starting timerjob
2020.07.22 12:09:31.897 5: SDuino.AZ: Parse, noMsg: Starting timerjob
2020.07.22 12:09:31.920 3: SDuino.AZ: SimpleWrite_XQ, disable receiver (XQ)
2020.07.22 12:09:31.922 5: SDuino.AZ: SimpleWrite, XQ
2020.07.22 12:09:31.947 4: SDuino.AZ: Read, msg: receiver enabled
2020.07.22 12:09:31.949 5: SDuino.AZ: Parse, noMsg: receiver enabled
2020.07.22 12:09:31.950 4: SDuino.AZ: Read, msg: RX=0
2020.07.22 12:09:31.952 5: SDuino.AZ: Parse, noMsg: RX=0
2020.07.22 12:09:32.421 3: SDuino.AZ: StartInit, get version, retry = 0
2020.07.22 12:09:32.422 5: SDuino.AZ: SimpleWrite, V
2020.07.22 12:09:42.438 5: SDuino.AZ: CheckVersionResp, called without msg
2020.07.22 12:09:42.440 1: SDuino.AZ: CheckVersionResp, Not an SIGNALduino device, got for V: undef
2020.07.22 12:09:42.464 3: SDuino.AZ: StartInit, get version, retry = 1
2020.07.22 12:09:42.464 5: SDuino.AZ: SimpleWrite, V
2020.07.22 12:09:53.173 5: SDuino.AZ: CheckVersionResp, called without msg
2020.07.22 12:09:53.181 1: SDuino.AZ: CheckVersionResp, Not an SIGNALduino device, got for V: undef
2020.07.22 12:09:53.239 3: SDuino.AZ: StartInit, get version, retry = 2
2020.07.22 12:09:53.240 5: SDuino.AZ: SimpleWrite, V
2020.07.22 12:09:55.073 4: SDuino.WZ: KeepAlive, ok, retry = 0
2020.07.22 12:10:03.257 5: SDuino.AZ: CheckVersionResp, called without msg
2020.07.22 12:10:03.263 1: SDuino.AZ: CheckVersionResp, Not an SIGNALduino device, got for V: undef
2020.07.22 12:10:03.303 3: SDuino.AZ: StartInit, get version, retry = 3
2020.07.22 12:10:03.304 2: SDuino.AZ: StartInit, retry count reached. Reset


Zum letzteren der korrespondierende Mitschnitt via telnet-Interface
Using sFIFO
Reading values from eeprom
CCInit ok. ccVer=20 ccPartnum=0
Starting timerjob
receiver enabled
RX=0
V 3.3.4.0-dev200126 SIGNALduino cc1101 (minicul 433Mhz) (b0) - cV 3.3.4.0-dev200126 SIGNALduino cc1101 (minicul 433Mhz) (b0) - compiled at Jan V 3.3.4.0-dev200126 SIGNALduino cc1101 (minicul 433Mhz) (b0) - compiled at Jan
Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch

Ralf9

#2
ZitatFirmware 3.3.2.1-rc8 wird erkannt.
Mit der 3.3.2.1-rc9 müsste es dann auch funktionieren.

ZitatAlle späteren Firmware-Versionen führen zum nachfolgenden Fehler:
Ich kann es bei mir nicht nachvollziehen.
Ein "V" ergibt
V 3.3.4.0-dev200126 SIGNALduino cc1101 (minicul 868Mhz) (b0) - compiled at Jan 28 2020 00:13:14

Kannst Du es mal nur mit Telnet versuchen?
Dazu den fhem Zugriff deaktivieren
z.B. mit "set SDuino.AZ close"

Dann im Telnet mal die folgende Befehle senden:
XQ
V


Die Versionen 3.3.3 und 3.3.4 machen über die serielle Bridge des LaCrosseGateway wahrscheinlich keinen Sinn, da diese Versionen eine Erweiterung für FSK enthalten. FSK ist hier in der Sduino firmware nicht notwendig da es bereits im LaCrosseGateway enthalten ist.
Die Version 4.x ist nur für den MapleMini

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

SusisStrolch

Ist ein wenig strange...
Hab mal mitgesniffert.
Bei der rc8 sehe ich:
LCG: 112byte
FHEM: ack
LCG:  56 byte
FHEM: ack
Antwort kommt komplett an
Bei der rc9:
LCG: 112 byte
FHEM: ack
— sendepause und Teilstring, in FHEM: no msg
Daran anschließend der nächste Retry...
Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch

Ralf9

ich habe mal die rc8 und rc9 Version verglichen
V 3.3.2.1-rc8 SIGNALduino cc1101 (868Mhz )- compiled at Feb 2 2019 10:25:03
V 3.3.2.1-rc9 SIGNALduino cc1101 (minicul 868Mhz) - compiled at Jun 16 2019 18:50:20
neue Version
V 3.3.2.1-rc9 SIGNALduino cc1101 (868Mhz )- compiled at Jul 22 2020 23:18:34


Der Versiontext der rc9 ist länger.

Bitte teste mal diese Version, bei dieser verwende ich die Versionsausgaberoutine von der rc8
set SDuino.AZ flash https://github.com/Ralf9/SIGNALDuino/releases/download/3.3.2.1-rc9/SIGNALduino_miniCUL_3321rc9t.hex

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

SusisStrolch

#5
Bingo!
Das wars...
Da werden ich wohl mal @HCS fragen obs hier einen potentiellen Buffer-Overflow gibt.

Edit: habe die LCG-Firmware von 1.33 auf 1.35 aktualisert. Mit der Version funktioniert auch die 'normale' 3.3.2.1-rc9.

Edit²: vergesse alles...
Habe zwei LCGs am laufen. Das Eine funktioniert mit rc9 und rc9t, das Andere nur mit der rc9t.
Da es sich in beiden Fällen um gleiche Hardware mit gleicher LCG Release handelt muss das Problem woanders liegen.

Synology DS1515+, 16GB RAM, 4x 6TB WD-Red
- Docker (FHEM), MariaDB, MariaDB10, Surveillance Station
Gateways: LCG miniCUL433, LCG miniCUL868, AVR-X4000, VU-Solo SE, Kodi
ESP8266: ESPEasy (S0-Counter, Temp/Hum), Sonoff TH, Sonoff 4ch