activate_scenario.sh
Sun Jul 21 00:24:13 CEST 2024
scenario: offAll
source: 192.168.12.107

'night' <--> 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/07/21/_0.log)

vorher: 00:24:13.236

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

nachher: 00:24:13.263
Dauer: 27 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_1.log)

vorher: 00:24:13.251

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: 00:24:13.373
Dauer: 121 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_2.log)

vorher: 00:24:13.264

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

nachher: 00:24:13.371
Dauer: 107 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Badezimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_3.log)

vorher: 00:24:13.278

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: 00:24:13.320
Dauer: 43 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_4.log)

vorher: 00:24:13.293

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

nachher: 00:24:13.335
Dauer: 43 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_5.log)

vorher: 00:24:13.305

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: 00:24:13.377
Dauer: 71 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.318

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: 00:24:13.368
Dauer: 50 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.331

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: 00:24:13.379
Dauer: 50 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_8.log)

vorher: 00:24:13.347

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: 00:24:13.378
Dauer: 32 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.358

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: 00:24:13.472
Dauer: 114 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_10.log)

vorher: 00:24:13.371

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: 00:24:13.460
Dauer: 89 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.388

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

        

nachher: 00:24:16.468
Dauer: 3079 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.403

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

        

nachher: 00:24:16.468
Dauer: 3065 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.417

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

        

nachher: 00:24:16.468
Dauer: 3050 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.432

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

        

nachher: 00:24:16.468
Dauer: 3036 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.445

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: 00:24:13.478
Dauer: 33 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.458

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: 00:24:13.508
Dauer: 50 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.471

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: 00:24:13.524
Dauer: 53 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.484

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: 00:24:13.578
Dauer: 94 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.496

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: 00:24:13.538
Dauer: 41 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.510

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: 00:24:13.558
Dauer: 48 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.523

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: 00:24:13.646
Dauer: 124 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.535

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: 00:24:13.645
Dauer: 109 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.548

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

        

nachher: 00:24:16.627
Dauer: 3079 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_24.log)

vorher: 00:24:13.561

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: 00:24:13.589
Dauer: 28 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_25.log)

vorher: 00:24:13.574

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: 00:24:13.600
Dauer: 26 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_26.log)

vorher: 00:24:13.589

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: 00:24:13.632
Dauer: 43 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.602

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: 00:24:13.684
Dauer: 82 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_28.log)

vorher: 00:24:13.616

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: 00:24:13.685
Dauer: 69 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_29.log)

vorher: 00:24:13.629

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

nachher: 00:24:13.666
Dauer: 36 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_30.log)

vorher: 00:24:13.644

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

nachher: 00:24:13.684
Dauer: 40 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_31.log)

vorher: 00:24:13.657

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

nachher: 00:24:13.740
Dauer: 84 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.670

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: 00:24:13.714
Dauer: 44 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.684

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: 00:24:13.779
Dauer: 95 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Stehlampe dimmbar (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_34.log)

vorher: 00:24:13.699

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: 00:24:13.783
Dauer: 84 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 00:24:13.713

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

        

nachher: 00:24:16.788
Dauer: 3075 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_36.log)

vorher: 00:24:13.727

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

        

nachher: 00:24:16.788
Dauer: 3061 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

urls : 37
vorher : 00:24:13.192
nachher: 00:24:16.797
Dauer : 3607 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/21//scene_offAll_20240721_002413.txt'


syslog

Jul 21 00:21:01 srv4hai CRON[1969]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:21:07 srv4hai common[1979]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 00:21:09 srv4hai named[30406]: connection refused resolving 'global-image.aliexpress.com/A/IN': 95.129.202.2#53
Jul 21 00:21:14 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721514074 - 'ping_SP_0'
Jul 21 00:21:14 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:21:17 srv4hai bt_scan[1979]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 21 00:21:17 srv4hai bt_scan[1979]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 21 00:21:17 srv4hai common[2026]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 21 00:21:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1721514077-1721514067
Jul 21 00:21:17 srv4hai check_presence[2026]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 21 00:21:17 srv4hai check_presence[2026]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 21 00:21:18 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1721514078-1721514067
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 21 00:21:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721514078-1721514067
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Jul 21 00:21:18 srv4hai check_presence[2026]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 21 00:21:42 srv4hai common[2182]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 00:21:52 srv4hai bt_scan[2182]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 21 00:21:52 srv4hai bt_scan[2182]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 21 00:22:01 srv4hai CRON[2222]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:22:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721514122 - 'ping_SP_1'
Jul 21 00:22:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 00:22:27 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721514147 - 'ping_SP_0'
Jul 21 00:22:27 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:22:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2272, secured, session=
Jul 21 00:22:50 srv4hai dovecot: imap(miglincit)<2272>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 21 00:23:01 srv4hai CRON[2274]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:23:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721514196 - 'ping_SP_1'
Jul 21 00:23:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 00:23:40 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721514220 - 'ping_SP_0'
Jul 21 00:23:40 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:24:01 srv4hai CRON[2330]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:24:13 srv4hai activate_scenario[2339]: SHELLY scenario: 'offAll(offall)' started
Jul 21 00:24:13 srv4hai activate_scenario[2339]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-07:'Nachtkästchen Lampe Thomas'

finished