activate_scenario.sh
Sun Jan 12 09:34:14 CET 2025
scenario: offAll
source: 192.168.12.103

'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/2025/01/12/_0.log)

vorher: 09:34:14.800

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

nachher: 09:34:14.822
Dauer: 22 msec phName: 'shelly-03:'VZ Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_1.log)

vorher: 09:34:14.820

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": "input"

nachher: 09:34:14.953
Dauer: 134 msec phName: 'shelly-03:'VZ Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_2.log)

vorher: 09:34:14.840

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: 09:34:14.867
Dauer: 28 msec phName: 'shelly-03:'VZ Licht''


BAD Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_3.log)

vorher: 09:34:14.858

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: 09:34:14.945
Dauer: 86 msec phName: 'shelly-03:'VZ Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_4.log)

vorher: 09:34:14.877

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: 09:34:14.901
Dauer: 24 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:14.894

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: 09:34:14.953
Dauer: 59 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:14.913

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: 09:34:14.941
Dauer: 27 msec phName: 'shelly-03:'VZ Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_7.log)

vorher: 09:34:14.931

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: 09:34:14.976
Dauer: 44 msec phName: 'shelly-03:'VZ Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_8.log)

vorher: 09:34:14.953

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: 09:34:15.074
Dauer: 120 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:14.973

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

nachher: 09:34:14.996
Dauer: 23 msec phName: 'shelly-03:'VZ Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_10.log)

vorher: 09:34:14.992

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: 09:34:15.035
Dauer: 42 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.013

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

        

nachher: 09:34:18.099
Dauer: 3086 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.032

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

        

nachher: 09:34:18.099
Dauer: 3068 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.053

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

        

nachher: 09:34:18.099
Dauer: 3047 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.071

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

        

nachher: 09:34:18.100
Dauer: 3028 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.092

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": 12.72,
  "overpower": false

nachher: 09:34:15.116
Dauer: 24 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.112

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": 12.72,
  "overpower": false

nachher: 09:34:15.198
Dauer: 86 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.132

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: 09:34:15.199
Dauer: 66 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.152

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: 09:34:15.249
Dauer: 97 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.170

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": 0,
  "overpower": false

nachher: 09:34:15.198
Dauer: 29 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.187

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": 0,
  "overpower": false

nachher: 09:34:15.288
Dauer: 101 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.208

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: 09:34:15.392
Dauer: 183 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.227

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: 09:34:15.405
Dauer: 178 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.247

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

        

nachher: 09:34:18.323
Dauer: 3076 msec phName: 'shelly-03:'VZ Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_24.log)

vorher: 09:34:15.266

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

nachher: 09:34:15.299
Dauer: 33 msec phName: 'shelly-03:'VZ Licht''


TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_25.log)

vorher: 09:34:15.284

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: 09:34:15.313
Dauer: 29 msec phName: 'shelly-03:'VZ Licht''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_26.log)

vorher: 09:34:15.304

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: 09:34:15.370
Dauer: 66 msec phName: 'shelly-03:'VZ Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_27.log)

vorher: 09:34:15.325

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: 09:34:15.390
Dauer: 66 msec phName: 'shelly-03:'VZ Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_28.log)

vorher: 09:34:15.345

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

nachher: 09:34:15.382
Dauer: 36 msec phName: 'shelly-03:'VZ Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_29.log)

vorher: 09:34:15.365

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: 09:34:15.424
Dauer: 59 msec phName: 'shelly-03:'VZ Licht''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_30.log)

vorher: 09:34:15.386

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

nachher: 09:34:15.419
Dauer: 33 msec phName: 'shelly-03:'VZ Licht''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_31.log)

vorher: 09:34:15.409

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

nachher: 09:34:15.436
Dauer: 27 msec phName: 'shelly-03:'VZ Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_32.log)

vorher: 09:34:15.429

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: 09:34:15.452
Dauer: 22 msec phName: 'shelly-03:'VZ Licht''


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

vorher: 09:34:15.451

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: 09:34:15.478
Dauer: 27 msec phName: 'shelly-03:'VZ Licht''


GB Stehlampe braun (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_34.log)

vorher: 09:34:15.471

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: 09:34:15.503
Dauer: 33 msec phName: 'shelly-03:'VZ Licht''


GB Schreibtischlampe links (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_35.log)

vorher: 09:34:15.491

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: 09:34:16.899
Dauer: 1408 msec phName: 'shelly-03:'VZ Licht''


GB Sofalampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_36.log)

vorher: 09:34:15.512

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: 09:34:15.554
Dauer: 42 msec phName: 'shelly-03:'VZ Licht''


GB Kugellampe (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_37.log)

vorher: 09:34:15.533

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: 09:34:15.568
Dauer: 36 msec phName: 'shelly-03:'VZ Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_38.log)

vorher: 09:34:15.551

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

nachher: 09:34:15.588
Dauer: 37 msec phName: 'shelly-03:'VZ Licht''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/12/_39.log)

vorher: 09:34:15.574

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: 09:34:15.670
Dauer: 96 msec phName: 'shelly-03:'VZ Licht''


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

urls : 40
vorher : 09:34:14.776
nachher: 09:34:18.344
Dauer : 3567 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/12//scene_offAll_20250112_093414.txt'


syslog

Jan 12 09:31:01 srv4hai CRON[20570]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 09:31:23 srv4hai postfix/smtpd[20577]: connect from unknown[92.118.39.63]
Jan 12 09:31:27 srv4hai postfix/smtpd[20577]: warning: unknown[92.118.39.63]: SASL PLAIN authentication failed: 
Jan 12 09:31:27 srv4hai postfix/smtpd[20577]: disconnect from unknown[92.118.39.63] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 12 09:31:42 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736670702 - 'ping_SP_0'
Jan 12 09:31:42 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 09:32:01 srv4hai CRON[20609]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 09:32:14 srv4hai postfix/smtpd[20577]: connect from unknown[94.156.227.127]
Jan 12 09:32:14 srv4hai postfix/smtpd[20577]: warning: unknown[94.156.227.127]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jan 12 09:32:14 srv4hai postfix/smtpd[20577]: disconnect from unknown[94.156.227.127] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 12 09:32:46 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736670766 - 'ping_SP_0'
Jan 12 09:32:46 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 09:33:01 srv4hai CRON[20642]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 09:33:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20654, secured, session=
Jan 12 09:33:45 srv4hai dovecot: imap(miglincit)<20654>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 12 09:33:49 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1736670829 - 'ping_SP_0'
Jan 12 09:33:49 srv4hai ping_SP[27351]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 12 09:34:01 srv4hai CRON[20679]: (root) CMD (/etc/linetest/linetest.sh)
Jan 12 09:34:01 srv4hai systemd[1]: Started Run anacron jobs.
Jan 12 09:34:01 srv4hai anacron[20681]: Anacron 2.3 started on 2025-01-12
Jan 12 09:34:01 srv4hai anacron[20681]: Normal exit (0 jobs run)
Jan 12 09:34:01 srv4hai systemd[1]: anacron.service: Succeeded.
Jan 12 09:34:14 srv4hai activate_scenario[20687]: SHELLY last scenario: 'nasszeile_um' @ '091249' from 'scene_nasszeile_um_20250112_091249.txt' - delta=35
Jan 12 09:34:14 srv4hai activate_scenario[20687]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250112093414 20250112091249  -f '%S'
Jan 12 09:34:14 srv4hai activate_scenario[20687]: SHELLY  new scenario: 'offAll' different - GO ON
Jan 12 09:34:14 srv4hai activate_scenario[20687]: SHELLY scenario: 'offAll(offall)' started
Jan 12 09:34:14 srv4hai activate_scenario[20687]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'VZ Licht'

finished