SIGNALDuino Oregon Sensoren

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

Vorheriges Thema - Nächstes Thema

Ralf9

Zitat von: stefanru am 26 November 2016, 21:52:26
Kann es was mit diesem Logeintrag zu tun haben?
2016.11.26 21:51:12 1: PERL WARNING: Use of uninitialized value in string eq at fhem.pl line 4638.

Schau mal hier:

https://forum.fhem.de/index.php/topic,58090.msg495097.html#msg495097

https://forum.fhem.de/index.php/topic,59456.msg508295.html#msg508295

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

stefanru

#76
Hi Ralf,

vielen Dank.

Ich finde aber auch dort nur raus dass es >T: 8.5 H: 56 BAT: ok< has no TYPE.
Ich habe aber alles durchsucht und kein device gefunden das so heißt.
Das ist doch eigentlich die Rückgabe vom oregon Sensor.

Habe alle Oregons nochmal gelöscht.
Wurden per autocreate wieder angelegt.
Hat aber auch nichts geholfen.

Bin jetzt ratlos. Jemand noch ne Idee?

P.S.: Habe den Sender weiter weg gestellt.
Nun findet ihn nur der Sduino. FHEM durchgestartet und die Fehler sind erstmal weg.
Scheint dann doch eher vom a-cul zu kommen, oder zusammenspiel?
Leider sobald ich den Sensor wieder näher bringe tritt es wieder auf.
Trozdem erstmal mit Workaround für mich gelöst.


Gruß,
Stefan


Dansayisi

Hallo,

ich versuche den Oregon-Sender THRG228N mittels SIGNALDuino zu empfangen und zu dekodieren. Das Empfangen klappt soweit (jedenfalls denke ich so), aber nicht das Dekodieren. Ich habe das Gefühl, dass die Verarbeitung vom Modul 00_SIGNALDuino.pm nicht an das Modul 41_OREGON.pm weitergegeben wird.

Das Empfänger TI-CC1101 ist an Atmega-Nano328 angeschlossen und Atmega an Raspi-3.

Über jede Hilfe wäre ich dankbar.

Gruß Tansel

Hier sind die Logeinträge:

2016.11.30 22:20:47 0: Server started with 51 defined entities (fhem.pl:12680/2016-11-28 perl:5.020002 os:linux user:fhem pid:27959)
2016.11.30 22:20:52 3: sduino/init: disable receiver (XQ)
2016.11.30 22:20:53 3: sduino/init: get version, retry = 0
2016.11.30 22:20:53 4: sduino/msg READ: V 3.3.0 SIGNALduino - compiled at Sep 18 2016 00:28:28
2016.11.30 22:20:53 2: sduino: initialized
2016.11.30 22:20:53 3: sduino/init: enable receiver (XE)
2016.11.30 22:20:55 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/99_myUtils.pm line 57.
2016.11.30 22:21:04 4: sduino/msg READ: MC;LL=-981;LH=977;SL=-523;SH=479;D=66959A655595;C=493;L=48;
2016.11.30 22:21:04 4: sduino/msg READ: MC;LL=-1012;LH=955;SL=-490;SH=446;D=9A6555A569555556A95A59596564;C=483;L=110;
2016.11.30 22:21:04 4: sduino: Found manchester Protocol id 10 clock 483 -> OSV2o3
2016.11.30 22:21:04 4: sduino: Found manchester Protocol id 12 clock 483 -> Hideki protocol
2016.11.30 22:21:07 4: sduino/msg READ: MC;LL=-975;LH=985;SL=-464;SH=475;D=559555656666A695965;C=483;L=76;
2016.11.30 22:21:07 4: sduino: Found manchester Protocol id 10 clock 483 -> OSV2o3
2016.11.30 22:21:07 4: sduino: Found manchester Protocol id 12 clock 483 -> Hideki protocol
2016.11.30 22:21:18 4: sduino/msg READ: MS;P0=-350;P1=-956;P2=292;P4=911;P6=-9894;D=26212121212121214021402140212121402140214021212140;CP=2;SP=6;O;
2016.11.30 22:21:18 4: sduino: Matched MS Protocol id 3 -> itv1
2016.11.30 22:21:18 4: sduino: Decoded MS Protocol id 3 dmsg i015151 length 24
2016.11.30 22:21:18 4: sduino IT: message "i015151" (7)
2016.11.30 22:21:18 4: sduino IT: msgcode "000FFF0FFF0F" (12) bin = 000000010101000101010001
2016.11.30 22:21:18 4: sduino/msg READ: MU;P0=271;P1=-953;P3=945;P4=-349;P5=-266;P6=-9944;D=010101010134013401340135013401340135343434340601010101010101340134013401350134;CP=0;
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 40 -> romotec matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: decoded matched MU Protocol id 40 dmsg u40#0A8 length 12
2016.11.30 22:21:18 4: SIGNALduino_unknown incomming msg: u40#0A8
2016.11.30 22:21:18 4: SIGNALduino_unknown rawData: 0A8
2016.11.30 22:21:18 4: SIGNALduino_unknown Protocol: 40
2016.11.30 22:21:18 4: SIGNALduino_unknown converted to bits: 000010101000
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 49 -> quigg_gt9000 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino/msg READ: MU;P0=336;P2=-917;P3=946;P4=-316;P7=-9948;D=00234023434343434070202020202020234023402340234023402340234343434340;CP=0;
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 40 -> romotec matches, trying to demodulate
2016.11.30 22:21:18 4: sduino: Fingerprint for MU Protocol id 49 -> quigg_gt9000 matches, trying to demodulate
2016.11.30 22:21:18 4: sduino/msg READ: MS;P1=337;P2=-1041;P3=255;P4=919;P5=-351;P6=-9918;D=36123232323212124512451245321212451245124532453232;CP=3;SP=6;O;
2016.11.30 22:21:19 4: sduino/msg READ: MS;P0=-917;P1=341;P3=944;P4=-315;P6=-9932;P7=262;D=16107070707010103410341034703410347034103434343434;CP=1;SP=6;
2016.11.30 22:21:19 4: sduino: Matched MS Protocol id 3 -> itv1
2016.11.30 22:21:20 4: sduino/msg READ: MS;P0=311;P1=-975;P2=935;P3=-327;P6=-9940;D=06010101010101012301230123012301010123012301010123;CP=0;SP=6;
2016.11.30 22:21:20 4: sduino: Matched MS Protocol id 3 -> itv1
2016.11.30 22:21:20 4: sduino: Decoded MS Protocol id 3 dmsg i015451 length 24
2016.11.30 22:21:20 4: sduino IT: message "i015451" (7)
2016.11.30 22:21:20 4: sduino IT: msgcode "000FFFF0FF0F" (12) bin = 000000010101010001010001
2016.11.30 22:21:21 4: sduino/msg READ: MU;P0=-348;P1=337;P2=-955;P3=945;P6=-9956;D=012301230123012121230123030303030161212121212121230123012301230123012301230303030301;CP=1;
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 40 -> romotec matches, trying to demodulate
2016.11.30 22:21:21 4: sduino: Fingerprint for MU Protocol id 49 -> quigg_gt9000 matches, trying to demodulate
2016.11.30 22:21:21 4: sduino/msg READ: MS;P0=-975;P1=344;P2=259;P3=932;P4=-335;P5=-9895;D=15102010101020103410341034103410101034203420341010;CP=1;SP=5;O;
2016.11.30 22:21:21 4: sduino: Matched MS Protocol id 3 -> itv1
2016.11.30 22:21:32 1: PERL WARNING: Use of uninitialized value in join or string at ./FHEM/98_DBPlan.pm line 1153.
2016.11.30 22:21:43 4: sduino/msg READ: MC;LL=-1042;LH=918;SL=-534;SH=437;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=488;L=191;
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 10 clock 488 -> OSV2o3
2016.11.30 22:21:43 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.11.30 22:21:43 4: sduino: OSV2 protocol converted to hex: (481A2D102D300680C744) with length (80) bits
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 12 clock 488 -> Hideki protocol
2016.11.30 22:21:43 4: sduino/msg READ: MC;LL=-1018;LH=958;SL=-508;SH=455;D=55555555334ACD32AACAC;C=489;L=84;
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 10 clock 489 -> OSV2o3
2016.11.30 22:21:43 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 12 clock 489 -> Hideki protocol
2016.11.30 22:21:43 4: sduino/msg READ: MC;LL=-1018;LH=958;SL=-508;SH=455;D=6555A569555556A95A59596564;C=489;L=102;
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 10 clock 489 -> OSV2o3
2016.11.30 22:21:43 4: sduino: Found manchester Protocol id 12 clock 489 -> Hideki protocol
2016.11.30 22:21:47 4: sduino/msg READ: MC;LL=-1045;LH=915;SL=-507;SH=458;D=66959A655565595A5599956555595999A9A56594;C=487;L=158;
2016.11.30 22:21:47 4: sduino: Found manchester Protocol id 10 clock 487 -> OSV2o3
2016.11.30 22:21:47 4: sduino: Found manchester Protocol id 12 clock 487 -> Hideki protocol
2016.11.30 22:21:48 4: sduino/msg READ: MC;LL=-1048;LH=915;SL=-545;SH=414;D=55555555334ACD32AAB2ACAD2ACCCAB2AAACACCCD4D2B2CA;C=486;L=191;
2016.11.30 22:21:48 4: sduino: Found manchester Protocol id 10 clock 486 -> OSV2o3
2016.11.30 22:21:48 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.11.30 22:21:48 4: sduino: OSV2 protocol converted to hex: (481A2D20C45021405437) with length (80) bits
2016.11.30 22:21:48 4: sduino: Found manchester Protocol id 12 clock 486 -> Hideki protocol
2016.11.30 22:21:53 4: sduino/KeepAliveOk: 1
2016.11.30 22:21:53 4: sduino/keepalive retry = 0
2016.11.30 22:22:22 4: sduino/msg READ: MC;LL=-1029;LH=986;SL=-534;SH=430;D=D5555555334ACD3;C=496;L=60;
2016.11.30 22:22:22 4: sduino/msg READ: MC;LL=-925;LH=999;SL=-441;SH=533;D=2AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=482;L=131;
2016.11.30 22:22:22 4: sduino: Found manchester Protocol id 10 clock 482 -> OSV2o3
2016.11.30 22:22:22 4: sduino: Found manchester Protocol id 12 clock 482 -> Hideki protocol
2016.11.30 22:22:22 4: sduino/msg READ: MC;LL=-968;LH=1008;SL=-454;SH=518;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=491;L=191;
2016.11.30 22:22:22 4: sduino: Found manchester Protocol id 10 clock 491 -> OSV2o3
2016.11.30 22:22:22 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.11.30 22:22:22 4: sduino: OSV2 protocol converted to hex: (481A2D102D300680C744) with length (80) bits
2016.11.30 22:22:22 4: sduino: Found manchester Protocol id 12 clock 491 -> Hideki protocol
2016.11.30 22:22:29 4: sduino/msg READ: MU;P0=-485;P1=-11628;P3=-2344;P4=1042;P5=-946;P7=536;D=13454545454545104015454545104075454510454015454545104015104015104015454545104015454545454510454015454545104015104015104015451045401510454015451040154510454545401145454545454545454545454545454545407570407570454075454570407570454075704075454545454545704075;CP=4;O;
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 49 -> quigg_gt9000 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2016.11.30 22:22:29 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2016.11.30 22:22:29 4: sduino/msg READ: MC;LL=-967;LH=964;SL=-458;SH=525;D=AB2B4;C=485;L=18;
2016.11.30 22:22:29 4: sduino/msg READ: MC;LL=-921;LH=1047;SL=-459;SH=485;D=559996AAD2AC;C=485;L=46;
2016.11.30 22:22:29 4: sduino/msg READ: MC;LL=-921;LH=1047;SL=-459;SH=485;D=665A6965AA;C=485;L=40;

Ralf9

Zitat von: Dansayisi am 30 November 2016, 22:46:34
ich versuche den Oregon-Sender THRG228N mittels SIGNALDuino zu empfangen und zu dekodieren. Das Empfangen klappt soweit (jedenfalls denke ich so), aber nicht das Dekodieren. Ich habe das Gefühl, dass die Verarbeitung vom Modul 00_SIGNALDuino.pm nicht an das Modul 41_OREGON.pm weitergegeben wird.
Das Empfänger TI-CC1101 ist an Atmega-Nano328 angeschlossen und Atmega an Raspi-3.

Der Empfänger TI-CC1101 dürfte eigentlich nicht am SIGNALDuino funktionieren, sieht nach einem Empfänger fur den cul aus.
Empfohlen wird ein Superheterodyne Empfänger. z.B.
http://www.ebay.de/itm/RXB6-433Mhz-Superheterodyne-Wireless-Receiver-Modul-fur-Arduino-ARM-AVR-/282083075986?hash=item41ad762792:g:LDQAAOSwXeJXc0s1


Wenn Du ein update auf die aktuelle Signalduino Version machst, dann passt es
update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/dev-r33/controls_signalduino.txt

2016.11.30 23:20:27.124 4: sduinoD/msg get raw: MC;LL=-1042;LH=918;SL=-534;SH=437;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=488;L=191;
2016.11.30 23:20:27.124 4: sduinoD: Found manchester Protocol id 10 clock 488 -> OSV2o3
2016.11.30 23:20:27.124 5: sduinoD: extracted data 101010101010101010101010101010101100110010110101001100101100110101010101001101010011001011001101010101010010110101001011010101010101010101010100101010110101001011010011010100110100110101001101 (bin)
2016.11.30 23:20:27.124 4: sduinoD: OSV2 protocol detected: preamble_pos = 33
2016.11.30 23:20:27.124 4: sduinoD: OSV2 protocol converted to hex: (501A2D102D300680C74422) with length (88) bits
2016.11.30 23:20:27.124 5: sduinoD: converted Data to (501A2D102D300680C74422)
2016.11.30 23:20:27.124 5: sduinoD dispatch 501A2D102D300680C74422
2016.11.30 23:20:27.124 5: OREGON: decoding delay=0 hex=501A2D102D300680C74422
2016.11.30 23:20:27.124 5: OREGON: sensor_id=1a2d BitsMsg=80 Bits=80
2016.11.30 23:20:27.124 5: OREGON: checksum2 = 68 berechnet: 68
2016.11.30 23:20:27.124 3: OREGON: Unknown device THGR228N_2d_1, please define it
2016.11.30 23:20:27.126 2: autocreate: define THGR228N_2d_1 OREGON THGR228N_2d_1

2016.11.30 23:23:04.437 4: sduinoD/msg get raw: MC;LL=-968;LH=1008;SL=-454;SH=518;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=491;L=191;
2016.11.30 23:23:04.437 4: sduinoD: Found manchester Protocol id 10 clock 491 -> OSV2o3
2016.11.30 23:23:04.437 5: sduinoD: extracted data 101010101010101010101010101010101100110010110101001100101100110101010101001101010011001011001101010101010010110101001011010101010101010101010100101010110101001011010011010100110100110101001101 (bin)
2016.11.30 23:23:04.437 4: sduinoD: OSV2 protocol detected: preamble_pos = 33
2016.11.30 23:23:04.437 4: sduinoD: OSV2 protocol converted to hex: (501A2D102D300680C74422) with length (88) bits
2016.11.30 23:23:04.437 5: sduinoD: converted Data to (501A2D102D300680C74422)
2016.11.30 23:23:04.437 5: sduinoD dispatch 501A2D102D300680C74422
2016.11.30 23:23:04.437 5: OREGON: decoding delay=157 hex=501A2D102D300680C74422
2016.11.30 23:23:04.438 5: OREGON: sensor_id=1a2d BitsMsg=80 Bits=80
2016.11.30 23:23:04.438 5: OREGON: checksum2 = 68 berechnet: 68
2016.11.30 23:23:04.438 4: THGR228N_2d_1 decoded Oregon: T: 6.3 H: 78 BAT: ok


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

Dansayisi

Zitat von: Ralf9 am 30 November 2016, 23:48:52
Der Empfänger TI-CC1101 dürfte eigentlich nicht am SIGNALDuino funktionieren, sieht nach einem Empfänger fur den cul aus.
Empfohlen wird ein Superheterodyne Empfänger. z.B.
http://www.ebay.de/itm/RXB6-433Mhz-Superheterodyne-Wireless-Receiver-Modul-fur-Arduino-ARM-AVR-/282083075986?hash=item41ad762792:g:LDQAAOSwXeJXc0s1


Wenn Du ein update auf die aktuelle Signalduino Version machst, dann passt es
update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/dev-r33/controls_signalduino.txt

2016.11.30 23:20:27.124 4: sduinoD/msg get raw: MC;LL=-1042;LH=918;SL=-534;SH=437;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=488;L=191;
2016.11.30 23:20:27.124 4: sduinoD: Found manchester Protocol id 10 clock 488 -> OSV2o3
2016.11.30 23:20:27.124 5: sduinoD: extracted data 101010101010101010101010101010101100110010110101001100101100110101010101001101010011001011001101010101010010110101001011010101010101010101010100101010110101001011010011010100110100110101001101 (bin)
2016.11.30 23:20:27.124 4: sduinoD: OSV2 protocol detected: preamble_pos = 33
2016.11.30 23:20:27.124 4: sduinoD: OSV2 protocol converted to hex: (501A2D102D300680C74422) with length (88) bits
2016.11.30 23:20:27.124 5: sduinoD: converted Data to (501A2D102D300680C74422)
2016.11.30 23:20:27.124 5: sduinoD dispatch 501A2D102D300680C74422
2016.11.30 23:20:27.124 5: OREGON: decoding delay=0 hex=501A2D102D300680C74422
2016.11.30 23:20:27.124 5: OREGON: sensor_id=1a2d BitsMsg=80 Bits=80
2016.11.30 23:20:27.124 5: OREGON: checksum2 = 68 berechnet: 68
2016.11.30 23:20:27.124 3: OREGON: Unknown device THGR228N_2d_1, please define it
2016.11.30 23:20:27.126 2: autocreate: define THGR228N_2d_1 OREGON THGR228N_2d_1

2016.11.30 23:23:04.437 4: sduinoD/msg get raw: MC;LL=-968;LH=1008;SL=-454;SH=518;D=55555555334ACD32AACACD32AAD2B4AAAAAB54AD2CACB2B2;C=491;L=191;
2016.11.30 23:23:04.437 4: sduinoD: Found manchester Protocol id 10 clock 491 -> OSV2o3
2016.11.30 23:23:04.437 5: sduinoD: extracted data 101010101010101010101010101010101100110010110101001100101100110101010101001101010011001011001101010101010010110101001011010101010101010101010100101010110101001011010011010100110100110101001101 (bin)
2016.11.30 23:23:04.437 4: sduinoD: OSV2 protocol detected: preamble_pos = 33
2016.11.30 23:23:04.437 4: sduinoD: OSV2 protocol converted to hex: (501A2D102D300680C74422) with length (88) bits
2016.11.30 23:23:04.437 5: sduinoD: converted Data to (501A2D102D300680C74422)
2016.11.30 23:23:04.437 5: sduinoD dispatch 501A2D102D300680C74422
2016.11.30 23:23:04.437 5: OREGON: decoding delay=157 hex=501A2D102D300680C74422
2016.11.30 23:23:04.438 5: OREGON: sensor_id=1a2d BitsMsg=80 Bits=80
2016.11.30 23:23:04.438 5: OREGON: checksum2 = 68 berechnet: 68
2016.11.30 23:23:04.438 4: THGR228N_2d_1 decoded Oregon: T: 6.3 H: 78 BAT: ok


Gruß Ralf


Hallo Ralf,

super! Vielen dank! Nach dem Update klappt es jetzt bei mir auch. 

Ich habe tatsächlich einen TI-CC1101-Empfänger (s. das Bild).

Gruß Tansel

Hier sind die neue Logeinträge:

2016.12.01 00:05:18 1: Including fhem.cfg
2016.12.01 00:05:33 1: Cannot init /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0, ignoring it (nanoCUL)
2016.12.01 00:05:33 1: sduino/define: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
2016.12.01 00:05:33 1: sduino/init: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
2016.12.01 00:05:33 1: Including ./log/fhem.save
2016.12.01 00:05:33 1: usb create starting
2016.12.01 00:05:39 1: usb create end
2016.12.01 00:05:39 1: in INITIALIZED
2016.12.01 00:05:39 0: Featurelevel: 5.7
2016.12.01 00:05:39 0: Server started with 57 defined entities (fhem.pl:12680/2016-11-28 perl:5.020002 os:linux user:fhem pid:1831)
2016.12.01 00:05:39 3: sduino/init: disable receiver (XQ)
2016.12.01 00:05:39 3: sduino/init: get version, retry = 0
2016.12.01 00:05:39 4: sduino/msg READ: V 3.3.0 SIGNALduino - compiled at Sep 18 2016 00:28:28
2016.12.01 00:05:39 2: sduino: initialized
2016.12.01 00:05:39 3: sduino/init: enable receiver (XE)
2016.12.01 00:05:40 4: sduino/msg READ: MC;LL=-962;LH=1029;SL=-495;SH=439;D=A566995559565695559559556956566A695959;C=487;L=152;
2016.12.01 00:05:40 4: sduino: Found manchester Protocol id 10 clock 487 -> OSV2o3
2016.12.01 00:05:40 4: sduino: Found manchester Protocol id 12 clock 487 -> Hideki protocol
2016.12.01 00:05:40 4: sduino/msg READ: MC;LL=-963;LH=1002;SL=-466;SH=513;D=55555555334ACD0;C=490;L=57;
2016.12.01 00:05:40 4: sduino/msg READ: MC;LL=-1028;LH=994;SL=-480;SH=443;D=655565595A5556556555A55959A9A56564;C=490;L=134;
2016.12.01 00:05:40 4: sduino: Found manchester Protocol id 10 clock 490 -> OSV2o3
2016.12.01 00:05:40 4: sduino: Found manchester Protocol id 12 clock 490 -> Hideki protocol
2016.12.01 00:05:41 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/99_myUtils.pm line 57.
2016.12.01 00:05:47 4: sduino/msg READ: MC;LL=-1005;LH=986;SL=-497;SH=438;D=8CD2B34CAAB2B34CAAB52D2AAAAD352B4D2B2B4CC;C=487;L=162;
2016.12.01 00:05:47 4: sduino: Found manchester Protocol id 10 clock 487 -> OSV2o3
2016.12.01 00:05:47 4: sduino: Found manchester Protocol id 12 clock 487 -> Hideki protocol
2016.12.01 00:05:47 4: sduino/msg READ: MC;LL=-1003;LH=1041;SL=-431;SH=490;D=55555555334ACD32AACACD32AAD4B4AAAAB4D4AD34ACAD33;C=494;L=192;
2016.12.01 00:05:47 4: sduino: Found manchester Protocol id 10 clock 494 -> OSV2o3
2016.12.01 00:05:47 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:05:47 4: sduino: OSV2 protocol converted to hex: (501A2D102D700660C746AC) with length (88) bits
2016.12.01 00:05:47 4: THGR228N_1 decoded Oregon: T: 6.7 H: 76 BAT: ok
2016.12.01 00:05:47 4: sduino: Found manchester Protocol id 12 clock 494 -> Hideki protocol
2016.12.01 00:05:47 1: nothing to do...
2016.12.01 00:06:20 4: sduino/msg READ: MC;LL=-1026;LH=1003;SL=-475;SH=439;D=A655565595A5556556555A55959A9A5656;C=490;L=136;
2016.12.01 00:06:20 4: sduino: Found manchester Protocol id 10 clock 490 -> OSV2o3
2016.12.01 00:06:20 4: sduino: Found manchester Protocol id 12 clock 490 -> Hideki protocol
2016.12.01 00:06:21 4: sduino/msg READ: MC;LL=-962;LH=965;SL=-483;SH=508;D=55555555334ACD32AAB2ACAD2AAB2AB2AAD2ACACD4D2B2B2;C=486;L=191;
2016.12.01 00:06:21 4: sduino: Found manchester Protocol id 10 clock 486 -> OSV2o3
2016.12.01 00:06:21 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:06:21 4: sduino: OSV2 protocol converted to hex: (501A2D20C4802030443722) with length (88) bits
2016.12.01 00:06:21 4: THGR228N_2 decoded Oregon: T: 20.8 H: 43 BAT: ok
2016.12.01 00:06:21 4: sduino: Found manchester Protocol id 12 clock 486 -> Hideki protocol
2016.12.01 00:06:22 4: sduino/msg READ: MU;P0=-621;P1=423;P3=246;P4=-1082;P5=886;D=3454545454545034305034305450145454105014;CP=5;
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 36 -> socket36 matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 40 -> romotec matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 49 -> quigg_gt9000 matches, trying to demodulate
2016.12.01 00:06:22 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2016.12.01 00:06:22 4: sduino/msg READ: MC;LL=-1045;LH=915;SL=-488;SH=462;D=D32AACACD0;C=484;L=37;
2016.12.01 00:06:22 4: sduino/msg READ: MC;LL=-994;LH=937;SL=-513;SH=440;D=6555A969555569A95A69595A66;C=480;L=103;
2016.12.01 00:06:22 4: sduino: Found manchester Protocol id 10 clock 480 -> OSV2o3
2016.12.01 00:06:22 4: sduino: Found manchester Protocol id 12 clock 480 -> Hideki protocol
2016.12.01 00:06:22 4: sduino/msg READ: MC;LL=-1002;LH=1001;SL=-496;SH=462;D=55555555334ACD32AACACD32AAD4B4AAAAB4D4AD34ACAD3;C=493;L=188;
2016.12.01 00:06:22 4: sduino: Found manchester Protocol id 10 clock 493 -> OSV2o3
2016.12.01 00:06:22 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:06:22 4: sduino: OSV2 protocol converted to hex: (501A2D102D700660C7462C) with length (88) bits
2016.12.01 00:06:22 4: THGR228N_1 decoded Oregon: T: 6.7 H: 76 BAT: ok
2016.12.01 00:06:22 4: sduino: Found manchester Protocol id 12 clock 493 -> Hideki protocol
2016.12.01 00:06:23 1: PERL WARNING: Use of uninitialized value in join or string at ./FHEM/98_DBPlan.pm line 1153.
2016.12.01 00:06:39 4: sduino/KeepAliveOk: 1
2016.12.01 00:06:39 4: sduino/keepalive retry = 0
2016.12.01 00:07:01 4: sduino/msg READ: MC;LL=-981;LH=957;SL=-537;SH=438;D=55555555334ACD32AACACD32AAD4B4AAAAB4D4AD34ACAD33;C=485;L=192;
2016.12.01 00:07:01 4: sduino: Found manchester Protocol id 10 clock 485 -> OSV2o3
2016.12.01 00:07:01 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:07:01 4: sduino: OSV2 protocol converted to hex: (501A2D102D700660C746AC) with length (88) bits
2016.12.01 00:07:01 4: THGR228N_1 decoded Oregon: T: 6.7 H: 76 BAT: ok
2016.12.01 00:07:01 4: sduino: Found manchester Protocol id 12 clock 485 -> Hideki protocol
2016.12.01 00:07:01 4: sduino/msg READ: MC;LL=-960;LH=1034;SL=-465;SH=481;D=55555555334ACD32AACACD32AAD4B4AAAAB4D4AD34;C=489;L=167;
2016.12.01 00:07:01 4: sduino: Found manchester Protocol id 10 clock 489 -> OSV2o3
2016.12.01 00:07:01 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:07:01 4: sduino: OSV2 protocol converted to hex: (401A2D102D700660C7) with length (72) bits
2016.12.01 00:07:01 4: OREGON: ERROR: Unknown sensor_id=1a2d bits=64 message='401A2D102D700660C7'.
2016.12.01 00:07:01 4: sduino: Found manchester Protocol id 12 clock 489 -> Hideki protocol
2016.12.01 00:07:02 4: sduino/msg READ: MC;LL=-922;LH=1007;SL=-476;SH=505;D=55555555334ACD32AAB2ACAD2AAB2AB2AAD2ACACD4D2B2B2;C=484;L=191;
2016.12.01 00:07:02 4: sduino: Found manchester Protocol id 10 clock 484 -> OSV2o3
2016.12.01 00:07:02 4: sduino: OSV2 protocol detected: preamble_pos = 33
2016.12.01 00:07:02 4: sduino: OSV2 protocol converted to hex: (501A2D20C4802030443722) with length (88) bits
2016.12.01 00:07:02 4: THGR228N_2 decoded Oregon: T: 20.8 H: 43 BAT: ok
2016.12.01 00:07:02 4: sduino: Found manchester Protocol id 12 clock 484 -> Hideki protocol

Ralf9

Zitat von: Dansayisi am 01 Dezember 2016, 00:28:27
Ich habe tatsächlich einen TI-CC1101-Empfänger (s. das Bild).

Dies verwirrt mich ein wenig. Der CC1101 wird von der Signalduino Firmware gar nicht unterstützt.
Damit dieser funktioniert müssten eigentlich größere Änderungen an der Firmware vorgenommen werden.

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

Sidey

Das interessiert mich jetzt auch, wie hast Du den cc1101 an den Arduino angebunden? Welche Pins sind wie verbunden.

Level Shifter habe ich auch keine gesehen, der cc1101 verträgt doch nur 3,3V.
Hast Du da mal einen Link zu dem Händler, der ihn verkauft hat?

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

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

Dansayisi

Hallo,

Folgende Hardware habe ich gekauft:

USB Nano V3.0 ATMEGA328P:
http://www.ebay.de/itm/Hot-Mini-USB-Nano-V3-0-ATMEGA328P-Module-Board-USB-Cable-for-Arduino-SV-/131747473705?hash=item1eacc2e929:g:hrkAAOSwwpdW4DLD

CC1101 Funk Module:
https://www.amazon.de/Stable-Funk-Module-Technische-externer-Antenne/dp/B00GBW6WJY/ref=sr_1_1?ie=UTF8&qid=1480608609&sr=8-1&keywords=Ultra+Stable+CC1101+Funk+Module+%2F+Technische+Grade+mit+externer+Antenne


Pins verbinden:

Ich habe die Pins wie unter diesem Link beschrieben, verbunden (die Pin 17 von Arduino Nano liefert 3,3V.):

https://techblog.one/funksteckdosen-mit-fhem-schalten/

Das Flashen von Arduino Nano (wie dort beschrieben wird) müsst Ihr nicht tun, das wird mit dem SIGNALDuino gemacht.


Das Modul SIGNALDuino installieren:

Dafür habe ich die Anleitung unter dem Link

http://www.fhemwiki.de/wiki/SIGNALduino

verwendet. Hier könnt Ihr den Arduino (Nano) wie beschrieben flashen.


Als letztes habe ich das Update von Ralf durchgeführt:

update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/dev-r33/controls_signalduino.txt

Danach wurden meine zwei Oregon-Sender erkannt.

Gruß Tansel

Sidey

Danke für die Beschreibung, aber da stimmt was nicht. Das kann nicht mit der SIGNALduino Firmware funktionieren.
Die reagiert nur auf Daten an Pin#2. Dort ist nichts angebunden.


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

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

Ralf9

theoretisch könnte es funktionieren. Ich habe mal hier eine Frage gestellt:
https://forum.fhem.de/index.php/topic,61774.msg531994.html#msg531994

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

stefanru

Hi,

habe nun folgende Meldung im Log:
ERROR: >OREGON: ERROR: Unknown sensor_id=1a2d bits=72. < returned by the OREGON ParseFn is invalid, notify the module maintainer

Gruß,
Stefan

Ralf9

verwendest Du das aktuelle Oregon Modul aus der dev-r33?
Wenn Du ein fhem update machst dann hast Du wieder die alte Version.

Unter global gibt es das Attribut "exclude_from_update"

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

stefanru

Hi Ralf,

das Problem ist das sich Signalduino nicht installieren lässt.
Hab es im Update als Quelle dabei und es wird nach dem FHEM update normalerweise drüber gebügelt:
siehe https://forum.fhem.de/index.php/topic,62025.0.html

Gruß,
Stefan

Ralf9

Ja, da hat sich anscheinend beim letzten Patch von Sidey ein Fehler eingeschlichen
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

Ralf9

Zitat von: Ralf9 am 01 Dezember 2016, 21:19:08
theoretisch könnte es funktionieren. Ich habe mal hier eine Frage gestellt:

Es funktiioniert auch praktisch, wenn man den CC11001 wie beim nanocul initialisiert.
https://forum.fhem.de/index.php/topic,38561.msg534333.html#msg534333

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