activate_scenario.sh
Sun Sep 29 13:38:01 CEST 2024
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'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log)

vorher: 13:38:01.600

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

nachher: 13:38:01.632
Dauer: 32 msec phName: 'shelly-03:'Licht Vorzimmer''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_1.log)

vorher: 13:38:01.622

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: 13:38:01.655
Dauer: 33 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_2.log)

vorher: 13:38:01.641

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: 13:38:01.674
Dauer: 33 msec phName: 'shelly-03:'Licht Vorzimmer''


Badezimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_3.log)

vorher: 13:38:01.659

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

nachher: 13:38:01.718
Dauer: 60 msec phName: 'shelly-03:'Licht Vorzimmer''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_4.log)

vorher: 13:38:01.673

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: 13:38:01.716
Dauer: 43 msec phName: 'shelly-03:'Licht Vorzimmer''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_5.log)

vorher: 13:38:01.687

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

nachher: 13:38:01.827
Dauer: 139 msec phName: 'shelly-03:'Licht Vorzimmer''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_6.log)

vorher: 13:38:01.699

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: 13:38:01.735
Dauer: 36 msec phName: 'shelly-03:'Licht Vorzimmer''


Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_7.log)

vorher: 13:38:01.712

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: 13:38:01.978
Dauer: 265 msec phName: 'shelly-03:'Licht Vorzimmer''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_8.log)

vorher: 13:38:01.727

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: 13:38:01.819
Dauer: 92 msec phName: 'shelly-03:'Licht Vorzimmer''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_9.log)

vorher: 13:38:01.740

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: 13:38:01.820
Dauer: 78 msec phName: 'shelly-03:'Licht Vorzimmer''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_10.log)

vorher: 13:38:01.754

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: 13:38:01.817
Dauer: 63 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:01.767

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

        

nachher: 13:38:04.852
Dauer: 3085 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:01.779

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

        

nachher: 13:38:04.852
Dauer: 3073 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:01.791

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

        

nachher: 13:38:04.852
Dauer: 3060 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:01.803

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

        

nachher: 13:38:04.852
Dauer: 3049 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_15.log)

vorher: 13:38:01.816

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

nachher: 13:38:01.845
Dauer: 28 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_16.log)

vorher: 13:38:01.831

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

nachher: 13:38:01.862
Dauer: 31 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_17.log)

vorher: 13:38:01.845

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: 13:38:01.896
Dauer: 51 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_18.log)

vorher: 13:38:01.859

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: 13:38:02.014
Dauer: 155 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_19.log)

vorher: 13:38:01.873

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: 13:38:01.914
Dauer: 40 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_20.log)

vorher: 13:38:01.887

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: 13:38:01.928
Dauer: 41 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_21.log)

vorher: 13:38:01.900

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: 13:38:01.960
Dauer: 60 msec phName: 'shelly-03:'Licht Vorzimmer''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_22.log)

vorher: 13:38:01.912

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: 13:38:02.217
Dauer: 306 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:01.924

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

        

nachher: 13:38:04.980
Dauer: 3055 msec phName: 'shelly-03:'Licht Vorzimmer''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_24.log)

vorher: 13:38:01.937

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: 13:38:01.971
Dauer: 33 msec phName: 'shelly-03:'Licht Vorzimmer''


Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_25.log)

vorher: 13:38:01.949

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: 13:38:02.040
Dauer: 91 msec phName: 'shelly-03:'Licht Vorzimmer''


WC (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_26.log)

vorher: 13:38:01.963

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: 13:38:01.998
Dauer: 35 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_27.log)

vorher: 13:38:01.978

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

nachher: 13:38:02.027
Dauer: 49 msec phName: 'shelly-03:'Licht Vorzimmer''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_28.log)

vorher: 13:38:01.994

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: 13:38:02.051
Dauer: 57 msec phName: 'shelly-03:'Licht Vorzimmer''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_29.log)

vorher: 13:38:02.008

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: 13:38:02.051
Dauer: 44 msec phName: 'shelly-03:'Licht Vorzimmer''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_30.log)

vorher: 13:38:02.023

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

nachher: 13:38:02.076
Dauer: 52 msec phName: 'shelly-03:'Licht Vorzimmer''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_31.log)

vorher: 13:38:02.037

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

nachher: 13:38:02.066
Dauer: 30 msec phName: 'shelly-03:'Licht Vorzimmer''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_32.log)

vorher: 13:38:02.050

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: 13:38:02.156
Dauer: 106 msec phName: 'shelly-03:'Licht Vorzimmer''


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

vorher: 13:38:02.064

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: 13:38:02.166
Dauer: 102 msec phName: 'shelly-03:'Licht Vorzimmer''


Stehlampe dimmbar (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_34.log)

vorher: 13:38:02.077

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: 13:38:02.167
Dauer: 90 msec phName: 'shelly-03:'Licht Vorzimmer''


47-plus1-Test (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_35.log)

vorher: 13:38:02.092

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

        

nachher: 13:38:05.171
Dauer: 3079 msec phName: 'shelly-03:'Licht Vorzimmer''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_36.log)

vorher: 13:38:02.106

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

        

nachher: 13:38:05.171
Dauer: 3066 msec phName: 'shelly-03:'Licht Vorzimmer''


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

urls : 37
vorher : 13:38:01.556
nachher: 13:38:05.180
Dauer : 3625 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/29//scene_offAll_20240929_133801.txt'


syslog

Sep 29 13:35:01 srv4hai CRON[1548]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:35:31 srv4hai postfix/smtpd[1557]: connect from unknown[185.196.9.190]
Sep 29 13:35:32 srv4hai postfix/smtpd[1557]: warning: unknown[185.196.9.190]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 29 13:35:32 srv4hai postfix/smtpd[1557]: disconnect from unknown[185.196.9.190] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 29 13:35:43 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727609743 - 'ping_SP_0'
Sep 29 13:35:43 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 13:36:01 srv4hai CRON[1579]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:36:56 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727609816 - 'ping_SP_0'
Sep 29 13:36:56 srv4hai ping_SP[23469]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 13:37:01 srv4hai CRON[1607]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:37:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1615, secured, session=
Sep 29 13:37:13 srv4hai dovecot: imap(miglincit)<1615>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 13:37:45 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:45 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:47 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:47 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:47 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 29 13:37:47 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 29 13:37:47 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 29 13:37:47 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:47 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#43533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#52421/key rndc-key: signer "rndc-key" approved
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#52421/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#52421/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#52421/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#52421/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 29 13:37:47 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 29 13:37:47 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#56203/key rndc-key: signer "rndc-key" approved
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#56203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 29 13:37:47 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#56203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Sep 29 13:37:47 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 29 13:37:47 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 29 13:38:01 srv4hai CRON[1631]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 13:38:01 srv4hai activate_scenario[1636]: SHELLY scenario: 'offAll(offall)' started
Sep 29 13:38:01 srv4hai activate_scenario[1636]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished