Hauptmenü

Neueste Beiträge

#11
Automatisierung / Aw: Leeres Reading in einem no...
Letzter Beitrag von DeeSPe - 19 Februar 2026, 22:02:11
Hab Deinen Code jetzt nicht vollständig analysiert, aber so sollte deine Aufgabe gelöst werden können:
defmod JK_BMS.notify notify JK_BMS:(errors|power_tube_temperature|temperature_sensor_1|temperature_sensor_2):.* {
my @evt = split(' ',$EVENT);
my $read = chop $evt[0];
my $val = $evt[1];
if ($read eq 'errors' && $val) {
# tue wenn Reading gleich errors und value vorhanden
} elsif ($read eq 'errors' && !$val) {
# tue wenn Reading gleich errors und value nicht vorhanden
}
}

Gruß
Dan
#12
Automatisierung / Aw: Leeres Reading in einem no...
Letzter Beitrag von frober - 19 Februar 2026, 21:59:57
if !$EVENT
Sofern $EVENT wirklich leer ist.
#13
Sonstige Systeme / Aw: Bresser Wetterstation 868M...
Letzter Beitrag von Ralf9 - 19 Februar 2026, 21:58:20
Welchen Wert für Deviatn soll ich für den rfmode nehmen?
#14
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von peterboeckmann - 19 Februar 2026, 21:53:27
Hallo 300P,

Zitat von: 300P am 19 Februar 2026, 21:37:14meine langen Alu-Auszieh-Besen

Dafür gibt es auch einen Schneeschiebe-Aufsatz. Damit arbeitet es sich wesentlich leichter. 🙂

Viele Grüße,
Peter
#15
Sonstige Systeme / Aw: Bresser Wetterstation 868M...
Letzter Beitrag von Ralf9 - 19 Februar 2026, 21:48:04
Ich hab in die 14_SD_WS.pm in der Anlage die Sachen eingebaut, wo ich Werte > 0 hatte.
Bitte mal schauen ob das so passt.

Für den Rest benötige ich vom rtl433 noch Daten mit Werten > 0.
2026.02.19 21:41:02.753 4: sduinoD/msg get raw: MN;D=54AA00070631021b5901010002430107010106e79ce8;N=17;R=253;
2026.02.19 21:41:02.754 4: sduinoD Parse_MN: Found 2-FSK Protocol id 217 length 44 RSSI = -75.5 -> vevor_7in1
2026.02.19 21:41:02.754 4: sduinoD ParseMN: ID=217 dmsg=W217#AA00070631021B5901010002430107010106E79CE8
2026.02.19 21:41:02.754 4: sduinoD Dispatch: W217#AA00070631021B5901010002430107010106E79CE8, -75.5 dB, dispatch
2026.02.19 21:41:02.754 4: sduinoD: SD_WS_Parse protocol 217, rawData AA00070631021B5901010002430107010106E79CE8
2026.02.19 21:41:02.754 4: sduinoD: SD_WS_Parse decoded protocol-id 217 (Vevor7in1), sensor-id 0706
2026.02.19 21:41:02.754 4: sduinoD: using longid for 0 device SD_WS_217_0706_0
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 T: 3.9 H: 89 Bv: 31 Wd: NW Lux: 5 R: 1.4
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 temperature: 3.9
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 humidity: 89
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 windDirectionDegree: 322
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 windDirectionText: NW
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 batteryState: ok
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 batteryVoltage: 31
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 rain_total: 1.4
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 lux: 5
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 id: 0706
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 RSSI: -75.5
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 DMSG: W217#AA00070631021B5901010002430107010106E79CE8
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 RAWMSG: MN;D=54AA00070631021B5901010002430107010106E79CE8;N=17;R=253;
2026-02-19 21:41:02.759 SD_WS SD_WS_217_0706_0 Protocol_ID: 217

Das Battery Flag ist im Reading batteryVoltage, bitte mal schauen ob sich der Wert ab und zu ändert.
BF: {8} Battery Flag 0x9d = battery low, 0x1d = normal battery, may be pairing button to be confirmed ?
#16
Sonstiges / Aw: Neues Modul - 88_Strava | ...
Letzter Beitrag von BergMuel - 19 Februar 2026, 21:46:55
Hallo Marco,

Vielen Dank für das Strava Modul! Habe es vor ein paar Tagen eingerichtet. Grundsätzlich funktioniert alles, ausser der Befehl "get MyStrava activity" gibt nur den state "Error: activity, no data retrieval" zurück.
Gemäss Strava API Nutzungs Statistik bin ich mit der 1h Aktualisierung noch weit weg von irgendwelchen Begrenzungen.
Kennst Du dieses Verhalten? Hast Du eine Idee woran das liegen könnte? Mein System halte ich stets auf dem neusten Stand. Das Strava Modul zeigt "88_Strava.pm:v1.2.0-s0/2022-03-14"
Einziger Hinweis: In der Strava API Beschreibung sehe ich, dass nicht nur wie in Zeile 274 'activities' stehen soll, sondern 'athlete/activities'.
Könntest Du das bitte verifizieren.
Danke und Gruss
Daniel
#17
Sonstige Systeme / Aw: Bresser Wetterstation 868M...
Letzter Beitrag von laserrichi - 19 Februar 2026, 21:43:55
Also Deviatn machte keinen Unterschied ab 70 kommen weniger ereignisse und 80 nichts mehr

Die Anzeige auf dem Display bei Wind ist anders als mir rtl_433 anzeigt, hier gibt es abweichungen bei wind als auch bei den Böen

Beispiel:
Display RTL433
7,2km/h 6,0km/h
3,9     3,3
1,5     1,3
0,7     0,7
2,3     2,0
3,1     2,7
 
lux und UV Index geht grad nicht  ;-)


2026.02.19 21:24:24 4: Signalduino868/msg READ: ␂MN;D=54AA00070631020444011A0F01500157010101676F68CFA023A72F4F;N=17;R=1;␃
2026.02.19 21:24:44 4: Signalduino868/msg READ: ␂MN;D=54AA00070631020345014611018F01570101018E038FCFA023A72F4F;N=17;R=2;␃
2026.02.19 21:25:02 4: Signalduino868/keepalive ok, retry = 0
2026.02.19 21:25:04 4: Signalduino868/msg READ: ␂MN;D=54AA0007063102034501380B011F0157010101B5A600000000000000;N=17;R=4;␃
2026.02.19 21:25:24 4: Signalduino868/msg READ: ␂MN;D=54AA00070631020444012F0A01260157010101DCCADDCFA023A72F4F;N=17;R=1;␃
2026.02.19 21:25:44 4: Signalduino868/msg READ: ␂MN;D=54AA000706310204440132090129015701010103F604CFA023A72F4F;N=17;R=2;␃
2026.02.19 21:26:02 4: Signalduino868/keepalive ok, retry = 0
2026.02.19 21:26:04 4: Signalduino868/msg READ: ␂MN;D=54AA00070631020445011F08012D01570101012A0E2BCFA023A72F4F;N=17;R=2;␃
2026.02.19 21:26:24 4: Signalduino868/msg READ: ␂MN;D=54AA000706310203450114060104015701010151FE52CFA023A72F4F;N=17;R=1;␃
2026.02.19 21:26:44 4: Signalduino868/msg READ: ␂MN;D=54AA0007063102044501170401450157010101786879CFA023A72F4F;N=17;R=2;␃
2026.02.19 21:27:02 4: Signalduino868/keepalive ok, retry = 0
2026.02.19 21:27:04 4: Signalduino868/msg READ: ␂MN;D=54AA00070631020445011805010701570101019F53A0CFA023A72F4F;N=17;R=0;␃
2026.02.19 21:27:24 4: Signalduino868/msg READ: ␂MN;D=54AA0007063102034501230901330157010101C6B4C7CFA023A72F4F;N=17;R=1;␃


time      : 2026-02-19 21:24:23
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 68 %          Wind avg speed: 2.5 km/h  Wind max speed: 10.0 km/h Wind Direction: 79
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:24:43
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.5 C        Humidity  : 69 %          Wind avg speed: 6.9 km/h  Wind max speed: 11.3 km/h Wind Direction: 142
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:25:03
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.5 C        Humidity  : 69 %          Wind avg speed: 5.5 km/h  Wind max speed: 7.3 km/h  Wind Direction: 30
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:25:23
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 68 %          Wind avg speed: 4.6 km/h  Wind max speed: 6.7 km/h  Wind Direction: 37
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:25:43
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 68 %          Wind avg speed: 4.9 km/h  Wind max speed: 6.0 km/h  Wind Direction: 40
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:26:03
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 69 %          Wind avg speed: 3.0 km/h  Wind max speed: 5.3 km/h  Wind Direction: 44
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:26:23
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.5 C        Humidity  : 69 %          Wind avg speed: 1.9 km/h  Wind max speed: 4.0 km/h  Wind Direction: 3
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:26:43
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 69 %          Wind avg speed: 2.2 km/h  Wind max speed: 2.7 km/h  Wind Direction: 68
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:27:03
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.6 C        Humidity  : 69 %          Wind avg speed: 2.3 km/h  Wind max speed: 3.3 km/h  Wind Direction: 6
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2026-02-19 21:27:23
model     : Vevor-7in1   id        : 0706
Channel   : 0            Battery_OK: 1             Temperature: 1.5 C        Humidity  : 69 %          Wind avg speed: 3.4 km/h  Wind max speed: 6.0 km/h  Wind Direction: 50
Total rainfall: 20.0 mm  UV Index  : 0             Lux       : 0             Integrity : CHECKSUM
#18
Automatisierung / Leeres Reading in einem notify
Letzter Beitrag von Gisbert - 19 Februar 2026, 21:42:22
Hallo,

ich hab ein an und für sich funktionierendes notify, dass auslöst, wenn ein "error(s)" auftritt.

defmod JK_BMS.notify notify JK_BMS:(errors.*|power_tube_temperature.*|temperature_sensor_1.*|temperature_sensor_2.*) \
{if ($EVENT =~ m/errors/) \
{my $alias = AttrVal($NAME,'alias','');; \
fhem "set Pushover.Nachricht msg '$alias Fehler' '$EVENT';; \
set NTFY message Title=\"$alias Fehler\" $EVENT"} \
elsif ($EVENT =~ m/temperature/ and $EVTPART1 >= 40) \
{my $alias = AttrVal($NAME,'alias','');; \
my $val = $EVENT;; $val =~ s/_/ /;; $val =~ s/_/ /;; \
fhem "set Pushover.Nachricht msg '$alias Temperatur' '$val°C';; \
set NTFY message Title=\"$alias Temperatur\" $val°C"}}

$EVENT war im Fehlerfall "errors: Charging overcurrent". Nachdem der Fehler sich erledigt hatte, wurde als Wert des Readings  nichts - also gar nichts - ausgegeben.

Diese fehlende Information ist aber insofern etwas wert, da sie ja anzeigt, dass kein Fehler mehr vorliegt - nur das obige notify triggert darauf nicht.

Meine Frage lautet deshalb, wie man auf ein leeres Reading triggern kann?

Viele Grüße Gisbert
#19
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von 300P - 19 Februar 2026, 21:40:22
Zitat von: MartinD am 19 Februar 2026, 19:14:56
Zitat von: 300P am 19 Februar 2026, 18:44:36Wenn das nicht wirkt - nehm dann mal den ganzen Tag 31
set <name> reset pvHistory 31

So habe ich gemacht und der Tag ist pfutsch.

Danke!

Falls du dich noch erinnerst - war da irgendwas am 31.1. mit deinem FHEM-Rechner - Absturz / Stromausfall / Rechnerproblem etc. ??
#20
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von 300P - 19 Februar 2026, 21:37:14
Ja - Schneebelag war schon mehrfach Thema bis hin zu "Schneesensoren".
Soweit ich es kenne "möchte" Heiko irgendwann die PV-Prognose evtl. auf AI:FANN umstellen. Solange wird er sicher nicht nochmalig an das Thema "Schnee-Einfluss" gehen wollen. Da wird er sicher dann nach dem Urlaub evtl. was zu sagen.

Aktuell wird n.m.W. die EV-Fraktion und deren Wünsche erst einmal einbinden.

PS:
Bei mir gibt es auch Schnee - bei starker Sonne am ersten Tag mit 4-6 Stunden Sonne weg - bei Frost und viel Wolken bleibt er tagelang bei 48 Grad komplett liegen.....das nenne ich "Shit happens" - oder ich nehme meine langen Alu-Auszieh-Besen (7m länge) und fege den Schnee am 1 Tag sofort wieder runter  :o  :o  8)  O:-)

Wirklich ==>>> ich habe den 7 Meter langen Wasser-Besen sowieso zum Reinigen im Herbst / Frühjahr als B-Ware mal bei eBay geschossen!