Bresser Wetterstation 868Mhz - wie in FHEM integrieren?

Begonnen von alen, 31 Oktober 2017, 17:59:19

Vorheriges Thema - Nächstes Thema

isy

#180
OK, dann wird "rain" also bei 999.9 auf 0 gehen.
Das macht den Einsatz des statistics Modul umso wichtiger. Kann man auch schön mit stateFormat einsetzen. Muss ich aber noch testen, wie das geht (userReadings denke ich)

Vielen Dank für den Support und die Erklärungen!
Gruß Helmut
Ein Weg wird erst zu einem Weg, wenn man ihn geht

isy

Mein attr für rain_day
userReadings rain_day {(split" ",(ReadingsVal("au_Bresser","statRain","")))[3]}

Vielleicht hilfreich für den ein oder anderen.

VG Helmut
Ein Weg wird erst zu einem Weg, wenn man ihn geht

blackdevil567

#182
Hallo zusammen

Ich bin neu hier in dem Forum und kämpfe mit dem auslesen meiner Wetterstation.

Ich bin mittlerweile so weit das ich Daten regelmäßig empfange aber bekomme immer einen Checksum-Fehler

2022.03.10 11:50:16 4: sduino/msg READ: MN;D=E42E7FE19FE9EF9EFED7F78E7F1BD1801E6016106101280871800002;N=7;R=238;
2022.03.10 11:50:16 4: sduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 11:50:16 4: sduino ParseMN: method error! Bresser 5in1_neu: crc Error crc=C928 crcRef=E42E
2022.03.10 11:50:28 4: sduino/msg READ: MN;D=E72E7FF79FEBEF9CFED7F78E7F18D180086014106301280871800003;N=7;R=232;
2022.03.10 11:50:28 4: sduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 11:50:28 4: sduino ParseMN: method error! Bresser 5in1_neu: crc Error crc=35F3 crcRef=E72E
2022.03.10 11:50:36 4: sduino/keepalive ok, retry = 0
2022.03.10 11:50:40 4: sduino/msg READ: MN;D=E72E7FF79FEBEF9CFED7F78E7F18D180086014106301280871800003;N=7;R=237;
2022.03.10 11:50:40 4: sduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 11:50:40 4: sduino ParseMN: method error! Bresser 5in1_neu: crc Error crc=35F3 crcRef=E72E
2022.03.10 11:50:52 4: sduino/msg READ: MN;D=E32E7FE10FE7EF9BFED7F78E7F1CD1801EF018106401280871800000;N=7;R=234;
2022.03.10 11:50:52 4: sduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 11:50:52 4: sduino ParseMN: method error! Bresser 5in1_neu: crc Error crc=E9F7 crcRef=E32E
2022.03.10 11:51:04 4: sduino/msg READ: MN;D=E82E7FEBFFE9EF9BFED7F78E7F17D180140016106421280871800000;N=7;R=235;
2022.03.10 11:51:04 4: sduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 11:51:04 4: sduino ParseMN: method error! Bresser 5in1_neu: crc Error crc=8F31 crcRef=E82E

Meine Config vom signalduino

cc1101_config   freq:868.400MHz bWidth:203KHz rAmpl:40dB sens:8dB (DataRate:8232.12Baud)
cc1101_config_ext  Modulation:2-FSK (SYNC_MODE:16/16 sync) DEVIATN:57.129kHz
cc1101_patable  C3E = 00 84 00 00 00 00 00 00 => 5_dBm
config  MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=0;MdebFifoLimit=120/140
ping  OK
rfmode  Bresser_5in1_u_7in1__B28_N7_8220 => ok,N=7,ccmode=4
state  opened

Ralf9

Hallo blackdevil567,

Du bekommst die Checksum-Fehler, da die Protocol ID 115 dafür die falsche ist.
Mit der Protocol id 108 passt es
2022.03.10 20:21:17.356 4 : sduinoD/msg get raw: MN;D=E42E7FE19FE9EF9EFED7F78E7F1BD1801E6016106101280871800002;N=7;R=238;
2022.03.10 20:21:17.356 4 : sduinoD Parse_MN: Found 2-FSK Protocol id 108 length 56 -> Bresser 5in1
2022.03.10 20:21:17.356 4 : sduinoD Dispatch: W108#D1801E601610610128087180, -83 dB, dispatch
2022.03.10 20:21:17.357 4 : sduinoD: SD_WS_Parse decoded protocol-id 108 (Bresser_5in1, Fody_E43), sensor-id D1
2022-03-10 20:21:17.360 SD_WS SD_WS_108 T: 16.1 H: 28 Ws: 1.6 Wg: 3 Wd: SE R: 710.8
2022-03-10 20:21:17.360 SD_WS SD_WS_108 temperature: 16.1
2022-03-10 20:21:17.360 SD_WS SD_WS_108 humidity: 28
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windSpeed: 1.6
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windSpeed_kmh: 5.8
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windDirectionDegree: 135
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windDirectionText: SE
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windGust: 3
2022-03-10 20:21:17.360 SD_WS SD_WS_108 windGust_kmh: 10.8
2022-03-10 20:21:17.360 SD_WS SD_WS_108 batteryState: low
2022-03-10 20:21:17.360 SD_WS SD_WS_108 rain: 710.8
2022-03-10 20:21:17.360 SD_WS SD_WS_108 rain_total: 710.8
2022-03-10 20:21:17.360 SD_WS SD_WS_108 id: D1

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

ckbln

Hallo Ralf9
ich habe das gleiche Problem wie blackdevil567.
Was muß ich wo einstellen damit die Protokoll ID 108 genutzt wird?
Viele Grüsse
Christof

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

ckbln


Ralf9

Bei Dir passt die Protokoll ID 115
2022.03.10 22:13:19.311 4 : sduinoD/msg get raw: MN;D=DA7E445A911118FDE7FE2348013648FFF0ECAA000000000000000000;N=7;R=249;
2022.03.10 22:13:19.312 4 : sduinoD Parse_MN: Found 2-FSK Protocol id 108 length 56 -> Bresser 5in1
2022.03.10 22:13:19.312 4 : sduinoD ParseMN: method error! Bresser 5in1: Checksum Error pos=0
2022.03.10 22:13:19.312 4 : sduinoD Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 22:13:19.312 5 : sduinoD Bresser_5in1_neu: dmsg=DA7E445A911118FDE7FE2348013648FFF0ECAA000000000000000000 crc=DA7E ok, sum ok
2022.03.10 22:13:19.312 4 : sduinoD Dispatch: W115#445A911118FDE7FE2348013648FFF0, -77.5 dB, dispatch
2022.03.10 22:13:19.312 4 : sduinoD: SD_WS_Parse decoded protocol-id 115 (Bresser_6in1, new Bresser_5in1), sensor-id 445A9111
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 T: 1.3 H: 48 Ws: 1.8 Wg: 2.1 Wd: SW
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 temperature: 1.3
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 humidity: 48
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windSpeed: 1.8
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windSpeed_kmh: 6.5
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windDirectionDegree: 234
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windDirectionText: SW
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windGust: 2.1
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 windGust_kmh: 7.6
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 batteryState: ok
2022-03-10 22:13:19.315 SD_WS SD_WS_115_0 id: 445A9111


Verwendest Du auch mein 14_SD_WS Modul?
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

ckbln

Das steht in der Datei im Kopf
Ich nehme an das das deine Datei ist.
Meine Wetterstation ist aber eine Bresser 5 in 1.
Von Aldi in diesem Jahr.


# $Id: 14_SD_WS.pm 21666 2022-01-23 23:00:00Z Ralf9 $
#
# The purpose of this module is to support serval
# weather sensors which use various protocol
#
# Sidey79 & Ralf9   2016 - 2017
# Joerg             2017
# elektron-bbs      2018 -

ckbln

Was sind denn das für Error´s ?


2022.03.10 21:02:09 4: MeinSIGNALduino: SD_WS_Parse decoded protocol-id 115 (Bresser_6in1, new Bresser_5in1), sensor-id 52454392
2022.03.10 21:02:09 4: MeinSIGNALduino Parse_MN: Found 2-FSK Protocol id 207 length 56 -> Bresser Profi 7in1
2022.03.10 21:02:09 4: MeinSIGNALduino ParseMN: method error! Bresser 7in1 crc Error: crcXORref=FA07 not equal to 0x6DF1
2022.03.10 21:02:11 4: MeinSIGNALduino/msg READ: MN;D=7983445A911118FF66FF3308021650FFF0B1AA000000000000000000;N=7;R=254;
2022.03.10 21:02:11 4: MeinSIGNALduino Parse_MN: Found 2-FSK Protocol id 108 length 56 -> Bresser 5in1
2022.03.10 21:02:11 4: MeinSIGNALduino ParseMN: method error! Bresser 5in1: Checksum Error pos=0
2022.03.10 21:02:11 4: MeinSIGNALduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 21:02:11 4: MeinSIGNALduino ParseMN: ID=115 dmsg=W115#445A911118FF66FF3308021650FFF0
2022.03.10 21:02:11 4: MeinSIGNALduino Dispatch: W115#445A911118FF66FF3308021650FFF0, -75 dB, dispatch
2022.03.10 21:02:11 4: MeinSIGNALduino: SD_WS_Parse protocol 115, rawData 445A911118FF66FF3308021650FFF0
2022.03.10 21:02:11 4: MeinSIGNALduino: SD_WS_Parse decoded protocol-id 115 (Bresser_6in1, new Bresser_5in1), sensor-id 445A9111
2022.03.10 21:02:11 4: MeinSIGNALduino Parse_MN: Found 2-FSK Protocol id 207 length 56 -> Bresser Profi 7in1
2022.03.10 21:02:11 4: MeinSIGNALduino ParseMN: method error! Bresser 7in1 crc Error: crcXORref=2620 not equal to 0x6DF1

Ralf9

Die errors sind normal da Du keine whitelist verwendest und deshalb alle Protocol IDs aktiv sind.
Da Du eine Bresser_5in1 neu hast, passt die Prüfsumme nur bei der ID 115

2022.03.10 21:02:11 4: MeinSIGNALduino Parse_MN: Found 2-FSK Protocol id 115 length 56 -> Bresser comfort 6in1 (5in1 neu)
2022.03.10 21:02:11 4: MeinSIGNALduino ParseMN: ID=115 dmsg=W115#445A911118FF66FF3308021650FFF0
2022.03.10 21:02:11 4: MeinSIGNALduino Dispatch: W115#445A911118FF66FF3308021650FFF0, -75 dB, dispatch
2022.03.10 21:02:11 4: MeinSIGNALduino: SD_WS_Parse protocol 115, rawData 445A911118FF66FF3308021650FFF0
2022.03.10 21:02:11 4: MeinSIGNALduino: SD_WS_Parse decoded protocol-id 115 (Bresser_6in1, new Bresser_5in1), sensor-id 445A9111

Damit die Bresser_5in1neu  per Autocreate angelegt wird, muss Autocreate aktiv sein und es müssen innerhalb von 120 Sek 5 mal ein "Dispatch: W115#445A9111..." erfolgen
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

ckbln

Na dann scheint ja erst einmal alles ok zu sein.
Ein Device wurde auch angelegt.

Nur wurden gestern, als ich das dann endgültig hinbekommen habe,  für 2 Std Daten empfangen.
Ich habe dann heute FHEM neu gestartet. Dann kamen die Daten wieder.
Das muß ich noch weiter beobachten.

Danke für deine Hilfe


blackdevil567

Danke Ralf9

Das scheint mein Problem gelöst zu haben.


Hasi68

#193
Hallo bin blutiger Anfänger in FHEM und habe auch die Probleme Bresser Windmesserdaten zu bekommen.

update all https://raw.githubusercontent.com/Ralf9/14_SD_WS/main/controls_ralf9_sd_ws.txt

habe ich auf dem System gemacht.

Welche Firmware (am besten mit Befehl und Pfad) soll ich aktuell auf den Signalduino flashen (CC1101)? Auf Github liegt so viel.....Im Moment ist wohl noch eine aktuelle nicht Bresser taugliche Version drauf.....(Auslieferzustand). Geräte (868mhz) die nicht Bresser sind bekomme ich gelesen......


Ralf9

Was für eine sduino Hardware hast Du? Einen nanocul?
Und welche firmware (get sduino version) ist gerade drauf?


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