([IT_]eq "on"and [structure_Bewohner] eq "present"and [Aussen:temperature] < 16) (set teleBot message @xxx @xxx Bad Fenster Auf ;set ECHO speak im Bad ist das fenster noch Auf ;set ECHO speak im Bad ist das fenster noch Auf ;set speak im Bad ist das fenster noch auf;set FTV_Wohnzimmer msg im Bad ist das fenster noch auf)
defmod wd_Fenster_Keller watchdog Fenster_Keller:.open 00:08:01 Fenster_Keller:.closed {return fhem ("set pushmsg msg 'Alarm' 'Fenster Keller immer noch auf' 'sebastian,galaxya50,galaxytaba8' 2 'siren' 30 3600 ") if ReadingsNum('Multisensor5','temperature',0) <= 12}
attr wd_Fenster_Keller autoRestart 1
attr wd_Fenster_Keller disabledForIntervals {($month <= 4 || $month >= 11) ? '00' : '24'}-24
Zitat von: LuGu am 28 April 2024, 11:14:59... dass hatte ich mir schon angesehen. Hat aber keinen Erfolg gebracht.
Das in der Doku angegebene %d({ "weekday"\: "long" }) funktioniert zum Beispiel auch nicht und ergibt einen json error.
mydatum::%d({ "day"\: "2-digit", "month"\: "2-digit" })
###############################################################################
#
# aWATTar get lowest 4 hours
#
###############################################################################
sub aWATTl4(){
my $i;
my %daylist1=();
my %daylist2=();
for($i=1;$i<25;$i++){
my $dn=sprintf("%02d",$i);
$daylist1{$dn}=ReadingsVal("aWATTar","data".$dn."_price",0);
}
$i=0;
foreach my $h (sort { $daylist1{$a} <=> $daylist1{$b} } keys %daylist1) {
$daylist2{$h}=$daylist1{$h};
$i++;
last
if($i==4)
}
my $keymin = min(keys(%daylist2));
my $keymax = max(keys(%daylist2));
return sprintf("%s:00 - %s:00",$keymin,$keymax);
}
ntpdate libnet-telnet-perl libcrypt-rijndael-perl libdatetime-format-strptime-perl nodejs libdate-manip-perl libhtml-treebuilder-xpath-perl libmojolicious-perl libxml-bare-perl libauthen-oath-perl libconvert-base32-perl libmodule-pluggable-perl libnet-bonjour-perl libcrypt-urandom-perl nodejs npm libnet-dbus-perl apt-transport-https libdigest-crc-perl python3 python3-pip python3-dev libffi-dev libweb-scraper-perl libpath-tiny-perl libarchive-zip-perl libwebsockets-dev libcatmandu-stat-perl libprotocol-websocket-perl libanyevent-websocket-client-perl libdbd-mysql-perl
Zitat von: andies am 28 April 2024, 10:53:50Ich hoffe mal, das hier ist das Unterforum, von dem betateilchen hier sprach - sonst bitte Hinweis.
Zitat von: andies am 28 April 2024, 10:57:37Mensch betateilchen, du hast ja heute morgen eine Laune (und das bei Sonnenschein, jedenfalls hier)
Zitat von: andies am 28 April 2024, 10:57:37Mein größtes Problem war, dass MQTT nicht ging,