activate_scenario.sh
Mon Jul 8 18:14:25 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/08/_0.log)

vorher: 18:14:25.952

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: 18:14:25.985
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:25.967

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


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

vorher: 18:14:25.986

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: 18:14:26.087
Dauer: 101 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.002

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: 18:14:26.086
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.018

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: 18:14:26.067
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.033

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

nachher: 18:14:26.060
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.047

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: 18:14:26.093
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.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": "http"

nachher: 18:14:26.113
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.079

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


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

vorher: 18:14:26.094

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: 18:14:26.264
Dauer: 170 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.108

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: 18:14:26.283
Dauer: 175 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.121

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": 12.72,
  "overpower": false

nachher: 18:14:26.145
Dauer: 25 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.133

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": 12.72,
  "overpower": false

nachher: 18:14:26.195
Dauer: 61 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.147

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: 18:14:26.187
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.161

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: 18:14:26.201
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.173

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

        

nachher: 18:14:29.235
Dauer: 3062 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.186

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: 18:14:26.288
Dauer: 102 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.199

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

nachher: 18:14:26.283
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 18:14:26.213

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


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

urls : 19
vorher : 18:14:25.929
nachher: 18:14:29.245
Dauer : 3316 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/08//scene_homeOffice_20240708_181425.txt'


syslog

Jul  8 18:11:01 srv4hai CRON[25785]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 18:11:14 srv4hai nmbd[2172]: [2024/07/08 18:11:14.461132,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  8 18:11:14 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  8 18:11:14 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  8 18:11:14 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  8 18:11:18 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720455078 - 'ping_SP_0'
Jul  8 18:11:18 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 18:12:01 srv4hai CRON[25819]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 18:12:10 srv4hai postfix/smtpd[25824]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  8 18:12:10 srv4hai postfix/smtpd[25824]: connect from unknown[178.215.236.182]
Jul  8 18:12:10 srv4hai postfix/smtpd[25824]: warning: unknown[178.215.236.182]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  8 18:12:10 srv4hai postfix/smtpd[25824]: disconnect from unknown[178.215.236.182] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  8 18:12:14 srv4hai postfix/smtpd[25824]: connect from unknown[178.215.236.184]
Jul  8 18:12:14 srv4hai postfix/smtpd[25824]: warning: unknown[178.215.236.184]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  8 18:12:14 srv4hai postfix/smtpd[25824]: disconnect from unknown[178.215.236.184] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  8 18:12:19 srv4hai postfix/smtpd[25824]: connect from 94-154-35-194.virtualine.org[94.154.35.194]
Jul  8 18:12:19 srv4hai postfix/smtpd[25824]: warning: 94-154-35-194.virtualine.org[94.154.35.194]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  8 18:12:19 srv4hai postfix/smtpd[25824]: disconnect from 94-154-35-194.virtualine.org[94.154.35.194] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  8 18:12:31 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720455151 - 'ping_SP_0'
Jul  8 18:12:31 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 18:13:01 srv4hai CRON[25862]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 18:13:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  8 18:13:33 srv4hai fetchmail[1651]: 48242 messages (48242 seen) for tmiglinci at mail.akis.at (-312790201 octets).
Jul  8 18:13:34 srv4hai fetchmail[1651]: 10421 messages (10421 seen) for srozum at mail.akis.at (1251134706 octets).
Jul  8 18:13:37 srv4hai fetchmail[1651]: 24628 messages (24628 seen) for mrozum at mail.akis.at (19544369 octets).
Jul  8 18:13:38 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  8 18:13:38 srv4hai common[25888]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  8 18:13:44 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720455224 - 'ping_SP_0'
Jul  8 18:13:44 srv4hai ping_SP[23808]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 18:13:48 srv4hai bt_scan[25888]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul  8 18:13:48 srv4hai bt_scan[25888]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul  8 18:13:48 srv4hai common[25938]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  8 18:13:49 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1720455229-1720455218
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul  8 18:13:49 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1720455229-1720455218
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul  8 18:13:49 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1720455229-1720455218
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jul  8 18:13:49 srv4hai check_presence[25938]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul  8 18:13:59 srv4hai common[26089]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  8 18:14:01 srv4hai CRON[26106]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 18:14:09 srv4hai bt_scan[26089]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul  8 18:14:09 srv4hai bt_scan[26089]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul  8 18:14:21 srv4hai postfix/pickup[24367]: 760736018A: uid=33 from=
Jul  8 18:14:21 srv4hai postfix/cleanup[26194]: 760736018A: message-id=<20240708161421.760736018A@mail.viehai.at>
Jul  8 18:14:21 srv4hai postfix/qmgr[8566]: 760736018A: from=, size=6326, nrcpt=1 (queue active)
Jul  8 18:14:21 srv4hai postfix/local[26207]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul  8 18:14:21 srv4hai proc_url[26212]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/08/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  8 18:14:21 srv4hai postfix/local[26207]: 760736018A: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  8 18:14:21 srv4hai postfix/cleanup[26194]: 7B9696018B: message-id=<20240708161421.7B9696018B@mail.viehai.at>
Jul  8 18:14:21 srv4hai postfix/bounce[26208]: 760736018A: sender non-delivery notification: 7B9696018B
Jul  8 18:14:21 srv4hai postfix/qmgr[8566]: 7B9696018B: from=<>, size=8248, nrcpt=1 (queue active)
Jul  8 18:14:21 srv4hai postfix/qmgr[8566]: 760736018A: removed
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul  8 18:14:21 srv4hai postfix/local[26207]: 7B9696018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  8 18:14:21 srv4hai postfix/qmgr[8566]: 7B9696018B: removed
Jul  8 18:14:21 srv4hai proc_url[26224]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/08/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  8 18:14:21 srv4hai activate_scenario[26141]: SHELLY scenario: 'buero_UM(buero_um)' took 78 msec, shelly-40:'Thomas Büro Licht'
Jul  8 18:14:25 srv4hai activate_scenario[26267]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul  8 18:14:25 srv4hai activate_scenario[26267]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished