This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BRANCH="refs/heads/dev" | |
MAX_Delete=150 | |
gh cache list -r "${BRANCH}" -L ${MAX_Delete} -k buildkit-blob- | cut -f2 | xargs -I {} gh cache delete {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get install default-jre-headless -y | |
java -version | |
wget https://github.com/hivemq/mqtt-cli/releases/download/v1.1.1/mqtt-cli_1.1.1_all.deb | |
apt install ./mqtt-cli_1.1.1_all.deb | |
rm ./mqtt-cli_1.1.1_all.deb | |
mqtt --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/master/controls_signalduino.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmod ti_timertest DOIF (\ | |
[[$SELF:next]]\ | |
and int(time-time_str2num(ReadingsTimestamp("$SELF","T_reset",0))) > [$SELF:T_everyDays]\ | |
and ([$SELF:T_mode] eq "automatik") \ | |
)\ | |
(set [$SELF:dev] [$SELF:devReading] on)(set $SELF T_reset [({time})], set $SELF aus)\ | |
DOELSEIF (["$SELF:onfor"])\ | |
(set [$SELF:dev] [$SELF:devReading] on)(set $SELF T_reset [$SELF:t_reset:sec], set $SELF aus)\ | |
DOELSE \ | |
(set [$SELF:dev] [$SELF:devReading] off) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmod fl.RolladenProg DOIF (([{sunset(0,'18:00')}-04:00] and [fl.Rolladen:pct] > 30 and [fl.Rolladen:ProgrammMode] eq "automatic") or ([$SELF:state] eq "unten" and [fl.Rolladen] ge 60)) (set fl.Rolladen 0) (set fl.Rolladen 57)\ | |
DOELSEIF\ | |
([{sunrise(0,'06:49')}-{sunrise(0,'08:05')}] and ([$SELF:state] ne "beschattung" and [fl.Rolladen:pct] < 30 or [$SELF:state] eq "nacht" ) and [fl.Rolladen:ProgrammMode] eq "automatic") (set fl.Rolladen 100) \ | |
DOELSEIF\ | |
([au.licht:azimuth] > 80 and [au.licht:azimuth] < 170 and [au.licht:elevation] >7 and [wetter:fc1_high_c] > 24 and [wetter:fc1_low_c] > 6 and [wetter:code] >=28 and [$SELF:state] ne "beschattung" and [fl.Rolladen:ProgrammMode] eq "automatic") (set fl.Rolladen 10)\ | |
DOELSEIF\ | |
([au.licht:azimuth] > 170 and [$SELF:state] eq "beschattung") (set fl.RolladenProg cmd_2)\ | |
DOELSEIF\ | |
([$state] eq "automatik") (setreading fl.Rolladen ProgrammMode automatic)\ | |
DOELSEIF\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
use strict; | |
use warnings; | |
use Time::HiRes qw(gettimeofday); | |
use Data::Dumper qw(Dumper); | |
use JSON qw (decode_json encode_json); | |