SIGNALDuino Oregon Sensoren

Begonnen von Ralf9, 04 November 2016, 17:59:00

Vorheriges Thema - Nächstes Thema

David1

Ja, die Temperatur und Luftfeuchtigkeit passen. Die Distanz zwischen THGR221 und sduino beträgt nur ca. 4m. Die sind im gleichen Raum.
Gruss David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

Ralf9

was ergibt ein
get version
get ccconf

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

David1

version: V 3.3.1-dev SIGNALduino cc1101 - compiled at Mar 10 2017 22:54:50

ccconf: freq:433.920MHz bWidth:325KHz rAmpl:42dB sens:4dB (DataRate:5603.79Baud)

Gruss David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

Ralf9

Du hast eine recht alte firmware von 2017, Du kannst mal eine aktuelle firmware testen
https://wiki.fhem.de/wiki/SIGNALduino

Evtl bringt es was die bWidth z.B. auf 541 kHz zu erhöhen

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

David1

Hallo Ralf

Die Firmware habe ich aktualisiert und auch die Bandbreite vergrössert. Das hat an der Situation leider nichts geändert. Seit längerem habe ich auch zwei THGR122NX in Betrieb. Dort kommen schön regelmässig alle Werte rein.
Könnte das vielleicht weiter helfen:
https://fccid.io/NMTTHGR221-01/Test-Report/Test-Report-4066974.html

Grüsse David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

Ralf9

#155
Hast Du mir nochmals einige raw-Nachrichten, es müssten MC-Nachrichten sein.
Haben die THGR221 auch eine LED, damit Du erkennen kannst, wann sie senden?

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

David1

Hallo Ralf

Ich wollte auf dem nanoCUL noch eine alternative firmware testen. Leider kriege ich jetzt gar keine firmware mehr drauf.
FHEM: "sduino is not active, may firmware is not suppoted, please flash or reset"
pi@raspberrypi:~ $ sudo avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-FTD                                                                                                                                   I_FT232R_USB_UART_00000000-if00-port0 -p atmega328p -vv -U flash:w:SIGNALduino_n                                                                                                                                   anoCC1101.hex

avrdude: Version 6.3
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, skippi                                                                                                                                   ng

         Using Port                    : /dev/serial/by-id/usb-FTDI_FT232R_USB_U                                                                                                                                   ART_00000000-if00-port0
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.


Ich glaube da ist was hinüber...
Ich melde mich, sobald ich das wieder auf die Reihe gekriegt hab.

Gruss David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

David1

Hallo Ralf

Da bin ich wieder. Ich musste den arduino nano tauschen, da war was faul.
Beim THGR221 gibt es ein Symbol auf dem LCD, welches aufleuchtet, wenn gesendet wird.
Hier noch einige raw-Nachrichten:

MC;LL=-976;LH=983;SL=-484;SH=504;D=000000A0EBD73479E7F55FEDAA;C=491;L=104;R=244;
T: 18.6 H: 55

MC;LL=-991;LH=954;SL=-504;SH=480;D=55555554CD2B34CAAB2AD554AAD2B32AAACB32AAAAB2CAAA;C=488;L=191;R=245;
T: 22.6 H: 46

MC;LL=-972;LH=985;SL=-473;SH=503;D=5075EB9A39DDFEEDFED08000005075EB9A39DDFC;C=488;L=158;R=24;
T: 22.3 H: 44

Die erste raw-Nachricht wurde übrigens von FHEM richtig ausgewertet (siehe Bild). Die anderen zwei nicht mehr.


Gruss und Dank.
David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

HomeAuto_User

Hallo David,

was heißt bei dir, die Nachrichten werden nicht ausgewertet?
Wenn du verbose 4 einstellst, gehen da die Nachrichten an ein Modul bzw. werden decodiert?

MfG
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Ralf9

wenn ich mit der zweiten Nachricht simuliere bekomme ich

2018.12.20 23:26:10.396 4 : sduinoD/msg get raw: MC;LL=-991;LH=954;SL=-504;SH=480;D=55555554CD2B34CAAB2AD554AAD2B32AAACB32AAAAB2CAAA;C=488;L=191;R=245;
2018.12.20 23:26:10.396 4 : sduinoD: Found manchester Protocol id 10 clock 488 RSSI -79.5 -> Oregon Scientific v2|v3
2018.12.20 23:26:10.396 4 : sduinoD: OSV2 protocol detected: preamble_pos = 31
2018.12.20 23:26:10.396 4 : sduinoD: OSV2 protocol converted to hex: (501A2D10FE601420054002) with length (88) bits
2018.12.20 23:26:10.396 4 : sduinoD Dispatch: 501A2D10FE601420054002, -79.5 dB, dispatch
2018.12.20 23:26:10.396 4 : THGR228N_1 decoded Oregon: T: 14.6 H: 52 BAT: ok


Gibt es bei Dir einen Sensor zu der "T: 14.6 H: 52" passt, oder evtl ein Sensor vom Nachbar?

Die driite Nachricht wird als ID 12 Hideki mit fascher Prüfsumme erkannt.

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

David1

Hallo Ralf

Der "T: 14.6 H: 52" war wahrscheinlich der andere Sensor (THGR122NX) bei mir im Keller. Der hat da wohl etwa zeitgleich gesendet.

Das Problem beim THGR221 ist, dass der eigentlich jede Minute sendet, aber nur etwa 2-3mal pro Tag das Signal decodiert wird und im state die entsprechenden Werte erscheinen.
Bei erfolgreichem decodieren sieht das so aus:
2018.12.22 22:28:57 4: sduino/msg READ:  MC;LL=-963;LH=986;SL=-485;SH=501;D=00005075EBEE76DDFCEFF6CB0;C=489;L=97;R=251;
2018.12.22 22:28:57 4: sduino: Found manchester Protocol id 10 clock 489 RSSI -76.5 -> Oregon Scientific v2|v3
2018.12.22 22:28:57 4: sduino: OSV3 protocol detected: preamble_pos = 17, message_length = 79
2018.12.22 22:28:57 4: sduino: OSV3 protocol =                     F82414C842206408469
2018.12.22 22:28:57 4: sduino: OSV3 protocol converted to hex: (50FA2814C4482260044896) with length (80) bits
2018.12.22 22:28:57 4: sduino: Found manchester Protocol id 12 clock 489 RSSI -76.5 -> Hideki
2018.12.22 22:28:57 4: sduino: hideki start pattern (10101110) not found
2018.12.22 22:28:57 4: sduino: Found manchester Protocol id 52 clock 489 RSSI -76.5 -> Oregon Scientific PIR
2018.12.22 22:28:57 4: sduino: Oregon PIR protocol detected: header_pos = 17
2018.12.22 22:28:57 4: SIGNALduino_unknown incomming msg: u52#FFFFAF8A1411892203100934F
2018.12.22 22:28:57 4: SIGNALduino_unknown rawData: FFFFAF8A1411892203100934F
2018.12.22 22:28:57 4: SIGNALduino_unknown Protocol: 52
2018.12.22 22:28:57 4: SIGNALduino_unknown converted to bits: 1111111111111111101011111000101000010100000100011000100100100010000000110001000000001001001101001111
2018.12.22 22:28:57 4: SIGNALduino_unknown sduino Protocol:52 | To help decode or debug, please add u52! (attr sduino development u52)
2018.12.22 22:28:57 4: Unknown, please report
2018.12.22 22:28:57 4: SIGNALduino_unknown incomming msg: u52#FFFFAF8A1411892203100934F
2018.12.22 22:28:57 4: SIGNALduino_unknown rawData: FFFFAF8A1411892203100934F
2018.12.22 22:28:57 4: SIGNALduino_unknown Protocol: 52
2018.12.22 22:28:57 4: SIGNALduino_unknown converted to bits: 1111111111111111101011111000101000010100000100011000100100100010000000110001000000001001001101001111
2018.12.22 22:28:57 4: SIGNALduino_unknown sduino Protocol:52 | To help decode or debug, please add u52! (attr sduino development u52)
2018.12.22 22:28:57 4: Unknown, please report
2018.12.22 22:28:57 3: sduino: Unknown code u52#FFFFAF8A1411892203100934F, help me!
2018.12.22 22:28:57 4: sduino: Found manchester Protocol id 58 clock 489 RSSI -76.5 -> TFA 30.3208.0
2018.12.22 22:28:57 4: sduino: TFA 30.3208.0 preamble_pos = 19
2018.12.22 22:28:57 4: sduino: TFA message start=19 end=100 with length81
2018.12.22 22:28:57 4: sduino: 7C50A08C49101

STATE: T: 22.4 H: 46 (siehe Bild).

In den meisten Fällen sieht es aber so und im STATE erscheinen keine aktuellen Werte:
2018.12.22 22:42:10 4: sduino/msg READ:  MC;LL=-972;LH=982;SL=-478;SH=497;D=00141D7AED1DA77F3BFEA8C00000141D7AED1C;C=487;L=151;R=22;
2018.12.22 22:42:10 4: sduino: Found manchester Protocol id 10 clock 487 RSSI -63 -> Oregon Scientific v2|v3
2018.12.22 22:42:10 4: sduino: Found manchester Protocol id 12 clock 487 RSSI -63 -> Hideki
2018.12.22 22:42:10 4: sduino: receive Hideki protocol not inverted
2018.12.22 22:42:10 4: sduino: Hideki protocol converted to hex: 75C596FDDCBFC5000040E0BD with 104 bits, messagestart 28
2018.12.22 22:42:10 4: sduino Hideki_Parse: incomming P12#75C596FDDCBFC5000040E0BD
2018.12.22 22:42:10 4: sduino Hideki_crc: rawdata=75C596FDDCBFC5000040E0BD to short, count=29 data length=12
2018.12.22 22:42:10 4: sduino: Found manchester Protocol id 52 clock 487 RSSI -63 -> Oregon Scientific PIR
2018.12.22 22:42:10 4: sduino: Oregon PIR protocol detected: header_pos = 115
2018.12.22 22:42:10 4: sduino: Found manchester Protocol id 58 clock 487 RSSI -63 -> TFA 30.3208.0
2018.12.22 22:42:10 4: sduino: TFA 30.3208.0 preamble_pos = 13
2018.12.22 22:42:10 4: sduino: TFA message start=13 end=104 with length91
2018.12.22 22:42:10 4: sduino: 7C50A25C4B101
2018.12.22 22:42:10 4: sduino: TFA message start=117 end=152 with length35
2018.12.22 22:42:10 4: sduino: 3E28512E3

Werte auf dem Display vom Sensor T: 23.4 H: 46%

Gruss David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

Ralf9

welche firmware version verwendest Du?
get sduino version

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

David1

version: V 3.3.1-RC10 SIGNALduino cc1101 - compiled at Nov 19 2018 23:11:15

ccconf: freq:433.920MHz bWidth:464KHz rAmpl:42dB sens:4dB (DataRate:5603.79Baud)

Grüsse David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20

Ralf9

mich würde noch interessieren wie es zum Vergleich mit meiner firmware V 3.3.2.1-rc6 aussieht
https://forum.fhem.de/index.php/topic,82379.msg840645.html#msg840645

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

David1

version: V 3.3.2.1-rc6 SIGNALduino cc1101 - compiled at Dec 1 2018 21:26:50

Das sieht dann so aus:
2018.12.23 00:08:20 4: sduino/msg READ: MC;LL=-983;LH=967;SL=-489;SH=489;D=00000283AF5DF796EFCF7C8EEC00000283AF5D8;C=487;L=153;R=37;s45;b2;O;w;
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 10 clock 487 RSSI -55.5 -> Oregon Scientific v2|v3
2018.12.23 00:08:20 4: sduino: OSV3 protocol detected: preamble_pos = 22, message_length = 130
2018.12.23 00:08:20 4: sduino: OSV3 protocol =                     F82411485220340B322FFFFFFAF82419
2018.12.23 00:08:20 4: sduino: OSV3 protocol converted to hex: (84FA281441582230043B22FFFFFFFA28140) with length (132) bits
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 12 clock 487 RSSI -55.5 -> Hideki
2018.12.23 00:08:20 4: sduino: receive Hideki protocol not inverted
2018.12.23 00:08:20 4: sduino: Hideki protocol converted to hex: 75EFB4FDDE13BB000040E0BD with 104 bits, messagestart 39
2018.12.23 00:08:20 4: sduino Hideki_Parse: incomming P12#75EFB4FDDE13BB000040E0BD
2018.12.23 00:08:20 4: sduino Hideki_crc: rawdata=75EFB4FDDE13BB000040E0BD to short, count=14 data length=12
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 52 clock 487 RSSI -55.5 -> Oregon Scientific PIR
2018.12.23 00:08:20 4: sduino: Oregon PIR protocol detected: header_pos = 126
2018.12.23 00:08:20 4: SIGNALduino_unknown incomming msg: u52#FFFFFD7C50A208691030837113FFFFFD7C50A27
2018.12.23 00:08:20 4: SIGNALduino_unknown rawData: FFFFFD7C50A208691030837113FFFFFD7C50A27
2018.12.23 00:08:20 4: SIGNALduino_unknown Protocol: 52
2018.12.23 00:08:20 4: SIGNALduino_unknown converted to bits: 111111111111111111111101011111000101000010100010000010000110100100010000001100001000001101110001000100111111111111111111111111010111110001010000101000100111
2018.12.23 00:08:20 4: SIGNALduino_unknown sduino Protocol:52 | To help decode or debug, please add u52! (attr sduino development u52)
2018.12.23 00:08:20 4: Unknown, please report
2018.12.23 00:08:20 3: sduino: Unknown code u52#FFFFFD7C50A208691030837113FFFFFD7C50A27, help me!
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 58 clock 487 RSSI -55.5 -> TFA 30.3208.0
2018.12.23 00:08:20 4: sduino: TFA 30.3208.0 preamble_pos = 24
2018.12.23 00:08:20 4: sduino: TFA message start=24 end=115 with length91
2018.12.23 00:08:20 4: sduino: 7C50A20869103
2018.12.23 00:08:20 4: sduino: TFA message start=128 end=156 with length28
2018.12.23 00:08:20 4: sduino: 7C50A27
2018.12.23 00:08:20 4: sduino/msg READ: MC;LL=-987;LH=970;SL=-481;SH=483;D=F796EFCF7C8EEC00000283AF5DF796EFCF7C8EE8;C=486;L=157;R=36;s7;b0;O;w;
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 10 clock 486 RSSI -56 -> Oregon Scientific v2|v3
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 12 clock 486 RSSI -56 -> Hideki
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 52 clock 486 RSSI -56 -> Oregon Scientific PIR
2018.12.23 00:08:20 4: sduino: Oregon PIR protocol detected: header_pos = 78
2018.12.23 00:08:20 4: sduino: Found manchester Protocol id 58 clock 486 RSSI -56 -> TFA 30.3208.0
2018.12.23 00:08:20 4: sduino: TFA 30.3208.0 preamble_pos = 80
2018.12.23 00:08:20 4: sduino: TFA message start=80 end=160 with length80
2018.12.23 00:08:20 4: sduino: 7C50A20869103


Gruss David
FHEM auf Raspberry PI 3 B
NanoCUL868  / NanoCUL 433 SIGNALduino
Oregon / mystrom / HMS / IT / FS20