SIGNALDuino Empfänger Firm- und Hardware

Begonnen von Ralf9, 02 Oktober 2016, 22:59:51

Vorheriges Thema - Nächstes Thema

SusisStrolch

Ich würde gerne mein LCG Carrier-Board von locutus für den SIGNALDuino verwenden, da diese bereits einen cc1101 on-board hat.

Allerdings funktioniert die Firmware nicht out-of-the-box, da sich die Pinbelegung vom nanoCUL unterscheidet.
Einem selbstkompilieren steht leider das etwas eigenwillige Projektformat im Wege, welches sich in der  Arduino-IDE nicht übersetzen lässt.

Wer könnte mir da mit einem Binary aushelfen?

Pinbelegung LCG Carrier:
GD0 -> PD2 (INT0)
GD2 -> PD3 (INT1)
LED -> PD4 (T0)
433MHz -> PC0 (ADC0)

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

Sidey

Bezüglich des LCG Carrier-Boards brauche ich alle Pins, dann könnte ich auch dafür eine Version bereitstellen.

Grüße Sidey

Gesendet von meinem XT1650 mit Tapatalk

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

SusisStrolch

Danke.

MISO, MOSI & Co haben die gleiche Pinbelegung wie der nanoCUL
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

Sidey

Zitat von: SusisStrolch am 19 Januar 2018, 13:31:33
Ich würde gerne mein LCG Carrier-Board von locutus für den SIGNALDuino verwenden, da diese bereits einen cc1101 on-board hat.

Ich stehe leider noch etwas auf dem Schlauch. Zu LCG finde ich nur LCrosseGatweway und dort ist immer ein RFM69 verbaut:
https://wiki.fhem.de/wiki/LaCrosseGateway_V1.x#Nano_LaCrosse_Gateway

Gibt es zu dem Board irgendwo eine Beschreibung?

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

fhemfreund

Habe jetzt mal einen Wemos mit dem CC1101 (868Mhz) verheiratet und in FHEM eingebunden. Dieser wird soweit auch in FHEM erkannt und ich empfange Daten. Allerdings werden diese scheinbar nicht richtig (?) decodiert und somit kein Device per Autocreate angelegt.

Hat jemand von den Spezi's hier eine Idee? Habe ich ev. noch ein Setting vergessen/falsch? Laut


https://wiki.fhem.de/wiki/SIGNALduino#Hardware


sollte LaCrosse via CUL_TX verarbeitet werden. Meine 868Mhz TX35DTH Sensoren werden jedoch nicht angelegt ...

Diese FW habe ich auf meinem Wemos leider nicht zum Laufen gebracht:


SIGNALESP_331rc2.bin (mit cc1101) von https://forum.fhem.de/index.php/topic,58396.msg740610.html#msg740610


Daher folgende FW genommen:


https://forum.fhem.de/index.php/topic,58396.msg743522.html#msg743522


List vom Device:


Internals:
   CFGFN     
   Clients    :IT:CUL_TCM97001:SD_RSL:OREGON:CUL_TX:SD_AS:Hideki:SD_WS07:SD_WS09: :SD_WS:RFXX10REC:Dooya:SOMFY:SD_UT:SD_WS_Maverick:FLAMINGO:CUL_WS:Revolt: :FS10:CUL_FHTTK:Siro:FHT:FS20:SIGNALduino_un:
   DEF        192.168.0.26:23
   DMSG       u14#00010
   DevState   initialized
   DeviceName 192.168.0.26:23
   FD         36
   LASTDMSG   u14#00010
   MSGCNT     105
   NAME       HmWifiDui1
   NR         292
   PARTIAL   
   RAWMSG     MS;P0=-414;P1=659;P2=-649;P3=-92;P5=445;P6=-5646;D=56505050505050505050505050505050125050534;CP=5;SP=6;R=206;
   RSSI       -99
   STATE      opened
   TIME       1516406187.90805
   TYPE       SIGNALduino
   sendworking 0
   unknownmessages 2018-01-20 01:15:48-MU;P0=-713;P1=433;P2=-406;P4=677;D=01212121212121212121212121212124012121212;CP=1;R=203;CP=1;R=203;#2018-01-20 01:17:43-MS;P0=-427;P1=644;P2=-630;P3=-91;P7=429;D=270707012707070707070707070707070701270730;CP=7;SP=6;R=204;#2018-01-20 01:17:44-MS;P0=112;P1=462;P2=-396;P3=-134;P4=692;P5=-669;P6=243;P7=-12815;D=121213421212121212121212121245121212126700;CP=1;SP=7;R=205;#2018-01-20 01:17:44-MU;P0=-438;P1=665;P2=-628;P3=-90;P5=124;P6=-265;P7=415;D=670707012701270701212707316707070707070735670121212707070127070;CP=7;R=208;CP=7;R=208;#2018-01-20 01:19:40-MU;P2=433;P3=-424;P4=629;P5=-648;D=012323232323232323234523232323454545234520;CP=2;R=206;CP=2;R=206;#2018-01-20 01:19:40-MS;P0=635;P1=-640;P2=426;P3=-425;P4=-92;P5=173;P6=-7590;P7=111;D=232323232323232323010104532323230123232670;CP=2;SP=6;R=206;#2018-01-20 01:21:36-MU;P1=-421;P2=423;P3=660;P4=-639;D=012121212134343421342121342121213421212120;CP=2;R=206;CP=2;R=206;#2018-01-20 01:21:36-MS;P0=439;P1=-406;P2=636;P3=-664;P4=-265;P5=-93;P6=141;P7=-8388;D=01010101010101010101010101230101042125672;CP=0;SP=7;R=206;#2018-01-20 01:21:36-MU;P1=-406;P2=437;P3=638;P4=-643;D=012121212121213421342121343421212121212120;CP=2;R=204;CP=2;R=204;
   version    V 3.3.1-dev SIGNALESP cc1101 868MHz - compiled at Jan  6 2018 15:09:26
   DoubleMsgIDs:
   MatchList:
     10:SD_WS07 ^P7#[A-Fa-f0-9]{6}F[A-Fa-f0-9]{2}(#R[A-F0-9][A-F0-9]){0,1}$
     11:SD_WS09 ^P9#F[A-Fa-f0-9]+
     12:SD_WS   ^W\d+x{0,1}#.*
     13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
     14:Dooya   ^P16#[A-Fa-f0-9]+
     15:SOMFY   ^Ys[0-9A-F]+
     16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
     17:SD_UT   ^u30#.*
     18:FLAMINGO ^P13#[A-Fa-f0-9]+
     19:CUL_WS  ^K[A-Fa-f0-9]{5,}
     1:IT       ^i......
     20:Revolt  ^r[A-Fa-f0-9]{22}
     21:FS10    ^P61#[A-F0-9]+
     22:Siro    ^P72#[A-Fa-f0-9]+
     23:FHT     ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
     24:FS20    ^81..(04|0c)..0101a001
     2:CUL_TCM97001 ^s[A-Fa-f0-9]+
     3:SD_RSL   ^P1#[A-Fa-f0-9]{8}
     4:OREGON   ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
     5:CUL_TX   ^TX..........
     6:SD_AS    ^P2#[A-Fa-f0-9]{7,8}
     7:Hideki   ^P12#75[A-F0-9]+
     9:CUL_FHTTK ^T[A-F0-9]{8}
     X:SIGNALduino_un ^[u]\d+#.*
   QUEUE:
   READINGS:
     2018-01-20 01:02:11   ccconf          freq:868.300MHz bWidth:203KHz rAmpl:33dB sens:8dB  (DataRate:5603.79Baud)
     2018-01-19 23:33:18   ccpatable       C3E = 00 84 00 00 00 00 00 00  => 5_dBm
     2018-01-20 00:23:02   ccreg           C3E = 00 84 00 00 00 00 00 00
     2018-01-20 00:17:26   cmds             V R t X F S P C r W x e
     2018-01-20 01:01:56   config          MS=1;MU=1;MC=1
     2018-01-19 23:33:07   freeram         35472
     2018-01-20 01:21:03   ping            OK
     2018-01-20 01:02:03   state           opened
     2018-01-19 23:32:32   uptime          0 01:46:10
     2018-01-20 01:02:03   version         V 3.3.1-dev SIGNALESP cc1101 868MHz - compiled at Jan  6 2018 15:09:26
   getcmd:
   keepalive:
     ok         0
     retry      0
   mcIdList:
     10
     11
     12
     12.1
     18
     43
     47
     52
     57
     58
   msIdList:
     0
     1
     13
     14
     15
     17
     2
     22
     23
     25
     3
     3.1
     32
     33
     35
     38
     4
     41
     51
     55
     6
     68
     7
     72.1
   muIdList:
     13.1
     16
     20
     21
     24
     26
     27
     28
     29
     30
     31
     36
     37
     39
     40
     44
     44.1
     45
     46
     48
     49
     5
     50
     56
     59
     60
     61
     62
     64
     65
     66
     67
     69
     70
     71
     72
     75
     8
     9
Attributes:
   flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
   group      Funk
   room       System Module
   verbose    5


Auszug aus dem FHEM Log (mit Log Level 5)


2018.01.20 00:23:16 4: HmWifiDui1/keepalive ok, retry = 0
2018.01.20 00:23:35 4: HmWifiDui1/msg READredu: MS;P1=439;P2=-411;P3=663;P4=-678;P5=278;P6=-4855;D=212121212121212121212121212123412121212560;CP=1;SP=6;R=203;
2018.01.20 00:23:35 4: HmWifiDui1: Matched MS Protocol id 1 -> ConradRSL
2018.01.20 00:23:35 5: HmWifiDui1: Starting demodulation at Position 41
2018.01.20 00:23:35 5: HmWifiDui1: Found wrong signalpattern, catched 0 bits, aborting demodulation
2018.01.20 00:23:35 4: HmWifiDui1: Matched MS Protocol id 14 -> Heidemann HX
2018.01.20 00:23:35 5: HmWifiDui1: Starting demodulation at Position 41
2018.01.20 00:23:35 5: HmWifiDui1: Found wrong signalpattern, catched 0 bits, aborting demodulation
2018.01.20 00:23:35 4: HmWifiDui1/msg READredu: MU;P0=229;P1=-403;P2=451;P3=934;P5=616;P6=-672;D=012121212121213121215656215621212121212120;CP=2;R=204;CP=2;R=204;
2018.01.20 00:23:35 5: HmWifiDui1: applying filterfunc SIGNALduino_filterSign
2018.01.20 00:23:35 4: HmWifiDui1: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2018.01.20 00:23:35 5: HmWifiDui1: start pattern for MU Protocol id 27 -> remote27 mismatches, aborting
2018.01.20 00:23:35 4: HmWifiDui1: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2018.01.20 00:23:35 5: HmWifiDui1: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2018.01.20 00:23:35 4: HmWifiDui1: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2018.01.20 00:23:35 5: HmWifiDui1: start pattern for MU Protocol id 29 -> HT12e remote mismatches, aborting
2018.01.20 00:23:35 4: HmWifiDui1: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2018.01.20 00:23:35 5: HmWifiDui1: start pattern for MU Protocol id 30 -> unitec47031 mismatches, aborting
2018.01.20 00:23:35 4: HmWifiDui1: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2018.01.20 00:23:35 5: HmWifiDui1: Starting demodulation at Position 21
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 24
2018.01.20 00:23:36 5: HmWifiDui1: applying filterfunc SIGNALduino_compPattern
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 56 -> Celexon matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 56 -> Celexon mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 59 -> AK-HD-4 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 59 -> AK-HD-4 mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 2
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 69 -> Hoermann matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 69 -> Hoermann mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 2
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 72 -> Siro shutter matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 72 -> Siro shutter mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 20
2018.01.20 00:23:36 4: HmWifiDui1/msg READredu: MU;P0=92;P1=-148;P2=405;P3=-425;P5=601;P6=-687;P7=-91;D=232323232323232323232323232323562323232701565656235623235300;CP=2;R=206;CP=2;R=206;
2018.01.20 00:23:36 5: HmWifiDui1: applying filterfunc SIGNALduino_filterSign
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 1
2018.01.20 00:23:36 5: HmWifiDui1: dispatching bits: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0
2018.01.20 00:23:36 4: HmWifiDui1: decoded matched MU Protocol id 20 dmsg u20#FFFFFFF8 length 32 RSSI = -99
2018.01.20 00:23:36 5: HmWifiDui1 Dispatch: u20#FFFFFFF8, test ungleich: disabled
2018.01.20 00:23:36 5: HmWifiDui1 Dispatch: u20#FFFFFFF8, -99 dB, dispatch
2018.01.20 00:23:36 5: HmWifiDui1: dispatch u20#FFFFFFF8
2018.01.20 00:23:36 4: SIGNALduino_unknown incomming msg: u20#FFFFFFF8
2018.01.20 00:23:36 4: SIGNALduino_unknown rawData: FFFFFFF8
2018.01.20 00:23:36 4: SIGNALduino_unknown Protocol: 20
2018.01.20 00:23:36 4: SIGNALduino_unknown converted to bits: 11111111111111111111111111111000
2018.01.20 00:23:36 4: Unknown, please report
2018.01.20 00:23:36 3: HmWifiDui1: Unknown code u20#FFFFFFF8, help me!
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 27 -> remote27 mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 29 -> HT12e remote mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 30 -> unitec47031 mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 43
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 48
2018.01.20 00:23:36 5: HmWifiDui1: applying filterfunc SIGNALduino_compPattern
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 56 -> Celexon matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 56 -> Celexon mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 61 -> FS10 matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 0
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 69 -> Hoermann matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 69 -> Hoermann mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 70 -> FHT80TF matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 0
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 72 -> Siro shutter matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: start pattern for MU Protocol id 72 -> Siro shutter mismatches, aborting
2018.01.20 00:23:36 4: HmWifiDui1: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2018.01.20 00:23:36 5: HmWifiDui1: Starting demodulation at Position 30
2018.01.20 00:24:16 4: HmWifiDui1/keepalive ok, retry = 0


Andreas

SusisStrolch

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

Sidey

Ah verstehe,

Das LCG ist ein Board mit einem ESP Chip und an dem ESP hängt ein ATMega.
An dem AT Mega hängt ein cc1101.

Von dem ESP kommt man nicht direkt an den cc1101, was die einfachere Sache wäre. :)

Gut, compilieren der Firmware sollte leicht möchte sein. Wie man das dann flasht habe ich auf Anhieb noch nicht verstanden.

Gruß Sidey



Gesendet von meinem XT1650 mit Tapatalk

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

SusisStrolch

Das LGW dient nebenbei als WLAN/Serial Umsetzer - ähnlich dem ESPLink.
Das ATMega-Image wird vom ESP auf den ATMega geflasht - hochgeladen wird über eine spezielle URL.

Klappt prima 😄
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

Sidey

Zitat von: SusisStrolch am 20 Januar 2018, 14:18:34
Das LGW dient nebenbei als WLAN/Serial Umsetzer - ähnlich dem ESPLink.
Das ATMega-Image wird vom ESP auf den ATMega geflasht - hochgeladen wird über eine spezielle URL.

Klappt prima 😄

Okay, auf das LGW kommt nach meinen Recherchen ein miniCul.
Habe dafür nun mal die Firmware compiliert:

SIGNALduino_minicul-331rc3.hex
https://drive.google.com/uc?export=download&id=1q3rQ6C9g2kE34bgrkG9J1l9RT6OdmuE-


Flashen geht ja irgendwie über die serial Bridge, also den esp. Das müsstest Du mir am besten mal zeigen, welchen Befehl Du da absetzt. Dann könnte man das ins Modul vermutlich auch direkt einbauen.
Als Hardware solltest du nanoCC1101 wählen, damit auch die cc1101 Funktionen zur Verfügung stehen.

Die Baudrate ist im übrigen wie gehabt 57600, das könnte man aber ja noch nach oben hin anpassen, denn die 57600 sind nicht gerade optimal für 8 Mhz.

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

PeMue

Hallo Sidey,

Zitat von: Sidey am 20 Januar 2018, 22:47:10
Flashen geht ja irgendwie über die serial Bridge, also den esp. Das müsstest Du mir am besten mal zeigen, welchen Befehl Du da absetzt. Dann könnte man das ins Modul vermutlich auch direkt einbauen.
das Flashen geht über das Gateway selber, siehe https://wiki.fhem.de/wiki/LaCrosseGateway_V1.x Abschnitt Subprozessor bzw. da Firmware flashen.
curl --http1.0 -H "Content_Type:multipart/form-data" -F "file=@/myFolder/LGW-Addon.ino.hex; filename=addon.hex" http://192.168.31.211/ota/addon.hex

Gruß PeMue

RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

Sidey

Zitat von: PeMue am 20 Januar 2018, 23:20:31
Hallo Sidey,
das Flashen geht über das Gateway selber, siehe https://wiki.fhem.de/wiki/LaCrosseGateway_V1.x Abschnitt Subprozessor bzw. da Firmware flashen.
curl --http1.0 -H "Content_Type:multipart/form-data" -F "file=@/myFolder/LGW-Addon.ino.hex; filename=addon.hex" http://192.168.31.211/ota/addon.hex

Gruß PeMue

Danke für den Hinweis.

Blöde frage, aber wo wird das aufgerufen, auf der shell eines Linux Servers? :)

Was ist 192.168.31.211 ? Ist das die IP Adresse vom ESP?
LGW-Addon.ino.hex wird dann vermutlich die zu flashende Firmware sein.

Ich vermute jetzt mal, es wird ein HTTP Get auf <IP vom ESP>/ota/addon.hex aufgerufen und  Content_Type:multipart/form-data als Header übergeben und im Anschluss noch das Hexfile.

Grüße Sidey

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

habeIchVergessen

da wird ein HTTP-Post aufgerufen. Ziel ist der ESP (IP: 192.168.31.211).
Der Rest der URL ist fix

http://<ip ESP>/ota/addon.hex

im Modul KVPUDP.pm wird in perl ein HTTP-Post zusammengebaut (sub KVPUDP_Flash).

Sidey

Zitat von: habeIchVergessen am 21 Januar 2018, 00:54:20
da wird ein HTTP-Post aufgerufen. Ziel ist der ESP (IP: 192.168.31.211).
Der Rest der URL ist fix

http://<ip ESP>/ota/addon.hex

im Modul KVPUDP.pm wird in perl ein HTTP-Post zusammengebaut (sub KVPUDP_Flash).
Danke, dann habe ich das ja weitgehend richtig interpretiert.

Http Post dachte ich, wird in curl mit -X POST gesendet.

Mein 1. Gedanke war da auch das HTTPMod zu nutzen.
Insgesamt sollte sich das Flashen aber implementieren lassen.
Man müsste halt nur eine Hardware im Attribut definieren.
Alles andere ist ja entweder statisch (Pfad) oder kann aus dem Define entnommen werden (IP Adresse).

Gruß Sidey


Gesendet von meinem XT1650 mit Tapatalk

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

SusisStrolch

Empfang funktioniert anscheinend, die LED blitzt auch ab und an auf.
Muss mir die Logs mal im Detail anschauen was da so alles an Sensoren erkannt wird.

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

Bennemannc

Hallo,

hier https://forum.fhem.de/index.php/topic,58396.msg743522.html#msg743522 ist ja das File für einen SignalESP. Wie bekomme ich das aufgespielt? ESP Tools habe ich (Windows) aber an welche Adresse oder besser gesagt ab welcher Adresse muss ich die Datei flashen?

Gruß Christoph
Cubietruck, Fhem 5.8
CC-RT-DN|LC-SW2-FM|RC-12|RC-19|LC-SW4-BA-PCB|LCp-SW1-BA-PCB|ES-PMSw1-Pl|LC-Bl1PBU-FM|PBI-4-FM|CC-VD|CC-TC|SEC-SC(2)|RC-KEY3-B|LC-Sw1PBU-FM|PB-2-FM|WDS100-C6-O|WDC7000|LC-Bl1-FM
Module: Dewpoint,FB_Callmonitor,HCS,Panstamp,at,notify,THRESHOLD,average,DOIF