activate_scenario.sh
Sun Dec 8 15:09:20 CET 2024
scenario: offAll
phoneName: kanaDaham

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_0.log)

vorher: 15:09:20.814

http://192.168.12.101/relay/0?turn=off

        

nachher: 15:09:23.891
Dauer: 3078 msec phName: 'phoneName:'kanaDaham''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_1.log)

vorher: 15:09:20.829

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 15:09:20.859
Dauer: 30 msec phName: 'phoneName:'kanaDaham''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_2.log)

vorher: 15:09:20.845

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 15:09:20.876
Dauer: 31 msec phName: 'phoneName:'kanaDaham''


BAD Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_3.log)

vorher: 15:09:20.859

http://192.168.12.104/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 15:09:21.056
Dauer: 198 msec phName: 'phoneName:'kanaDaham''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_4.log)

vorher: 15:09:20.876

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:20.905
Dauer: 29 msec phName: 'phoneName:'kanaDaham''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_5.log)

vorher: 15:09:20.892

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:20.917
Dauer: 26 msec phName: 'phoneName:'kanaDaham''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_6.log)

vorher: 15:09:20.908

http://192.168.12.107/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:20.934
Dauer: 26 msec phName: 'phoneName:'kanaDaham''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_7.log)

vorher: 15:09:20.925

http://192.168.12.108/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:20.959
Dauer: 34 msec phName: 'phoneName:'kanaDaham''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_8.log)

vorher: 15:09:20.938

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:20.971
Dauer: 34 msec phName: 'phoneName:'kanaDaham''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_9.log)

vorher: 15:09:20.953

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.117
Dauer: 163 msec phName: 'phoneName:'kanaDaham''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_10.log)

vorher: 15:09:20.967

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:21.050
Dauer: 83 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_11.log)

vorher: 15:09:20.980

http://192.168.12.115/white/0?turn=off&brightness=50

        

nachher: 15:09:24.052
Dauer: 3071 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_12.log)

vorher: 15:09:20.993

http://192.168.12.115/white/1?turn=off&brightness=50

        

nachher: 15:09:24.052
Dauer: 3058 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_13.log)

vorher: 15:09:21.007

http://192.168.12.115/white/2?turn=off&brightness=50

        

nachher: 15:09:24.052
Dauer: 3045 msec phName: 'phoneName:'kanaDaham''


15-Test Weiss (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_14.log)

vorher: 15:09:21.020

http://192.168.12.115/white/3?turn=off&brightness=50

        

nachher: 15:09:24.052
Dauer: 3031 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_15.log)

vorher: 15:09:21.033

http://192.168.12.116/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 15:09:21.119
Dauer: 86 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_16.log)

vorher: 15:09:21.049

http://192.168.12.116/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 15:09:21.154
Dauer: 106 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_17.log)

vorher: 15:09:21.068

http://192.168.12.116/white/2?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 15:09:21.150
Dauer: 82 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_18.log)

vorher: 15:09:21.080

http://192.168.12.116/white/3?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 15:09:21.147
Dauer: 66 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_19.log)

vorher: 15:09:21.093

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 15:09:21.130
Dauer: 37 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_20.log)

vorher: 15:09:21.106

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 13.21,
  "overpower": false

nachher: 15:09:21.149
Dauer: 42 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_21.log)

vorher: 15:09:21.119

http://192.168.12.117/white/2?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 15:09:21.281
Dauer: 161 msec phName: 'phoneName:'kanaDaham''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_22.log)

vorher: 15:09:21.134

http://192.168.12.117/white/3?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 15:09:21.268
Dauer: 134 msec phName: 'phoneName:'kanaDaham''


18-Test Farbige LED (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_23.log)

vorher: 15:09:21.148

http://192.168.12.118/color/0?turn=off&red=128&green=128&blue=128&white=128

        

nachher: 15:09:24.211
Dauer: 3064 msec phName: 'phoneName:'kanaDaham''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_24.log)

vorher: 15:09:21.165

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:21.227
Dauer: 63 msec phName: 'phoneName:'kanaDaham''


TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_25.log)

vorher: 15:09:21.179

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.234
Dauer: 57 msec phName: 'phoneName:'kanaDaham''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_26.log)

vorher: 15:09:21.191

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:21.224
Dauer: 32 msec phName: 'phoneName:'kanaDaham''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_27.log)

vorher: 15:09:21.205

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.232
Dauer: 28 msec phName: 'phoneName:'kanaDaham''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_28.log)

vorher: 15:09:21.217

http://192.168.12.124/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 15:09:21.249
Dauer: 31 msec phName: 'phoneName:'kanaDaham''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_29.log)

vorher: 15:09:21.231

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.326
Dauer: 94 msec phName: 'phoneName:'kanaDaham''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_30.log)

vorher: 15:09:21.248

http://192.168.12.134/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 15:09:21.270
Dauer: 23 msec phName: 'phoneName:'kanaDaham''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_31.log)

vorher: 15:09:21.261

http://192.168.12.135/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "overpower": false

nachher: 15:09:21.331
Dauer: 70 msec phName: 'phoneName:'kanaDaham''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_32.log)

vorher: 15:09:21.279

http://192.168.12.140/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.311
Dauer: 32 msec phName: 'phoneName:'kanaDaham''


41-TBD-Dimmer (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_33.log)

vorher: 15:09:21.292

http://192.168.12.141/light/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0

nachher: 15:09:21.387
Dauer: 95 msec phName: 'phoneName:'kanaDaham''


GB Stehlampe braun (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_34.log)

vorher: 15:09:21.305

http://192.168.12.142/light/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0

nachher: 15:09:21.337
Dauer: 32 msec phName: 'phoneName:'kanaDaham''


GB Schreibtischlampe links (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_35.log)

vorher: 15:09:21.321

http://192.168.12.147/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.342
Dauer: 21 msec phName: 'phoneName:'kanaDaham''


GB Sofalampe (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_36.log)

vorher: 15:09:21.336

http://192.168.12.153/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.362
Dauer: 26 msec phName: 'phoneName:'kanaDaham''


GB Kugellampe (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_37.log)

vorher: 15:09:21.353

http://192.168.12.154/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.374
Dauer: 22 msec phName: 'phoneName:'kanaDaham''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_38.log)

vorher: 15:09:21.372

http://192.168.12.158/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 15:09:21.456
Dauer: 84 msec phName: 'phoneName:'kanaDaham''


scenario: 'Licht überall AUS-schalten' - 'offAll' - 'offall'

urls : 39
vorher : 15:09:20.793
nachher: 15:09:24.231
Dauer : 3437 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/08//scene_offAll_20241208_150920.txt'


syslog

Dec  8 15:06:01 srv4hai CRON[21887]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 15:06:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21930, secured, session=<8nxYwcIoAogAAAAAAAAAAAAAAAAAAAAB>
Dec  8 15:06:32 srv4hai dovecot: imap(miglincit)<21930><8nxYwcIoAogAAAAAAAAAAAAAAAAAAAAB>: Logged out in=2046 out=165856 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=90303 body_count=0 body_bytes=0
Dec  8 15:06:36 srv4hai postfix/smtpd[21781]: connect from unknown[80.94.95.239]
Dec  8 15:06:39 srv4hai postfix/smtpd[21781]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  8 15:06:40 srv4hai postfix/smtpd[21781]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  8 15:06:48 srv4hai postfix/smtpd[21781]: connect from unknown[61.50.119.110]
Dec  8 15:06:48 srv4hai postfix/smtpd[21781]: warning: unknown[61.50.119.110]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  8 15:06:48 srv4hai postfix/smtpd[21781]: disconnect from unknown[61.50.119.110] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec  8 15:07:01 srv4hai CRON[21958]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 15:08:01 srv4hai CRON[22040]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 15:08:49 srv4hai postfix/anvil[20319]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec  8 14:58:49
Dec  8 15:08:49 srv4hai postfix/anvil[20319]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec  8 14:58:49
Dec  8 15:08:49 srv4hai postfix/anvil[20319]: statistics: max cache size 2 at Dec  8 15:05:00
Dec  8 15:09:00 srv4hai systemd[1]: Starting Clean php session files...
Dec  8 15:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Dec  8 15:09:00 srv4hai systemd[1]: Started Clean php session files.
Dec  8 15:09:01 srv4hai CRON[22206]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Dec  8 15:09:01 srv4hai CRON[22207]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 15:09:19 srv4hai common[22231]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  8 15:09:19 srv4hai bt_scan[22231]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Dec  8 15:09:19 srv4hai bt_scan[22231]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Dec  8 15:09:19 srv4hai common[22262]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec  8 15:09:20 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1733666960-1733666959
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec  8 15:09:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1733666960-1733666959
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec  8 15:09:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1733666960-1733666959
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Dec  8 15:09:20 srv4hai postfix/pickup[14217]: 8366663465: uid=33 from=
Dec  8 15:09:20 srv4hai postfix/cleanup[22371]: 8366663465: message-id=<20241208140920.8366663465@mail.viehai.at>
Dec  8 15:09:20 srv4hai postfix/qmgr[8566]: 8366663465: from=, size=4146, nrcpt=1 (queue active)
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY - check 'presence': anyPresent(false) - lScene(scene_herdzeile_UM) - sceneOFF(offAll)
Dec  8 15:09:20 srv4hai check_presence[22262]: SHELLY (bt_scan)-(1)-presence: activate_scenario.shtml: offAll
Dec  8 15:09:20 srv4hai activate_scenario[22404]: SHELLY scenario: 'offAll(offall)' started
Dec  8 15:09:20 srv4hai activate_scenario[22404]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'

finished