activate_scenario.sh
Mon Apr 15 15:54:22 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/04/15/_0.log)

vorher: 15:54:22.234

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: 15:54:22.339
Dauer: 106 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_1.log)

vorher: 15:54:22.248

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: 15:54:22.331
Dauer: 84 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_2.log)

vorher: 15:54:22.260

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: 15:54:22.327
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_3.log)

vorher: 15:54:22.271

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: 15:54:22.329
Dauer: 58 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_4.log)

vorher: 15:54:22.283

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: 15:54:22.327
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.295

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: 15:54:22.350
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.307

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: 15:54:22.483
Dauer: 176 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_7.log)

vorher: 15:54:22.320

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: 15:54:22.358
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.334

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: 15:54:22.368
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.350

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


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_10.log)

vorher: 15:54:22.369

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: 15:54:22.461
Dauer: 92 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.382

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

nachher: 15:54:22.530
Dauer: 148 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.396

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

nachher: 15:54:22.527
Dauer: 132 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.410

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: 15:54:22.435
Dauer: 25 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.425

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: 15:54:22.493
Dauer: 69 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_15.log)

vorher: 15:54:22.440

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

nachher: 15:54:22.469
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:54:22.453

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: 15:54:22.477
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_17.log)

vorher: 15:54:22.466

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: 15:54:22.609
Dauer: 142 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/15/_18.log)

vorher: 15:54:22.480

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: 15:54:22.521
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 15:54:22.215
nachher: 15:54:22.617
Dauer : 402 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/15//scene_homeOffice_20240415_155422.txt'


syslog

Apr 15 15:51:01 srv4hai CRON[24184]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 15:51:20 srv4hai postfix/smtpd[24171]: warning: hostname scanner-205.hk2.censys-scanner.com does not resolve to address 199.45.154.65: Name or service not known
Apr 15 15:51:20 srv4hai postfix/smtpd[24171]: connect from unknown[199.45.154.65]
Apr 15 15:51:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24198, secured, session=<5r+v6iIWPrYAAAAAAAAAAAAAAAAAAAAB>
Apr 15 15:51:22 srv4hai dovecot: imap(miglincit)<24198><5r+v6iIWPrYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 15:51:25 srv4hai postfix/smtpd[24171]: lost connection after STARTTLS from unknown[199.45.154.65]
Apr 15 15:51:25 srv4hai postfix/smtpd[24171]: disconnect from unknown[199.45.154.65] ehlo=1 starttls=1 commands=2
Apr 15 15:51:27 srv4hai postfix/smtpd[24171]: connect from unknown[87.120.84.171]
Apr 15 15:51:27 srv4hai postfix/smtpd[24171]: warning: unknown[87.120.84.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 15 15:51:27 srv4hai postfix/smtpd[24171]: disconnect from unknown[87.120.84.171] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 15 15:51:28 srv4hai postfix/smtpd[24171]: warning: hostname scanner-205.hk2.censys-scanner.com does not resolve to address 199.45.154.65: Name or service not known
Apr 15 15:51:28 srv4hai postfix/smtpd[24171]: connect from unknown[199.45.154.65]
Apr 15 15:51:28 srv4hai postfix/smtpd[24171]: lost connection after UNKNOWN from unknown[199.45.154.65]
Apr 15 15:51:28 srv4hai postfix/smtpd[24171]: disconnect from unknown[199.45.154.65] unknown=0/1 commands=0/1
Apr 15 15:51:30 srv4hai postfix/smtpd[24171]: warning: hostname scanner-205.hk2.censys-scanner.com does not resolve to address 199.45.154.65: Name or service not known
Apr 15 15:51:30 srv4hai postfix/smtpd[24171]: connect from unknown[199.45.154.65]
Apr 15 15:51:30 srv4hai postfix/smtpd[24171]: lost connection after UNKNOWN from unknown[199.45.154.65]
Apr 15 15:51:30 srv4hai postfix/smtpd[24171]: disconnect from unknown[199.45.154.65] unknown=0/1 commands=0/1
Apr 15 15:51:31 srv4hai postfix/smtpd[24171]: warning: hostname scanner-205.hk2.censys-scanner.com does not resolve to address 199.45.154.65: Name or service not known
Apr 15 15:51:31 srv4hai postfix/smtpd[24171]: connect from unknown[199.45.154.65]
Apr 15 15:51:32 srv4hai postfix/smtpd[24171]: lost connection after UNKNOWN from unknown[199.45.154.65]
Apr 15 15:51:32 srv4hai postfix/smtpd[24171]: disconnect from unknown[199.45.154.65] unknown=0/1 commands=0/1
Apr 15 15:51:33 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713189093 - 'ping_SP_0'
Apr 15 15:51:33 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 15:51:34 srv4hai postfix/smtpd[24171]: warning: hostname scanner-205.hk2.censys-scanner.com does not resolve to address 199.45.154.65: Name or service not known
Apr 15 15:51:34 srv4hai postfix/smtpd[24171]: connect from unknown[199.45.154.65]
Apr 15 15:51:35 srv4hai postfix/smtpd[24171]: lost connection after UNKNOWN from unknown[199.45.154.65]
Apr 15 15:51:35 srv4hai postfix/smtpd[24171]: disconnect from unknown[199.45.154.65] unknown=0/1 commands=0/1
Apr 15 15:51:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24232, secured, session=
Apr 15 15:51:41 srv4hai dovecot: imap(miglincit)<24232>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 15:52:01 srv4hai CRON[24245]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 15:52:46 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713189166 - 'ping_SP_0'
Apr 15 15:52:46 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 15:52:49 srv4hai common[24290]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 15 15:52:59 srv4hai bt_scan[24290]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 15 15:52:59 srv4hai bt_scan[24290]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 15 15:52:59 srv4hai common[24326]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 15 15:52:59 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713189179-1713189169
Apr 15 15:52:59 srv4hai check_presence[24326]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 15 15:52:59 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713189179-1713189169
Apr 15 15:52:59 srv4hai check_presence[24326]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 15 15:52:59 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713189179-1713189169
Apr 15 15:52:59 srv4hai check_presence[24326]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 15 15:52:59 srv4hai check_presence[24326]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 15 15:52:59 srv4hai check_presence[24326]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 15 15:53:01 srv4hai CRON[24446]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 15:53:59 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713189239 - 'ping_SP_0'
Apr 15 15:53:59 srv4hai ping_SP[29809]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 15:54:01 srv4hai CRON[24490]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 15:54:13 srv4hai common[24505]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 15 15:54:22 srv4hai activate_scenario[24518]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 15 15:54:22 srv4hai activate_scenario[24518]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished