activate_scenario.sh
Mon Aug 12 12:25:56 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/08/12/_0.log)

vorher: 12:25:56.166

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: 12:25:56.204
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.179

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: 12:25:56.209
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.191

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: 12:25:56.217
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.206

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: 12:25:56.256
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.220

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: 12:25:56.264
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.233

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: 12:25:56.269
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.246

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: 12:25:56.289
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.259

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: 12:25:56.301
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.273

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: 12:25:56.316
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.289

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: 12:25:56.390
Dauer: 102 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.301

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: 12:25:56.423
Dauer: 122 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.315

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: 12:25:56.385
Dauer: 69 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.330

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: 12:25:56.413
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.344

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: 12:25:56.421
Dauer: 78 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.357

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: 12:25:56.429
Dauer: 73 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.371

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: 12:25:56.449
Dauer: 78 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.384

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: 12:25:56.430
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.399

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: 12:25:56.447
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:25:56.411

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: 12:25:56.558
Dauer: 146 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 12:25:56.131
nachher: 12:25:56.564
Dauer : 435 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/12//scene_homeOffice_20240812_122556.txt'


syslog

Aug 12 12:22:01 srv4hai CRON[22883]: (root) CMD (/etc/linetest/linetest.sh)
Aug 12 12:22:15 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723458135 - 'ping_SP_0'
Aug 12 12:22:15 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 12 12:22:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 12 12:22:29 srv4hai fetchmail[1651]: 49897 messages (49897 seen) for tmiglinci at mail.akis.at (-166270343 octets).
Aug 12 12:22:29 srv4hai fetchmail[1651]: 10573 messages (10573 seen) for srozum at mail.akis.at (1270793612 octets).
Aug 12 12:22:30 srv4hai fetchmail[1651]: 25269 messages (25269 seen) for mrozum at mail.akis.at (111036929 octets).
Aug 12 12:22:30 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug 12 12:23:01 srv4hai CRON[22914]: (root) CMD (/etc/linetest/linetest.sh)
Aug 12 12:23:28 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723458208 - 'ping_SP_0'
Aug 12 12:23:28 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 12 12:24:01 srv4hai CRON[22948]: (root) CMD (/etc/linetest/linetest.sh)
Aug 12 12:24:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22955, secured, session=
Aug 12 12:24:05 srv4hai dovecot: imap(miglincit)<22955>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 12 12:24:41 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723458281 - 'ping_SP_0'
Aug 12 12:24:41 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 12 12:25:01 srv4hai postfix/qmgr[8566]: 0278C6345C: from=<>, size=4505, nrcpt=1 (queue active)
Aug 12 12:25:01 srv4hai CRON[22983]: (root) CMD (/etc/linetest/linetest.sh)
Aug 12 12:25:21 srv4hai postfix/smtp[22981]: 0278C6345C: to=, relay=none, delay=172683, delays=172662/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=jocial.com type=MX: Host not found, try again)
Aug 12 12:25:22 srv4hai common[22991]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 12 12:25:32 srv4hai bt_scan[22991]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 12 12:25:32 srv4hai bt_scan[22991]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 12 12:25:32 srv4hai common[23022]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 12 12:25:32 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1723458332-1723458322
Aug 12 12:25:32 srv4hai check_presence[23022]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 12 12:25:32 srv4hai check_presence[23022]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 12 12:25:32 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1723458332-1723458322
Aug 12 12:25:32 srv4hai check_presence[23022]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Aug 12 12:25:32 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1723458332-1723458322
Aug 12 12:25:32 srv4hai check_presence[23022]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 12 12:25:32 srv4hai check_presence[23022]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 12 12:25:33 srv4hai check_presence[23022]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Aug 12 12:25:33 srv4hai check_presence[23022]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 12 12:25:41 srv4hai common[23171]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 12 12:25:51 srv4hai bt_scan[23171]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug 12 12:25:51 srv4hai bt_scan[23171]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Aug 12 12:25:54 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723458354 - 'ping_SP_0'
Aug 12 12:25:54 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 12 12:25:56 srv4hai activate_scenario[23224]: SHELLY scenario: 'homeOffice(homeoffice)' started
Aug 12 12:25:56 srv4hai activate_scenario[23224]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished