SIGNALDuino Empfänger Firmware V 3.3.2r-dev

Begonnen von Ralf9, 07 Januar 2018, 21:37:44

Vorheriges Thema - Nächstes Thema

Ralf9

Für den miniCUL gibt es bereits eine Firmware:
set sduino flash https://raw.githubusercontent.com/Ralf9/SIGNALDuino/dev-r332_cc1101/firmware/SIGNALduino_miniCUL_3321rc8.hex
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

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

Zitat von: Ralf9 am 10 Februar 2019, 15:05:38
Für den miniCUL gibt es bereits eine Firmware:
set sduino flash https://raw.githubusercontent.com/Ralf9/SIGNALDuino/dev-r332_cc1101/firmware/SIGNALduino_miniCUL_3321rc8.hex
Mit der herrscht Funkstille. Hatte vorher Sideys Mega-Version drauf, da wurden meine 433er Devices erkannt.  Mit deinem Mega Compilat kommt nix an.
Der cc1101 wird erkannt, Configuration und paTable werden sauber ausgelesen..
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

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

#199
Hier die raw definition nach dem get...

defmod SDuino.AZ SIGNALduino 192.168.254.64:85
attr SDuino.AZ cc1101_frequency 433.92
attr SDuino.AZ comment freq: 433.940MHz, bWidth: 325kHz\
(bei 433.92: T1: -35,7kHz, T2: +42,3kHz, T3: +60,8kHz)\
attr miniCUL433 event-on-change-reading .*
attr SDuino.AZ debug 1
attr SDuino.AZ flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
attr SDuino.AZ hardware miniculCC1101
attr SDuino.AZ room Arbeitszimmer,CUL
attr SDuino.AZ verbose 5
attr SDuino.AZ whitelist_IDs 0,0.1,0.2,0.3,0.4,1,3,3.1,4,7,17,17.1,18,23,32,45,57,60,79

setstate SDuino.AZ opened
setstate SDuino.AZ 2019-02-10 16:21:06 ccconf freq:433.940MHz bWidth:325KHz rAmpl:42dB sens:4dB  (DataRate:5603.79Baud)
setstate SDuino.AZ 2019-02-10 10:30:44 ccpatable C3E = 00 84 00 00 00 00 00 00  => 5_dBm
setstate SDuino.AZ 2019-02-06 23:32:13 cmds V R t X S P C r W x e
setstate SDuino.AZ 2019-02-10 16:20:00 config MS=1;;MU=1;;MC=1;;Mred=1;;Mdebug=1_MScnt=4;;MuSplitThresh=8000;;MdebFifoLimit=120/140
setstate SDuino.AZ 2019-02-10 16:19:19 ping OK
setstate SDuino.AZ 2019-02-10 15:44:44 state opened
setstate SDuino.AZ 2019-02-10 16:21:29 version V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21


Und hier das Log... (verbose 5)
2019.02.10 16:19:17.273 5: AddSendQueue: SDuino.AZ: P (1)
2019.02.10 16:19:18.299 5: SDuino.AZ SW: P
2019.02.10 16:19:19.299 4: SDuino.AZ/HandleWriteQueue: nothing to send, stopping timer
2019.02.10 16:19:19.306 5: SDuino.AZ/RAW READ: /OK
2019.02.10 16:19:19.308 4: SDuino.AZ/msg READ: OK
2019.02.10 16:19:19.310 5: SDuino.AZ/noMsg Parse: OK
2019.02.10 16:19:19.310 5: SDuino.AZ/msg READ: regexp=^OK$ cmd=ping msg=OK
2019.02.10 16:19:58.087 5: SDuino.AZ: command for gets: CG
2019.02.10 16:19:58.090 5: AddSendQueue: SDuino.AZ: CG (1)
2019.02.10 16:19:59.020 5: SDuino.AZ SW: CG
2019.02.10 16:20:00.073 4: SDuino.AZ/HandleWriteQueue: nothing to send, stopping timer
2019.02.10 16:20:00.121 5: SDuino.AZ/RAW READ: /MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=120/140
2019.02.10 16:20:00.122 4: SDuino.AZ/msg READ: MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=120/140
2019.02.10 16:20:00.122 5: SDuino.AZ/noMsg Parse: MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=120/140
2019.02.10 16:20:00.123 5: SDuino.AZ/msg READ: regexp=^MS.*MU.*MC.* cmd=config msg=MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=120/140
2019.02.10 16:20:18.148 4: SDuino.AZ/keepalive ok, retry = 0
2019.02.10 16:21:04.877 5: SDuino.AZ: command for gets: C0DnF
2019.02.10 16:21:04.878 5: AddSendQueue: SDuino.AZ: C0DnF (1)
2019.02.10 16:21:05.887 5: SDuino.AZ SW: C0DnF
2019.02.10 16:21:06.917 4: SDuino.AZ/HandleWriteQueue: nothing to send, stopping timer
2019.02.10 16:21:06.962 5: SDuino.AZ/RAW READ: /C0Dn11=10B0A357C43023B900070018146C070090
2019.02.10 16:21:06.963 4: SDuino.AZ/msg READ: C0Dn11=10B0A357C43023B900070018146C070090
2019.02.10 16:21:06.963 5: SDuino.AZ/noMsg Parse: C0Dn11=10B0A357C43023B900070018146C070090
2019.02.10 16:21:06.964 5: SDuino.AZ/msg READ: regexp=C0Dn11.* cmd=ccconf msg=C0Dn11=10B0A357C43023B900070018146C070090
2019.02.10 16:21:18.872 4: SDuino.AZ/keepalive ok, retry = 0
2019.02.10 16:21:24.497 5: SDuino.AZ: command for gets: V
2019.02.10 16:21:24.499 5: AddSendQueue: SDuino.AZ: V (1)
2019.02.10 16:21:28.520 5: SDuino.AZ SW: V
2019.02.10 16:21:29.692 4: SDuino.AZ/HandleWriteQueue: nothing to send, stopping timer
2019.02.10 16:21:29.704 5: SDuino.AZ/RAW READ: /V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21
2019.02.10 16:21:29.705 4: SDuino.AZ/msg READ: V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21
2019.02.10 16:21:29.706 5: SDuino.AZ/noMsg Parse: V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21
2019.02.10 16:21:29.707 5: SDuino.AZ/msg READ: regexp=V\s.*SIGNAL(duino|ESP).* cmd=version msg=V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21
2019.02.10 16:22:20.011 4: SDuino.AZ/keepalive ok, retry = 0
2019.02.10 16:23:20.629 4: SDuino.AZ/KeepAlive not ok, retry = 1 -> get ping
2019.02.10 16:23:20.631 5: AddSendQueue: SDuino.AZ: P (1)
2019.02.10 16:23:21.547 5: SDuino.AZ SW: P
2019.02.10 16:23:22.591 4: SDuino.AZ/HandleWriteQueue: nothing to send, stopping timer
2019.02.10 16:23:22.627 5: SDuino.AZ/RAW READ: /OK
2019.02.10 16:23:22.628 4: SDuino.AZ/msg READ: OK
2019.02.10 16:23:22.629 5: SDuino.AZ/noMsg Parse: OK
2019.02.10 16:23:22.629 5: SDuino.AZ/msg READ: regexp=^OK$ cmd=ping msg=OK
2019.02.10 16:24:21.347 4: SDuino.AZ/keepalive ok, retry = 0


Edit: code-tags korrigiert
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 das ist das alte Setting mit Sideys Version (läuft auf dem LCGW im Wohnzimmer):
defmod SDuino.WZ SIGNALduino 192.168.254.63:85
attr SDuino.WZ DbLogExclude .*
attr SDuino.WZ cc1101_frequency 433.92
attr SDuino.WZ debug 0
attr SDuino.WZ flashCommand avrdude -c arduino -b [BAUDRATE] -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
attr SDuino.WZ hardware promini328
attr SDuino.WZ room CUL,Wohnzimmer
attr SDuino.WZ verbose 4

setstate SDuino.WZ opened
setstate SDuino.WZ 2019-02-10 16:27:03 ccconf freq:433.920MHz bWidth:232KHz rAmpl:42dB sens:12dB  (DataRate:5603.79Baud)
setstate SDuino.WZ 2019-02-10 10:32:37 ccpatable C3E = 00 84 00 00 00 00 00 00  => 5_dBm
setstate SDuino.WZ 2019-02-10 16:27:32 config MS=1;;MU=1;;MC=1;;Mred=1;;Mdebug=1_MScnt=4;;MuSplitThresh=8000;;MdebFifoLimit=120
setstate SDuino.WZ 2019-02-07 22:22:18 ping OK
setstate SDuino.WZ 2019-02-10 10:11:48 state opened
setstate SDuino.WZ 2019-02-10 16:29:33 version V 3.3.2.1-rc4 SIGNALduino cc1101 (433Mhz )- compiled at Sep 29 2018 00:15:51
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

Zitatversion V 3.3.2.1-rc8 SIGNALduino cc1101 - compiled at Jan 10 2019 20:10:21
Du hast die SIGNALduino_3v3prominiCC1101_3321rc8.hex geflasht, diese Version ist für diejenigen, die mit einem 3.3V promini und der nanocul Verkabelung einen Signalduino gebaut haben.

Bei der SIGNALduino_miniCUL_3321rc8.hex ergibt ein get config:
version: V 3.3.2.1-rc8 SIGNALduino cc1101 (433Mhz )- compiled at Feb 2 2019 10:25:03

Beim minicul ist gegenüber der nanocul Verkabelung Senden und Empfangen vertauscht.
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

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

Lööpt - da hatte ich mich doch durch das "pro" in der alten Version irritieren lassen...
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

marcg

Hallo,

ich würde gerne Temperatur/Feuchte Werte (die von anderen Sensoren kommen) im Oregon V1 oder V2 Format an meine Wetterstation senden. Der Original Außenfühler ist nun nach 10 Jahren leider kaputt. Funktioniert das schon so ohne weiteres über den sendMsg Befehl ?

Danke
Marc

Ralf9

Zitatich würde gerne Temperatur/Feuchte Werte (die von anderen Sensoren kommen) im Oregon V1 oder V2 Format an meine Wetterstation senden
Funktioniert das schon so ohne weiteres über den sendMsg Befehl ?

Das funktioniert ist aber nicht so einfach. Du musst dazu die Temperatur und Luftfeuchtigkeit mit einer Perlroutine in das Protokoll umrechnen, das Deine Wetterstation verwendet. Evtl musst Du auch noch die passende Prüfsumme berechnen.

Siehe auch
https://forum.fhem.de/index.php/topic,93684.0.html

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

Harst

Aus meiner Sicht wäre das eine schöne Erweiterung (ja, ich helfe, ja es ist Aufwand), wenn einige/viele der Module echtes Senden bekommen. Ich habe schon drüber siniert, aber noch kein Konzept.
Das Modul für Oregon bräuchte eine Funktion "send" mit Parametern (immer andere, in diesem Fall alle Nutzdaten). Sie würde dann die sendMsg zusammenstellen, je nachdem, welches Interface es verwendet (Signalduino/CUL/...) incl. Checksum.

Horst

Ralf9

Eine Möglichkeit wäre einige der Module um ein "set send" zu erweitern, z.B.
set send T: 16.5 H: 47

Du kannst ja dafür ein neues Thema unter "Sonstige Systeme" oder "Wunschliste" aufmachen.

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

marcg

Zitat von: Ralf9 am 14 Februar 2019, 19:12:49
Das funktioniert ist aber nicht so einfach. Du musst dazu die Temperatur und Luftfeuchtigkeit mit einer Perlroutine in das Protokoll umrechnen, das Deine Wetterstation verwendet. Evtl musst Du auch noch die passende Prüfsumme berechnen.

Siehe auch
https://forum.fhem.de/index.php/topic,93684.0.html

Danke schön, schaue ich mir an.

Zitat von: Ralf9 am 14 Februar 2019, 23:52:50
Eine Möglichkeit wäre einige der Module um ein "set send" zu erweitern, z.B.
set send T: 16.5 H: 47

Das wäre natürlich noch besser :-)

Danke
Marc

putzvarruckt

Hallo zusammen, in der Sufu find ich keine Hilfe, deshalb probier ich es hier:

Ich hab eine Steuerung für mein Dachfenster im Bad aufgebaut und einen SIGNALDUINO mit CC1101 um Temperatur und Luftfeuchtigkeit im Raum zu messen.
Nun stelle ich aber fest, dass unter Umständen die Feuchtigkeit schnell steigt (Beim Duschen zum Beispiel).
Dann bekomm ich von meinem Signalduino die Meldung:

"ERROR - Hum diff too large (old 59, new 63, diff 4.0)"

Somit erkenne ich den zu hohen Wert der Feuchtigkeit nicht mehr...

Kann ich den Differenzwert ab dem ein Messwert als Fehler verworfen wird einstellen?
Ich habNichts gefunden...

Vielen Dank

Friedrich