activate_scenario.sh
Tue Sep 24 06:18:26 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 06:18:26.828
http://192.168.12.103/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 06:18:26.869
Dauer: 40 msec
phName: 'phoneName:'0''
urls : 1
vorher : 06:18:26.786
nachher: 06:18:26.875
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/24//scene_vorraumOn_20240924_061826.txt'
Sep 24 06:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 51 Sep 24 06:15:01 srv4hai CRON[12079]: (root) CMD (/etc/linetest/linetest.sh) Sep 24 06:15:04 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727151304 - 'ping_SP_0' Sep 24 06:15:04 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 24 06:15:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 24 06:15:42 srv4hai fetchmail[1651]: 52936 messages (52936 seen) for tmiglinci at mail.akis.at (54933959 octets). Sep 24 06:15:42 srv4hai fetchmail[1651]: 10763 messages (10763 seen) for srozum at mail.akis.at (1305088778 octets). Sep 24 06:15:43 srv4hai fetchmail[1651]: 26103 messages (26103 seen) for mrozum at mail.akis.at (243101102 octets). Sep 24 06:15:44 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets). Sep 24 06:16:01 srv4hai CRON[12102]: (root) CMD (/etc/linetest/linetest.sh) Sep 24 06:16:17 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727151377 - 'ping_SP_0' Sep 24 06:16:17 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 24 06:17:01 srv4hai CRON[12131]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 24 06:17:01 srv4hai CRON[12132]: (root) CMD (/etc/linetest/linetest.sh) Sep 24 06:17:31 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727151451 - 'ping_SP_0' Sep 24 06:17:31 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 24 06:17:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12161, secured, session=<7+nKydUinssAAAAAAAAAAAAAAAAAAAAB> Sep 24 06:17:49 srv4hai dovecot: imap(miglincit)<12161><7+nKydUinssAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 24 06:17:55 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:17:55 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:17:55 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 24 06:17:55 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 24 06:17:55 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 24 06:17:55 srv4hai common[12163]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:01 srv4hai CRON[12176]: (root) CMD (/etc/linetest/linetest.sh) Sep 24 06:18:05 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 24 06:18:05 srv4hai common[12183]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 24 06:18:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 24 06:18:05 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 24 06:18:05 srv4hai common[12196]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:05 srv4hai ping_SP[12183]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 24 06:18:15 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 24 06:18:15 srv4hai common[12224]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 24 06:18:15 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:15 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:15 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:15 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 24 06:18:15 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 24 06:18:15 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 24 06:18:15 srv4hai common[12236]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 24 06:18:15 srv4hai common[12244]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:15 srv4hai ping_SP[12224]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 24 06:18:16 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1727151496-1727151495 Sep 24 06:18:16 srv4hai check_presence[12236]: 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 24 06:18:16 srv4hai check_presence[12236]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 24 06:18:16 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1727151496-1727151495 Sep 24 06:18:16 srv4hai check_presence[12236]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 24 06:18:16 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1727151496-1727151495 Sep 24 06:18:16 srv4hai check_presence[12236]: 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 24 06:18:16 srv4hai check_presence[12236]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Sep 24 06:18:16 srv4hai check_presence[12236]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offDownstairs) - sceneONsmall(vorraumOn) Sep 24 06:18:16 srv4hai check_presence[12236]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Sep 24 06:18:16 srv4hai activate_scenario[12393]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 24 06:18:16 srv4hai activate_scenario[12393]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Sep 24 06:18:16 srv4hai activate_scenario[12393]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Sep 24 06:18:16 srv4hai postfix/pickup[31173]: B5D3463463: uid=33 from= Sep 24 06:18:16 srv4hai postfix/cleanup[12443]: B5D3463463: message-id=<20240924041816.B5D3463463@mail.viehai.at> Sep 24 06:18:16 srv4hai postfix/qmgr[8566]: B5D3463463: from= , size=7206, nrcpt=1 (queue active) Sep 24 06:18:16 srv4hai activate_scenario[12393]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Sep 24 06:18:16 srv4hai proc_url[12460]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/24/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Sep 24 06:18:16 srv4hai activate_scenario[12393]: SHELLY scenario: 'vorraumOn(vorraumon)' took 57 msec, phoneName:'0' Sep 24 06:18:16 srv4hai ping_SP[12183]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Sep 24 06:18:17 srv4hai postfix/relay/smtp[12456]: B5D3463463: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=1.2, delays=0.02/0.01/0.9/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B36386001F) Sep 24 06:18:17 srv4hai postfix/qmgr[8566]: B5D3463463: removed Sep 24 06:18:18 srv4hai ping_SP[12183]: SHELLY - running process-id(12183): '5582 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01212183 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01212224 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01212244 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ============== Sep 24 06:18:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 24 06:18:25 srv4hai common[12500]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 24 06:18:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 24 06:18:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 24 06:18:25 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 24 06:18:25 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#46771/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 24 06:18:25 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#54769/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 24 06:18:25 srv4hai common[12518]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 24 06:18:25 srv4hai common[12520]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 24 06:18:25 srv4hai ping_SP[12500]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 24 06:18:26 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1727151506-1727151495 Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 24 06:18:26 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1727151506-1727151495 Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 24 06:18:26 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1727151506-1727151495 Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Sep 24 06:18:26 srv4hai check_presence[12518]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Sep 24 06:18:26 srv4hai activate_scenario[12688]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 24 06:18:26 srv4hai activate_scenario[12688]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished