activate_scenario.sh
Sun Jun 9 13:49:31 CEST 2024
scenario: vorraumOn
phoneName: 1
vorher: 13:49:31.947
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: 13:49:31.982
Dauer: 36 msec
phName: 'phoneName:'1''
urls : 1
vorher : 13:49:31.896
nachher: 13:49:31.988
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/09//scene_vorraumOn_20240609_134931.txt'
Jun 9 13:46:01 srv4hai CRON[7586]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 13:47:01 srv4hai CRON[7598]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 13:47:20 srv4hai postfix/smtpd[7605]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 9 13:47:20 srv4hai postfix/smtpd[7605]: connect from unknown[109.206.237.17] Jun 9 13:47:20 srv4hai postfix/smtpd[7605]: warning: unknown[109.206.237.17]: SASL LOGIN authentication failed: Invalid authentication mechanism Jun 9 13:47:20 srv4hai postfix/smtpd[7605]: disconnect from unknown[109.206.237.17] ehlo=1 auth=0/1 quit=1 commands=2/3 Jun 9 13:47:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 9 13:47:37 srv4hai fetchmail[1651]: 46027 messages (46027 seen) for tmiglinci at mail.akis.at (-497281894 octets). Jun 9 13:47:37 srv4hai fetchmail[1651]: 10311 messages (10311 seen) for srozum at mail.akis.at (1240103697 octets). Jun 9 13:47:38 srv4hai fetchmail[1651]: 23976 messages (23976 seen) for mrozum at mail.akis.at (-160739523 octets). Jun 9 13:47:38 srv4hai fetchmail[1651]: 105 messages (105 seen) for admin@bastelstube.wien at pop3.world4you.com (40278459 octets). Jun 9 13:48:01 srv4hai CRON[7613]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 13:48:10 srv4hai common[7620]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 9 13:48:10 srv4hai bt_scan[7620]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Jun 9 13:48:10 srv4hai bt_scan[7620]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Jun 9 13:48:10 srv4hai common[7651]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 9 13:48:10 srv4hai ping_SP[7651]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Jun 9 13:48:10 srv4hai common[7672]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 9 13:48:11 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717933691-1717933690 Jun 9 13:48:11 srv4hai check_presence[7672]: 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 Jun 9 13:48:11 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717933691-1717933690 Jun 9 13:48:11 srv4hai check_presence[7672]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 9 13:48:11 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1717933691-1717933690 Jun 9 13:48:11 srv4hai check_presence[7672]: 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 Jun 9 13:48:11 srv4hai check_presence[7672]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Jun 9 13:48:11 srv4hai postfix/pickup[699]: 6AC6160197: uid=33 from=Jun 9 13:48:11 srv4hai postfix/cleanup[7776]: 6AC6160197: message-id=<20240609114811.6AC6160197@mail.viehai.at> Jun 9 13:48:11 srv4hai postfix/qmgr[31004]: 6AC6160197: from= , size=3980, nrcpt=1 (queue active) Jun 9 13:48:11 srv4hai check_presence[7672]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jun 9 13:48:11 srv4hai check_presence[7672]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn Jun 9 13:48:11 srv4hai ping_SP[7651]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Jun 9 13:48:11 srv4hai ping_SP[7651]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1717933691 Jun 9 13:48:12 srv4hai postfix/relay/smtp[7783]: 6AC6160197: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=0.98, delays=0.05/0.01/0.67/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 36EE720103) Jun 9 13:48:12 srv4hai postfix/qmgr[31004]: 6AC6160197: removed Jun 9 13:48:15 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:15 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:15 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:15 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 13:48:15 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 13:48:15 srv4hai common[7815]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 13:48:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 13:48:25 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 13:48:25 srv4hai common[7839]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:27 srv4hai ping_SP[7651]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1717933707 - 'ping_SP_0' Jun 9 13:48:35 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 13:48:35 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:35 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:35 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:35 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 13:48:35 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 13:48:35 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 13:48:35 srv4hai common[7873]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:45 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 13:48:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 13:48:45 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 13:48:45 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 13:48:45 srv4hai named[30406]: client @0x7f931c058e00 192.168.12.252#36799/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 13:48:45 srv4hai common[7898]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 13:48:50 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717933730 - 'ping_SP_0' Jun 9 13:48:50 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 9 13:48:54 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=7927, secured, session= Jun 9 13:48:54 srv4hai dovecot: imap(miglincit)<7927> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 9 13:48:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 13:48:55 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:55 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 9 13:48:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 9 13:48:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 9 13:48:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 9 13:48:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 9 13:48:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 9 13:48:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: signer "rndc-key" approved Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 9 13:48:55 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#48847/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 9 13:48:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 9 13:48:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 9 13:49:01 srv4hai CRON[7937]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 13:49:21 srv4hai common[7947]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 9 13:49:31 srv4hai bt_scan[7947]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Jun 9 13:49:31 srv4hai bt_scan[7947]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62' Jun 9 13:49:31 srv4hai common[7981]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 9 13:49:31 srv4hai ping_SP[7981]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Jun 9 13:49:31 srv4hai common[8002]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 9 13:49:31 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1717933771-1717933768 Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 9 13:49:31 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1717933771-1717933768 Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Jun 9 13:49:31 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1717933771-1717933768 Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jun 9 13:49:31 srv4hai check_presence[8002]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn Jun 9 13:49:31 srv4hai activate_scenario[8150]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 9 13:49:31 srv4hai activate_scenario[8150]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished