activate_scenario.sh
Sun Jul 21 00:05:23 CEST 2024
scenario: offDownstairs
source: 192.168.12.123

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/07/21/_0.log)

vorher: 00:05:23.507

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:05:23.536
Dauer: 28 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.522

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:05:23.594
Dauer: 73 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.535

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:05:23.585
Dauer: 50 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.548

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:05:23.578
Dauer: 30 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.560

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:05:23.699
Dauer: 139 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.573

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:05:23.797
Dauer: 224 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.586

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

nachher: 00:05:23.707
Dauer: 121 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.602

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

nachher: 00:05:23.706
Dauer: 104 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.614

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:05:23.703
Dauer: 88 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.627

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:05:23.701
Dauer: 75 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.639

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:05:23.697
Dauer: 57 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.652

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:05:23.677
Dauer: 24 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.664

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: 00:05:23.790
Dauer: 126 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:05:23.678

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:05:23.706
Dauer: 29 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 00:05:23.485
nachher: 00:05:23.812
Dauer : 327 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/21//scene_offDownstairs_20240721_000523.txt'


syslog

Jul 21 00:02:01 srv4hai CRON[29912]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:02:03 srv4hai bt_scan[29898]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 21 00:02:03 srv4hai bt_scan[29898]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 21 00:02:29 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721512949 - 'ping_SP_1'
Jul 21 00:02:29 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 00:02:54 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721512974 - 'ping_SP_0'
Jul 21 00:02:54 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:03:01 srv4hai CRON[29980]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Jul 21 00:03:06 srv4hai postfix/pickup[27514]: 863536018A: uid=33 from=
Jul 21 00:03:06 srv4hai postfix/cleanup[29299]: 863536018A: message-id=<20240720220306.863536018A@mail.viehai.at>
Jul 21 00:03:06 srv4hai postfix/qmgr[8566]: 863536018A: from=, size=21890, nrcpt=1 (queue active)
Jul 21 00:03:06 srv4hai postfix/local[29321]: 863536018A: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 21 00:03:06 srv4hai postfix/cleanup[29299]: 8A4626018B: message-id=<20240720220306.8A4626018B@mail.viehai.at>
Jul 21 00:03:06 srv4hai postfix/bounce[29324]: 863536018A: sender non-delivery notification: 8A4626018B
Jul 21 00:03:06 srv4hai postfix/qmgr[8566]: 8A4626018B: from=<>, size=23772, nrcpt=1 (queue active)
Jul 21 00:03:06 srv4hai postfix/qmgr[8566]: 863536018A: removed
Jul 21 00:03:06 srv4hai postfix/local[29321]: 8A4626018B: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 21 00:03:06 srv4hai postfix/qmgr[8566]: 8A4626018B: removed
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Jul 21 00:03:06 srv4hai proc_url[30054]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/21/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Jul 21 00:03:06 srv4hai proc_url[30065]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/21/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Jul 21 00:03:06 srv4hai activate_scenario[29986]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 146 msec, shelly-28:'Schalter Nasszeile'
Jul 21 00:03:40 srv4hai common[30117]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 00:03:42 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721513022 - 'ping_SP_1'
Jul 21 00:03:42 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 00:03:50 srv4hai bt_scan[30117]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 21 00:03:50 srv4hai bt_scan[30117]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 21 00:03:50 srv4hai common[30163]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 21 00:03:50 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1721513030-1721513020
Jul 21 00:03:50 srv4hai check_presence[30163]: 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:03:51 srv4hai check_presence[30163]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 21 00:03:51 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1721513031-1721513020
Jul 21 00:03:51 srv4hai check_presence[30163]: 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:03:51 srv4hai check_presence[30163]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 21 00:03:51 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721513031-1721513020
Jul 21 00:03:51 srv4hai check_presence[30163]: 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:03:51 srv4hai check_presence[30163]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 21 00:03:51 srv4hai check_presence[30163]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jul 21 00:03:51 srv4hai check_presence[30163]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 21 00:04:01 srv4hai CRON[30317]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:04:07 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721513047 - 'ping_SP_0'
Jul 21 00:04:07 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:04:31 srv4hai common[30340]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 00:04:41 srv4hai bt_scan[30340]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 21 00:04:41 srv4hai bt_scan[30340]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 21 00:04:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30384, secured, session=
Jul 21 00:04:50 srv4hai dovecot: imap(miglincit)<30384>: 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:04:56 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721513096 - 'ping_SP_1'
Jul 21 00:04:56 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 00:05:01 srv4hai CRON[30401]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 00:05:20 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721513120 - 'ping_SP_0'
Jul 21 00:05:20 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 21 00:05:23 srv4hai activate_scenario[30448]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jul 21 00:05:23 srv4hai activate_scenario[30448]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished