activate_scenario.sh
Sun Apr 21 20:27:08 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103
urls : 0
vorher : 20:27:08.137
nachher: 20:27:08.142
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/21//scene_LOG_kommen_20240421_202708.txt'
Apr 21 20:24:01 srv4hai CRON[31973]: (root) CMD (/etc/linetest/linetest.sh) Apr 21 20:24:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31998, secured, session=<4+z7bp8WKo0AAAAAAAAAAAAAAAAAAAAB> Apr 21 20:24:37 srv4hai dovecot: imap(miglincit)<31998><4+z7bp8WKo0AAAAAAAAAAAAAAAAAAAAB>: 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 21 20:25:00 srv4hai sntp[32021]: sntp 4.2.8p12@1.3728-o (1) Apr 21 20:25:00 srv4hai sntp[32021]: 2024-04-21 20:25:00.655106 (-0100) +0.000224 +/- 0.000256 time.google.com 216.239.35.4 s1 no-leap Apr 21 20:25:01 srv4hai CRON[32027]: (root) CMD (/etc/linetest/linetest.sh) Apr 21 20:25:02 srv4hai ping_SP[3828]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713723902 - 'ping_SP_0' Apr 21 20:25:02 srv4hai ping_SP[3828]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 21 20:25:06 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713723906 - 'ping_SP_1' Apr 21 20:25:06 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 21 20:25:24 srv4hai common[32078]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 21 20:25:34 srv4hai bt_scan[32078]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Apr 21 20:25:34 srv4hai bt_scan[32078]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Apr 21 20:25:34 srv4hai common[32116]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713723935-1713723924 Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1713723935-1713723924 Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713723935-1713723924 Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Apr 21 20:26:01 srv4hai CRON[32251]: (root) CMD (/etc/linetest/linetest.sh) Apr 21 20:26:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 21 20:26:17 srv4hai fetchmail[1651]: 42634 messages (42634 seen) for tmiglinci at mail.akis.at (-745811174 octets). Apr 21 20:26:18 srv4hai fetchmail[1651]: 10158 messages (10158 seen) for srozum at mail.akis.at (1226622622 octets). Apr 21 20:26:18 srv4hai fetchmail[1651]: 23010 messages (23010 seen) for mrozum at mail.akis.at (-309076931 octets). Apr 21 20:26:19 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 21 20:26:19 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713723979 - 'ping_SP_1' Apr 21 20:26:19 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 21 20:26:25 srv4hai ping_SP[3828]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1713723985 - 'ping_SP_0' Apr 21 20:26:57 srv4hai common[32331]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 21 20:26:58 srv4hai ping_SP[3828]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1713724018 - 'ping_SP_0' Apr 21 20:27:01 srv4hai CRON[32362]: (root) CMD (/etc/linetest/linetest.sh) Apr 21 20:27:07 srv4hai bt_scan[32331]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Apr 21 20:27:07 srv4hai bt_scan[32331]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Apr 21 20:27:07 srv4hai common[32388]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Apr 21 20:27:07 srv4hai ping_SP[32388]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Apr 21 20:27:07 srv4hai common[32409]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027 Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027 Apr 21 20:27:07 srv4hai check_presence[32409]: 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 Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027 Apr 21 20:27:07 srv4hai check_presence[32409]: 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 Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn Apr 21 20:27:07 srv4hai activate_scenario[32514]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 21 20:27:07 srv4hai activate_scenario[32514]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Apr 21 20:27:07 srv4hai activate_scenario[32514]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Apr 21 20:27:08 srv4hai postfix/pickup[19701]: 01ECA6022F: uid=33 from= Apr 21 20:27:08 srv4hai postfix/cleanup[32564]: 01ECA6022F: message-id=<20240421182708.01ECA6022F@mail.viehai.at> Apr 21 20:27:08 srv4hai postfix/qmgr[15291]: 01ECA6022F: from= , size=7024, nrcpt=1 (queue active) Apr 21 20:27:08 srv4hai activate_scenario[32514]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Apr 21 20:27:08 srv4hai proc_url[32581]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Apr 21 20:27:08 srv4hai activate_scenario[32514]: SHELLY scenario: 'vorraumOn(vorraumon)' took 65 msec, phoneName:'0' Apr 21 20:27:08 srv4hai ping_SP[32388]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Apr 21 20:27:08 srv4hai ping_SP[32388]: SHELLY - running process-id(32388): '3828 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01232388 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Apr 21 20:27:08 srv4hai activate_scenario[32611]: SHELLY scenario: 'LOG_kommen(log_kommen)' started Apr 21 20:27:08 srv4hai activate_scenario[32611]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished