activate_scenario.sh
Sat Sep 28 08:49:15 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/09/28/_0.log)

vorher: 08:49:15.791

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

nachher: 08:49:15.821
Dauer: 29 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 08:49:15.741
nachher: 08:49:15.827
Dauer : 88 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/28//scene_pcOFF_20240928_084915.txt'


syslog

Sep 28 08:46:01 srv4hai CRON[20613]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 08:46:01 srv4hai common[20618]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 08:46:05 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727505965 - 'ping_SP_1'
Sep 28 08:46:05 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 08:46:11 srv4hai bt_scan[20618]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 28 08:46:11 srv4hai bt_scan[20618]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 28 08:46:11 srv4hai common[20667]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 28 08:46:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1727505972-1727505961
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 28 08:46:12 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1727505972-1727505961
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 28 08:46:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1727505972-1727505961
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Sep 28 08:46:12 srv4hai check_presence[20667]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 28 08:46:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20816, secured, session=
Sep 28 08:46:13 srv4hai dovecot: imap(miglincit)<20816>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 28 08:46:33 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727505993 - 'ping_SP_0'
Sep 28 08:46:33 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 28 08:46:33 srv4hai common[20838]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 08:46:43 srv4hai bt_scan[20838]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 28 08:46:43 srv4hai bt_scan[20838]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 28 08:46:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 28 08:46:47 srv4hai fetchmail[1651]: 53295 messages (53294 seen) for tmiglinci at mail.akis.at (78735924 octets).
Sep 28 08:46:47 srv4hai postfix/smtpd[20550]: connect from localhost[127.0.0.1]
Sep 28 08:46:47 srv4hai postfix/smtpd[20550]: B33356345A: client=localhost[127.0.0.1]
Sep 28 08:46:47 srv4hai postfix/cleanup[20877]: B33356345A: message-id=
Sep 28 08:46:47 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53295 of 53295 (5600 octets) not flushed
Sep 28 08:46:47 srv4hai postfix/qmgr[8566]: B33356345A: from=, size=5878, nrcpt=1 (queue active)
Sep 28 08:46:47 srv4hai postfix/smtpd[20550]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 28 08:46:47 srv4hai postfix/local[20878]: B33356345A: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 28 08:46:47 srv4hai postfix/qmgr[8566]: B33356345A: removed
Sep 28 08:46:48 srv4hai fetchmail[1651]: 10778 messages (10778 seen) for srozum at mail.akis.at (1306435026 octets).
Sep 28 08:46:48 srv4hai fetchmail[1651]: 26205 messages (26205 seen) for mrozum at mail.akis.at (252286195 octets).
Sep 28 08:46:49 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 28 08:47:01 srv4hai CRON[20882]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 08:47:18 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727506038 - 'ping_SP_1'
Sep 28 08:47:18 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 08:47:33 srv4hai postfix/smtpd[20550]: connect from unknown[94.141.120.236]
Sep 28 08:47:33 srv4hai postfix/smtpd[20550]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 08:47:33 srv4hai postfix/smtpd[20550]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 08:47:46 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727506066 - 'ping_SP_0'
Sep 28 08:47:46 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 28 08:48:01 srv4hai CRON[20936]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 08:48:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20946, secured, session=

Sep 28 08:48:19 srv4hai dovecot: imap(miglincit)<20946>

: Logged out in=758 out=47678 deleted=0 expunged=0 trashed=0 hdr_count=61 hdr_bytes=18453 body_count=0 body_bytes=0 Sep 28 08:48:23 srv4hai common[20951]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 28 08:48:32 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1727506112 - 'ping_SP_1' Sep 28 08:48:32 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 28 08:48:33 srv4hai bt_scan[20951]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Sep 28 08:48:33 srv4hai bt_scan[20951]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Sep 28 08:48:33 srv4hai common[20997]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 28 08:48:34 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1727506114-1727506113 Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Sep 28 08:48:34 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1727506114-1727506113 Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Sep 28 08:48:34 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1727506114-1727506113 Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll) Sep 28 08:48:34 srv4hai check_presence[20997]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Sep 28 08:48:39 srv4hai common[21129]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 28 08:48:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21149, secured, session= Sep 28 08:48:49 srv4hai dovecot: imap(miglincit)<21149>: Logged out in=443 out=3171 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=507 body_count=1 body_bytes=952 Sep 28 08:48:49 srv4hai bt_scan[21129]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Sep 28 08:48:49 srv4hai bt_scan[21129]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Sep 28 08:48:59 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727506139 - 'ping_SP_0' Sep 28 08:48:59 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 28 08:49:01 srv4hai CRON[21189]: (root) CMD (/etc/linetest/linetest.sh) Sep 28 08:49:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21195, secured, session= Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<21195>: Logged out in=758 out=47650 deleted=0 expunged=0 trashed=0 hdr_count=61 hdr_bytes=18453 body_count=0 body_bytes=0 Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<14575>: Logged out in=433713 out=4389914 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=397 body_count=0 body_bytes=0 Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<14574>: Connection closed (IDLE running for 0.008 + waiting input for 21.611 secs, 0.001 in locks, 2 B in + 10 B out, state=wait-input) in=6189 out=1013194 deleted=0 expunged=0 trashed=2 hdr_count=32 hdr_bytes=11730 body_count=32 body_bytes=897039 Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<14578>: Connection closed (IDLE running for 0.001 + waiting input for 24.059 secs, 2 B in + 10 B out, state=wait-input) in=434809 out=4650461 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=377 body_count=2 body_bytes=59204 Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<14577><6MJF4ycjkOHAqAwK>: Connection closed (IDLE running for 0.001 + waiting input for 24.097 secs, 2 B in + 10 B out, state=wait-input) in=435353 out=4557495 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 28 08:49:13 srv4hai dovecot: imap(miglincit)<14579>: Connection closed (IDLE running for 0.001 + waiting input for 24.016 secs, 2 B in + 10 B out, state=wait-input) in=440158 out=4964430 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 28 08:49:15 srv4hai activate_scenario[21200]: SHELLY scenario: 'pcOFF(pcoff)' started Sep 28 08:49:15 srv4hai activate_scenario[21200]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''


finished