Wetterstation WH3080 dekodieren für Signalduino 433Mhz

Begonnen von killah78, 21 Februar 2017, 15:19:02

Vorheriges Thema - Nächstes Thema

killah78

Nochmal ein Zwischenstand.
Wetterstation läuft recht gut. Ich denke, die Werte werden ganz gut Empfangen und sollten so stimmen.
Ich habe aber das Phänomen, dass machmal eine CTW600 und meistens die WH1080 erkannt wird. Denke das hat mit dem ausgeschalteten CRC zu tun.

Hier komme ich auch nicht weiter. In dem anderen Forum wird ein CRC8 left shifting genannt. Ich habe keine Ahnung was das sein soll oder wie man das errechnet. Habe auch mal in das Modul geschaut, aber druchblicke das nicht. Wie muss ich dabei vorgehen? Einzelne Bytes addieren und dann bitwise-and 15? So komme ich aber nicht auf einen CRC Wert, den ich empfange. Kann mir da jemand Licht ins Dunkle bringen, ob CRC8 left shifting für mich korrekt ist und wie ich das errechne?

Und zum Thema Solarnachricht müssen wir auf Sidey warten, wie das in Signalduino implementierbar ist.

Gruss
killah78

pejonp

#31
@killah78

in der 14_SD_WS09.pm  ab Zeile 142 steht die CRC Berechnung und auch hier (https://forum.fhem.de/index.php/topic,39451.msg382879.html#msg382879).

Versuche es auch mal auf dieser Seite: https://ghsi.de/CRC/index.php?Polynom=100110001&Message=AEB2592D050600001533

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

pejonp

@killah78

du kannst eigentlich die CRC-Prüfung wieder einschalten, die Daten der Wh3080 und WH1080 sind identisch. Wenn es zu Fehlen kommt sind das def. Nachrichten oder von anderen Wetterstationen.

Schau mal bei Dir im Log ob dort viele Nachrichten die mit P9#FF7 anfangen, ankommen. Das sind die Solardaten.

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

killah78

#33
Hallo pejonp,

werde mir das mit dem CRC nochmal ansehen. Bin kein Programmierer, daher durchblicke ich das nur langsam.

Zu den Solarnachrichten: Diese kommen nicht als Protokoll 9 an. Hier mal eine Nachricht, wie sie ankommt:


2017.03.20 13:12:21 4: sduino/msg READ: MU;P0=-1053;P1=454;P2=1434;P3=-25418;D=01020231010101010101010201010101010202010202020202010202010201020102010202020202020102010202010202020101020102020201010102020201010202310101010101010102010101010102020102020202020102020102010201020102020202020201020102020102020201010201020202010101020202;CP=1;R=17;O;
2017.03.20 13:12:21 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: Starting demodulation at Position 2
2017.03.20 13:12:21 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: Starting demodulation at Position 2
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: Starting demodulation at Position 1
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: Starting demodulation at Position 1
2017.03.20 13:12:21 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.20 13:12:21 5: sduino: Starting demodulation at Position 1


Dies entspricht dann: FF7C82550291A38C. Im Signalduino wird sie aber verworfen. Ich denke mal, der erste Schritt muss nun sein, diese Nachricht in Signalduino zu bringen. Als Protokoll 9? Und dann entsprechend im Modul einbauen.

Gruss
killah78



Edit: Ich habe mir jetzt mal mit dem Onlinerechner die CRCs errechnet. Man muss also das vorangestellte "FF" nicht mit berücksichtigen. Jetzt habe ich folgende Zeile:
SD_WS09_Parse CRC_Error:  msg=P9#FFA5421243010300510E30 CRC=00
Was bedeutet das? Wenn ich den CRC berechne, sagt mir der Onlinerechner, dass 30 korrekt ist. Die Meldung sagt aber CRC falsch und gibt den Wert nicht weiter.
Bei eingeschaltetem CRC beim Sduino kommt übrigens kein einiger Wert mehr rein. ICh glaube nicht, dass hier ein Nachrichten fehler vorliegt. Fehlt mir irgend ein Perlmodul, welches CRC errechnet?

Gruss
killah78

pejonp

@killah78,

Etwas Geduld. Es muss noch eine Prüfung ins Modul eingebaut werden dami die P9#FF7 Nachrichten erkannt und ausgewertet werden.

Eine Frage habe ich aber noch wie rechnest du den Südinsel/read String in hex um.
Welche zähem steht für eine 1 oder 0

Pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

killah78

#35
@pejonp

Aber die P9#FF7 werden ja noch nicht durch den Signalduino erkannt. Oder meinst du das Modul für den Signalduino?

Den String rechne ich manuell um:
P0=-1053;P1=454;P2=1434;P3=-25418

Pulslänge -1053 ist hier der Trenner zwischen 0 und 1
Pulslänge 454 ist die 1
Pulslänge 1434 ist die 0
Und Pulslänge -25418 nehme ich nochmal als Trenner, damit erkenne ich eine Signalanfang oder -ende.

PS: Hast du bezüglich des CRC eine Idee? Es wird ja auch immer CRC=00 angezeigt. Als ob er da garnichts errechnet.

Gruss
killah78

pejonp

@killah78

ich meine diese Umrechnung:

2017.03.17 16:01:26 4: sduino/msg READ: MU;P0=448;P1=-1060;P2=1410;P3=-25354;P4=264;P5=132;D=01212121212101210121012101210121212121212121210101010121212101010121012101012121212101010121230101010101010101210101010101212101212121212121012101210121012101212121212121212101010101212121010101210121010121212121010101212301415141010101012101010101012121;CP=0;R=28;O;

Das entspricht:
1111111101111100100000010101010100000000111100011101011000011100
‭FF 7C 81 55 00 F1 D6 1C‬


CRC:

SD_WS09_Parse CRC_Error:  msg=P9#FFA5421243010300510E30 CRC=00 ist doch ok.

Es muß ja 0 rauskommen, denn die CRC-Checksumme wird dazu genommen.

jag mal nur A5421243010300510E durch den CRC-Checker. Da muß 30 rauskommen. https://ghsi.de/CRC/index.php?Polynom=100110001&Message=A5421243010300510E

pejonp

LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

killah78

Hi Pejonp,

ja die Umrechnung meine ich auch. In dem von dir genannten  Beispiel ist die P0=1, die P1 ist die Pause, die P2 ist eine 1 und die P3, P4 und P5 habe ich einfach als Trenner für Nachrichtenende/anfang genommen.
Praktisch mache ich das so:

Ersetze 1 mit blank, die Pause will ich ja nciht sehen.
Ersetze 0 mit 1
Ersetze 2 mit 0.
Ersetzte 3,4 und 5 mit "X". So sehe ich entsprechende (Binär-)Strings zwischen den "X".


CRC:
Hmmh. Wenn diese Meldung kein Fehler ist, warum wird der Wert dann nicht ans Modul weitergereicht?
Hier nochmal ein kompletter Ausschnitt der Meldung:


2017.03.20 17:59:18 4: sduino/msg READ: MU;P0=-14904;P1=488;P2=-1038;P3=1470;D=01212121212121212123212323212321232123232323212323232323212321212321232323212121232323232321232323232323232121212323232323232323232123212323232123232323212321232121212323232123;CP=1;R=5;
2017.03.20 17:59:18 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: Starting demodulation at Position 2
2017.03.20 17:59:18 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: Starting demodulation at Position 4
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: Starting demodulation at Position 1
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: Starting demodulation at Position 1
2017.03.20 17:59:18 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.20 17:59:18 5: sduino: Starting demodulation at Position 1
2017.03.20 17:59:18 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 1 0 1 0 1 1 1 0 0 0 1 0
2017.03.20 17:59:18 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FFA5420B47040700510AE2 length 88 RSSI = -71.5
2017.03.20 17:59:18 5: sduino: converted Data to (P9#FFA5420B47040700510AE2)
2017.03.20 17:59:18 5: sduino: dispatch P9#FFA5420B47040700510AE2
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse CRC_AUS:0 Model=undef
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse0 Bin=1111111110100101010000100000101101000111000001000000011100000000010100010000101011100010 syncp=2 length:88
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse CRC_Error:  msg=P9#FFA5420B47040700510AE2 CRC=00
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse CRC_AUS:0 Model=undef
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse0 Bin=1111111110100101010000100000101101000111000001000000011100000000010100010000101011100010 syncp=2 length:88
2017.03.20 17:59:18 3: sduino: SD_WS09_Parse CRC_Error:  msg=P9#FFA5420B47040700510AE2 CRC=00
2017.03.20 17:59:18 3: sduino: Unknown code P9#FFA5420B47040700510AE2, help me!


Und da steht dann "Unknown code". Wenn ich die CRC Prüfung ausstelle wird das durchgereicht. Irgendwas läuft doch da schief.

Gruss
killah78

pejonp

Hallo killah78,

Ich bin da noch dran. Ich werde den Sketch noch etwas umbauen, damit die nachrichten besser erkannt werden.
In der Zwischenzeit könntest du ja mal im signalduino.pm Sketch bei protokoll 9 die Zeiten etwas anpassen. In welche Richtung??
Ich habe sidey schon mal angeschrieben.
Pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

Ralf9

Zitat2017.03.17 16:01:26 4: sduino/msg READ: MU;P0=448;P1=-1060;P2=1410;P3=-25354;P4=264;P5=132;D=01212121212101210121012101210121212121212121210101010121212101010121012101012121212101010121230101010101010101210101010101212101212121212121012101210121012101212121212121212101010101212121010101210121010121212121010101212301415141010101012101010101012121;CP=0;R=28;O;

Wenn man in der 00_SIGNALduino.pm beim Protokoll 9 die length_min  auf 60 verringert, müsste es passen.

"9"    => ## Funk Wetterstation CTW600
{
            name => 'CTW 600',
comment => 'Funk Wetterstation CTW600',
....
length_min      => '60',



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

killah78

Hallo Ralf9,
ja das passt. Die Länge sollte 64 sein. Habe 60 eingetragen und empfange den Wert FF7... jetzt als Protokoll 9. Super.

Gruss
killah78

pejonp

@killah78,

tausche bitte einmal die angehangene Datei 14_SD_WS09.pm aus. FHEM neu starten und ggf. Zugriffsrechte anpassen
Linux: chgrp dialout * und ggf. chown fhem *. Bitte den User und die Gruppe entsprechend anpassen.
Verbose=5.

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

killah78

#42
Hallo pejonp,
vielen Dank für deine Anpassung. Ich bekomme bei der FF7 Meldung jetzt auch diese CRC-Error Meldungen in Verbindung mit Unknown Code. CRC am Signalduino ist aber aus. Die normalen FFA Meldungen bekommen jetzt auch diese CRC-Error Meldung. Also CRC wird trotz CRCAUS=1 geprüft und wird dann nicht weiterverarbeitet, sprich es kommen keine Werte mehr als WH1080 an.

Hier ein Log der FF7 Meldung:

2017.03.21 07:48:20 4: sduino/msg READ: MU;P0=-1066;P1=1427;P2=-25448;P3=456;D=0123030303030303030103030303030101030101010101010301030103010301030101010101010101030103010101030103030303030301030301030303010301;CP=3;R=13;
2017.03.21 07:48:20 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: Starting demodulation at Position 4
2017.03.21 07:48:20 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: Starting demodulation at Position 6
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: Starting demodulation at Position 3
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: Starting demodulation at Position 3
2017.03.21 07:48:20 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.21 07:48:20 5: sduino: Starting demodulation at Position 3
2017.03.21 07:48:20 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0
2017.03.21 07:48:20 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FF7C815500A2FDBA length 64 RSSI = -67.5
2017.03.21 07:48:20 5: sduino: converted Data to (P9#FF7C815500A2FDBA)
2017.03.21 07:48:20 5: sduino: dispatch P9#FF7C815500A2FDBA
2017.03.21 07:48:20 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 07:48:20 3: sduino: SD_WS09_ParseWH10 P:FF7  msg=FF7C815500A2FDBA 1 Model=undef
2017.03.21 07:48:20 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FF7C815500A2FDBA CRC=00
2017.03.21 07:48:20 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 07:48:20 3: sduino: SD_WS09_ParseWH10 P:FF7  msg=FF7C815500A2FDBA 1 Model=undef
2017.03.21 07:48:20 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FF7C815500A2FDBA CRC=00
2017.03.21 07:48:20 3: sduino: Unknown code P9#FF7C815500A2FDBA, help me!


Hier ein Log der normalen Meldung:
2017.03.21 07:58:31 4: sduino/msg READ: MU;P0=-32001;P1=499;P2=-1025;P4=1472;D=01212121212121212124212424212421242124242424242121212124212121212421242124212424242424242424212124242424242124212424242424242424242124212421242424242424212121242124242124242424;CP=1;R=10;
2017.03.21 07:58:31 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: Starting demodulation at Position 2
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 36 -> socket36 matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: start pattern for MU Protocol id 36 -> socket36 mismatches, aborting
2017.03.21 07:58:31 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: start pattern for MU Protocol id 48 -> TFA Dostmann mismatches, aborting
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 5 -> unitec6899 matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 07:58:31 5: sduino: dispatching bits: 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 1 0 1 1 1 0
2017.03.21 07:58:31 4: sduino: decoded matched MU Protocol id 5 dmsg p5#005ABE10ABFCFAFFABF16E length 88 RSSI = -69
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 07:58:31 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.21 07:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 07:58:31 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 1 1 0 1 1 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 1 1 1 0 1 0 0 1 0 0 0 0
2017.03.21 07:58:31 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FFA541EF54030500540E90 length 88 RSSI = -108.5
2017.03.21 07:58:31 5: sduino: converted Data to (P9#FFA541EF54030500540E90)
2017.03.21 07:58:31 5: sduino: dispatch P9#FFA541EF54030500540E90
2017.03.21 07:58:31 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 07:58:31 3: sduino: SD_WS09_ParseWH10 P:FFA  msg=FFA541EF54030500540E90 1 Model=undef
2017.03.21 07:58:31 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FFA541EF54030500540E90 CRC=00
2017.03.21 07:58:31 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 07:58:31 3: sduino: SD_WS09_ParseWH10 P:FFA  msg=FFA541EF54030500540E90 1 Model=undef
2017.03.21 07:58:31 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FFA541EF54030500540E90 CRC=00
2017.03.21 07:58:31 3: sduino: Unknown code P9#FFA541EF54030500540E90, help me!


Manche Meldungen sind da doppelt drin. Ist das so korrekt?

Gruss
killah78


Edit: So, ich habe mal reingesehen. Die Abfrage auf $crcwh1080 fehlt. Es wird also immer der CRC berechnet. Dann habe ich gesehen, dass auf einen erfolgreichen CRC mit $rr2 eq "0" abgefragt wird. Bei mir war das Ergebnis immer "00". Habe daher mal auf $rr2 eq "00" geändert und diesmal wird erfolgreich der CRC berechnet und Werte kommen an.

Für die Werte Lux und UV benötigen wir aber @stefanru. Ich habe leider kein Display um die Werte abzulesen. Bei mir kommt derzeit an:

LuxH 5  2017-03-21 11:53:19
LuxL 0  2017-03-21 11:53:19
LuxM 5  2017-03-21 11:53:19
UV 2  2017-03-21 11:53:19

Wobei das Lux ja ein(1) Wert ist. UV = 2 mag ja sogar stimmen. Aber nur geraten.
Auf jedenfall kommen wir einen riesigen Schritt weiter.
Ich möchte euch schonmal danken, dass ihr da so schnell helft und ünterstützt @pejonp und @Ralf9.

Gruss
killah78

Hiernochmal zwei Ausschnitte mit meinen kleinen Modifikationen:
FFA:
2017.03.21 11:58:31 4: sduino/msg READ: MU;P0=-24944;P1=489;P2=-1034;P3=1470;D=01212121212121212123212323212321232123232323232121212121232323232321232123232123232323232321232123232323212323212323232323232323232123212123232123232323212123232321232323212123;CP=1;R=17;
2017.03.21 11:58:31 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.21 11:58:31 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.21 11:58:31 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.21 11:58:31 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.21 11:58:31 5: sduino: Starting demodulation at Position 2
2017.03.21 11:58:31 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.21 11:58:31 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.21 11:58:31 5: sduino: start pattern for MU Protocol id 48 -> TFA Dostmann mismatches, aborting
2017.03.21 11:58:31 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.21 11:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 11:58:31 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.21 11:58:31 5: sduino: Starting demodulation at Position 1
2017.03.21 11:58:32 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.21 11:58:32 5: sduino: Starting demodulation at Position 1
2017.03.21 11:58:32 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 1 1 0
2017.03.21 11:58:32 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FFA541F052050900590C46 length 88 RSSI = -65.5
2017.03.21 11:58:32 5: sduino: converted Data to (P9#FFA541F052050900590C46)
2017.03.21 11:58:32 5: sduino: dispatch P9#FFA541F052050900590C46
2017.03.21 11:58:32 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseWH10 P:FFA  msg=FFA541F052050900590C46 1 Model=undef
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseCRC: #FFA541F052050900590C46 -CRC_OK: CRC=00 Model=WH1080 attr=undef
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseCRC: bit:1111111110100101010000011111000001010010000001010000100100000000010110010000110001000110
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseCRC: msg:P9#FFA541F052050900590C46 length:88
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseA: WH1080 ID:84 Windspeed bit: 00000101 Dec: 1.7
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseA: WH1080 ID:84 Windguest bit: 00001001 Dec: 3.1
2017.03.21 11:58:32 3: sduino: SD_WS09_ParseA: WH1080 ID:84 Rain bit: 01011001 Dec: 26.7
2017.03.21 11:58:32 4: SD_WS09_Parse: WH1080 (FFA541F052050900590C46)


FF7:
2017.03.21 11:58:20 4: sduino/msg READ: MU;P0=-1057;P1=1438;P2=-25452;P3=467;D=0123030303030303030103030303030101030101010101030301030103010301030101010101010301030103030301030301030303030101030301030301010301;CP=3;R=16;
2017.03.21 11:58:20 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: Starting demodulation at Position 4
2017.03.21 11:58:20 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: Starting demodulation at Position 6
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: Starting demodulation at Position 3
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: Starting demodulation at Position 3
2017.03.21 11:58:20 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.21 11:58:20 5: sduino: Starting demodulation at Position 3
2017.03.21 11:58:20 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 1 0 0 0 0 0 1 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 0 1 0 1 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 0 1 0
2017.03.21 11:58:20 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FF7C835502BB79B2 length 64 RSSI = -66
2017.03.21 11:58:20 5: sduino: converted Data to (P9#FF7C835502BB79B2)
2017.03.21 11:58:20 5: sduino: dispatch P9#FF7C835502BB79B2
2017.03.21 11:58:20 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 11:58:20 3: sduino: SD_WS09_ParseWH10 P:FF7  msg=FF7C835502BB79B2 1 Model=undef
2017.03.21 11:58:20 3: sduino: SD_WS09_ParseCRC: #FF7C835502BB79B2 -CRC_OK: CRC=00 Model=WH1080 attr=undef
2017.03.21 11:58:20 3: sduino: SD_WS09_ParseCRC: bit:1111111101111100100000110101010100000010101110110111100110110010
2017.03.21 11:58:20 3: sduino: SD_WS09_ParseCRC: msg:P9#FF7C835502BB79B2 length:64
2017.03.21 11:58:20 3: sduino: SD_WS09_Parse UV-Solar1:  ID:200 UV:3 Lux:5:5:0
2017.03.21 11:58:20 4: SD_WS09_Parse: WH1080 (FF7C835502BB79B2)

pejonp

@killah78
Stoppe bitte einmal dein FHEM und kopiere die abgehangene Datei noch einmal ins fhem.
Ich habe bei mir nachgesehen dort kommt nur ein Null.

Pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

killah78

@pejonp

Ok, habe deine Datei nochmal eingespielt. Jetzt kommt kein Wert mehr an. Im Log sieht man auch das CRC=00 ist, daher kam ich auf die Idee mit den zwei Nullen.

Hier ein Auszug:
2017.03.21 13:16:56 4: sduino/msg READ: MU;P0=-32001;P1=487;P2=-1039;P3=1469;D=01212121212121212123212323212321232123232323232121212123212323232321232123212321232323232323232323232323232323212323232323232323232123212123212123232323232323232121212123212123;CP=1;R=14;
2017.03.21 13:16:56 5: sduino: applying filterfunc SIGNALduino_filterSign
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: start pattern for MU Protocol id 28 -> IC Ledspot mismatches, aborting
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: Starting demodulation at Position 2
2017.03.21 13:16:56 5: sduino: applying filterfunc SIGNALduino_compPattern
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 48 -> TFA Dostmann matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: Starting demodulation at Position 4
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 50 -> optus_XT300 matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: Starting demodulation at Position 1
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: Starting demodulation at Position 1
2017.03.21 13:16:56 4: sduino: Fingerprint for MU Protocol id 9 -> CTW 600 matches, trying to demodulate
2017.03.21 13:16:56 5: sduino: Starting demodulation at Position 1
2017.03.21 13:16:56 5: sduino: dispatching bits: 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 0
2017.03.21 13:16:56 4: sduino: decoded matched MU Protocol id 9 dmsg P9#FFA541E8550001005B00F6 length 88 RSSI = -67
2017.03.21 13:16:56 5: sduino: converted Data to (P9#FFA541E8550001005B00F6)
2017.03.21 13:16:56 5: sduino: dispatch P9#FFA541E8550001005B00F6
2017.03.21 13:16:56 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 13:16:56 3: sduino: SD_WS09_ParseWH10 P:FFA  msg=FFA541E8550001005B00F6 1 Model=undef
2017.03.21 13:16:56 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FFA541E8550001005B00F6 CRC=00
2017.03.21 13:16:56 3: sduino: SD_WS09_Parse CRC_AUS:1 Model=undef
2017.03.21 13:16:56 3: sduino: SD_WS09_ParseWH10 P:FFA  msg=FFA541E8550001005B00F6 1 Model=undef
2017.03.21 13:16:56 3: sduino: SD_WS09_Parse CRC_Error Exit:  msg=P9#FFA541E8550001005B00F6 CRC=00
2017.03.21 13:16:56 3: sduino: Unknown code P9#FFA541E8550001005B00F6, help me!