activate_scenario.sh
Thu Jul 18 06:56:29 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

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

vorher: 06:56:29.968

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: 06:56:30.029
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:29.984

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: 06:56:30.011
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:29.997

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: 06:56:30.092
Dauer: 94 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.010

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: 06:56:30.085
Dauer: 75 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.024

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: 06:56:30.091
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.038

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: 06:56:30.132
Dauer: 94 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.050

http://192.168.12.108/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:56:30.142
Dauer: 92 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_7.log)

vorher: 06:56:30.062

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: 06:56:30.088
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.074

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: 06:56:30.125
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.086

http://192.168.12.140/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:56:30.149
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.104

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: 06:56:30.148
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.116

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

nachher: 06:56:30.148
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.128

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

nachher: 06:56:30.183
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.141

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: 06:56:30.249
Dauer: 109 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.160

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: 06:56:30.193
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_15.log)

vorher: 06:56:30.170

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: 06:56:30.219
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:56:30.182

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: 06:56:30.218
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_17.log)

vorher: 06:56:30.197

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

nachher: 06:56:30.249
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_18.log)

vorher: 06:56:30.210

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: 06:56:30.281
Dauer: 71 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 06:56:29.937
nachher: 06:56:30.288
Dauer : 353 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/18//scene_homeOffice_20240718_065629.txt'


syslog

Jul 18 06:53:01 srv4hai CRON[840]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 06:53:10 srv4hai named[30406]: connection refused resolving 'ooc-g2.tm-4.office.com/A/IN': 95.129.202.2#53
Jul 18 06:53:11 srv4hai named[30406]: connection refused resolving 'office.com/DS/IN': 95.129.202.2#53
Jul 18 06:53:13 srv4hai named[30406]: connection refused resolving 'outlook.ms-acdc.office.com/A/IN': 95.129.202.2#53
Jul 18 06:53:15 srv4hai named[30406]: connection refused resolving 'HHN-efz.ms-acdc.office.com/A/IN': 95.129.202.2#53
Jul 18 06:53:16 srv4hai named[30406]: connection refused resolving 'swg-url-proxy-https.sigproxy.qq.opendns.com/A/IN': 95.129.202.2#53
Jul 18 06:53:48 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721278428 - 'ping_SP_0'
Jul 18 06:53:48 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 06:54:01 srv4hai CRON[882]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 06:54:07 srv4hai named[30406]: connection refused resolving 'debug.opendns.com/TXT/IN': 95.129.202.2#53
Jul 18 06:55:01 srv4hai CRON[898]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 06:55:01 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721278501 - 'ping_SP_0'
Jul 18 06:55:01 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 06:55:48 srv4hai common[928]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 18 06:55:58 srv4hai bt_scan[928]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 18 06:55:58 srv4hai bt_scan[928]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 18 06:55:58 srv4hai common[961]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 18 06:55:59 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721278559-1721278548
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 18 06:55:59 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1721278559-1721278548
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 18 06:55:59 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721278559-1721278548
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul 18 06:55:59 srv4hai check_presence[961]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 18 06:56:01 srv4hai CRON[1115]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 06:56:14 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721278574 - 'ping_SP_0'
Jul 18 06:56:14 srv4hai ping_SP[21208]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 06:56:21 srv4hai nmbd[2172]: [2024/07/18 06:56:21.195741,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 18 06:56:21 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 18 06:56:21 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 18 06:56:21 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 18 06:56:23 srv4hai common[1143]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 18 06:56:29 srv4hai named[30406]: connection refused resolving 'abtest.alibaba.com/A/IN': 95.129.202.2#53
Jul 18 06:56:29 srv4hai activate_scenario[1157]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul 18 06:56:29 srv4hai activate_scenario[1157]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished