activate_scenario.sh
Mon Jun 10 23:29:27 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/06/10/_0.log)

vorher: 23:29:27.235

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: 23:29:27.336
Dauer: 101 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_1.log)

vorher: 23:29:27.250

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: 23:29:27.296
Dauer: 46 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_2.log)

vorher: 23:29:27.265

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: 23:29:27.297
Dauer: 33 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Badezimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_3.log)

vorher: 23:29:27.280

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: 23:29:27.314
Dauer: 35 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_4.log)

vorher: 23:29:27.294

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

        

nachher: 23:29:30.355
Dauer: 3062 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_5.log)

vorher: 23:29:27.310

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

        

nachher: 23:29:30.387
Dauer: 3078 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.323

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: 23:29:27.350
Dauer: 26 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.335

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: 23:29:27.379
Dauer: 43 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_8.log)

vorher: 23:29:27.348

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: 23:29:27.380
Dauer: 31 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.362

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: 23:29:27.407
Dauer: 45 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_10.log)

vorher: 23:29:27.376

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: 23:29:27.415
Dauer: 40 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.389

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

        

nachher: 23:29:30.451
Dauer: 3062 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.402

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

        

nachher: 23:29:30.451
Dauer: 3050 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.416

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

        

nachher: 23:29:30.451
Dauer: 3036 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.429

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

        

nachher: 23:29:30.451
Dauer: 3022 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.441

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: 23:29:27.464
Dauer: 22 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.454

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: 23:29:27.531
Dauer: 78 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.466

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: 23:29:27.528
Dauer: 61 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.479

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: 23:29:27.585
Dauer: 105 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.494

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: 23:29:27.521
Dauer: 27 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.506

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: 23:29:27.556
Dauer: 49 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.519

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: 23:29:27.617
Dauer: 98 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.534

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: 23:29:27.696
Dauer: 163 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.548

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

        

nachher: 23:29:30.611
Dauer: 3063 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_24.log)

vorher: 23:29:27.563

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

        

nachher: 23:29:30.643
Dauer: 3080 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_25.log)

vorher: 23:29:27.578

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: 23:29:27.603
Dauer: 26 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


WC (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_26.log)

vorher: 23:29:27.590

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: 23:29:27.619
Dauer: 28 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.605

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: 23:29:27.679
Dauer: 74 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_28.log)

vorher: 23:29:27.620

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: 23:29:27.656
Dauer: 35 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_29.log)

vorher: 23:29:27.635

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: 23:29:27.706
Dauer: 73 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Zwischenstecker 34 (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_30.log)

vorher: 23:29:27.650

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

nachher: 23:29:27.678
Dauer: 28 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Zwischenstecker 35 (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_31.log)

vorher: 23:29:27.662

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

nachher: 23:29:27.685
Dauer: 23 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.675

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: 23:29:27.698
Dauer: 23 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.692

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: 23:29:27.737
Dauer: 44 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Stehlampe dimmbar (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_34.log)

vorher: 23:29:27.708

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: 23:29:27.738
Dauer: 30 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

vorher: 23:29:27.722

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

        

nachher: 23:29:30.803
Dauer: 3081 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


Werkstatt Licht (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_36.log)

vorher: 23:29:27.735

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

        

nachher: 23:29:30.803
Dauer: 3069 msec phName: 'shelly-07:'Nachtkästchen Lampe Thomas''


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

urls : 37
vorher : 23:29:27.213
nachher: 23:29:30.812
Dauer : 3598 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/10//scene_offAll_20240610_232927.txt'


syslog

Jun 10 23:26:01 srv4hai CRON[30922]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 23:26:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 10 23:26:36 srv4hai fetchmail[1651]: 46128 messages (46128 seen) for tmiglinci at mail.akis.at (-490715656 octets).
Jun 10 23:26:37 srv4hai fetchmail[1651]: 10315 messages (10315 seen) for srozum at mail.akis.at (1240326212 octets).
Jun 10 23:26:37 srv4hai fetchmail[1651]: 23999 messages (23999 seen) for mrozum at mail.akis.at (-153283661 octets).
Jun 10 23:26:38 srv4hai fetchmail[1651]: 111 messages (111 seen) for admin@bastelstube.wien at pop3.world4you.com (45088512 octets).
Jun 10 23:26:43 srv4hai common[30938]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 23:26:43 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718054803 - 'ping_SP_0'
Jun 10 23:26:43 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 23:26:53 srv4hai bt_scan[30938]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 10 23:26:53 srv4hai bt_scan[30938]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 10 23:27:01 srv4hai CRON[30986]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 23:27:56 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718054876 - 'ping_SP_0'
Jun 10 23:27:56 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 23:28:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31019, secured, session=
Jun 10 23:28:01 srv4hai dovecot: imap(miglincit)<31019>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 10 23:28:01 srv4hai CRON[31021]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 23:28:11 srv4hai common[31028]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 23:28:21 srv4hai bt_scan[31028]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 10 23:28:21 srv4hai bt_scan[31028]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 10 23:28:21 srv4hai common[31062]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 10 23:28:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718054901-1718054891
Jun 10 23:28:21 srv4hai check_presence[31062]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 10 23:28:21 srv4hai check_presence[31062]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 10 23:28:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1718054901-1718054891
Jun 10 23:28:22 srv4hai check_presence[31062]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 10 23:28:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718054902-1718054891
Jun 10 23:28:22 srv4hai check_presence[31062]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 10 23:28:22 srv4hai check_presence[31062]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 10 23:28:22 srv4hai check_presence[31062]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
Jun 10 23:28:22 srv4hai check_presence[31062]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 10 23:29:01 srv4hai CRON[31221]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 23:29:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718054949 - 'ping_SP_0'
Jun 10 23:29:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 23:29:27 srv4hai activate_scenario[31244]: SHELLY scenario: 'offAll(offall)' started
Jun 10 23:29:27 srv4hai activate_scenario[31244]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-07:'Nachtkästchen Lampe Thomas'

finished