activate_scenario.sh
Fri Jul 19 07:14:31 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/19/_0.log)

vorher: 07:14:31.797

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: 07:14:31.902
Dauer: 104 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.812

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: 07:14:31.851
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.827

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: 07:14:31.854
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.841

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: 07:14:31.865
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.856

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: 07:14:31.885
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.872

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: 07:14:31.904
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.884

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: 07:14:31.948
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.898

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: 07:14:31.967
Dauer: 69 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.913

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: 07:14:31.957
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.926

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: 07:14:32.000
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.939

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: 07:14:31.993
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.952

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: 07:14:31.987
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.965

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: 07:14:32.020
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.978

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: 07:14:32.058
Dauer: 80 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:31.991

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: 07:14:32.090
Dauer: 100 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:32.004

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: 07:14:32.052
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:32.017

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: 07:14:32.157
Dauer: 141 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:32.032

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: 07:14:32.128
Dauer: 97 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:14:32.045

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: 07:14:32.127
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 07:14:31.776
nachher: 07:14:32.167
Dauer : 390 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_homeOffice_20240719_071431.txt'


syslog

Jul 19 07:11:01 srv4hai CRON[24968]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 07:11:18 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721365878 - 'ping_SP_0'
Jul 19 07:11:18 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 07:11:21 srv4hai nmbd[2172]: [2024/07/19 07:11:21.936920,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 19 07:11:21 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 19 07:11:21 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 19 07:11:21 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 19 07:11:44 srv4hai common[24996]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 19 07:11:54 srv4hai bt_scan[24996]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 19 07:11:54 srv4hai bt_scan[24996]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 19 07:11:54 srv4hai common[25027]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 19 07:11:54 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1721365914-1721365904
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 19 07:11:54 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1721365914-1721365904
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 19 07:11:54 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1721365914-1721365904
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Jul 19 07:11:54 srv4hai check_presence[25027]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 19 07:12:01 srv4hai CRON[25175]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 07:12:32 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721365952 - 'ping_SP_0'
Jul 19 07:12:32 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 07:13:01 srv4hai CRON[25205]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 07:13:45 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721366025 - 'ping_SP_0'
Jul 19 07:13:45 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 07:14:01 srv4hai CRON[25234]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 07:14:08 srv4hai postfix/smtpd[25239]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 07:14:08 srv4hai postfix/smtpd[25239]: connect from unknown[185.208.158.123]
Jul 19 07:14:08 srv4hai postfix/smtpd[25239]: warning: unknown[185.208.158.123]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 19 07:14:08 srv4hai postfix/smtpd[25239]: disconnect from unknown[185.208.158.123] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 19 07:14:30 srv4hai common[25244]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 19 07:14:31 srv4hai activate_scenario[25258]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul 19 07:14:31 srv4hai activate_scenario[25258]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished