activate_scenario.sh
Mon Jun 17 19:52:52 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 19:52:52.214
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: 19:52:52.238
Dauer: 24 msec
phName: 'phoneName:'0''
urls : 1
vorher : 19:52:52.197
nachher: 19:52:52.245
Dauer : 48 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/17//scene_vorraumOn_20240617_195252.txt'
Jun 17 19:49:00 srv4hai activate_scenario[12450]: SHELLY scenario: 'offAll(offall)' took 3600 msec, phoneName:'kanaDaham' Jun 17 19:49:01 srv4hai CRON[13438]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 19:49:03 srv4hai proc_url[12569]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12694]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12736]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12754]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12725]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12918]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[12949]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[13210]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai proc_url[13235]: SHELLY: status invalid - length:'0' Jun 17 19:49:03 srv4hai ping_SP[11842]: SHELLY (0)- TERMINATING now Jun 17 19:49:58 srv4hai postfix/smtpd[12273]: connect from unknown[193.32.162.80] Jun 17 19:49:58 srv4hai postfix/smtpd[12273]: warning: unknown[193.32.162.80]: SASL LOGIN authentication failed: Invalid authentication mechanism Jun 17 19:49:58 srv4hai postfix/smtpd[12273]: lost connection after AUTH from unknown[193.32.162.80] Jun 17 19:49:58 srv4hai postfix/smtpd[12273]: disconnect from unknown[193.32.162.80] ehlo=1 auth=0/1 commands=1/2 Jun 17 19:50:01 srv4hai CRON[13469]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 19:50:01 srv4hai CRON[13470]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Jun 17 19:50:01 srv4hai common[13471]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Jun 17 19:50:01 srv4hai meter.sh: SHELLY meter.sh started Jun 17 19:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Jun 17 19:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Jun 17 19:50:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:07 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Jun 17 19:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Jun 17 19:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Jun 17 19:50:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Jun 17 19:50:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Jun 17 19:50:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Jun 17 19:50:17 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Jun 17 19:50:20 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Jun 17 19:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 17 19:50:23 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Jun 17 19:50:23 srv4hai common[14342]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Jun 17 19:50:23 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll' Jun 17 19:50:23 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs Jun 17 19:50:23 srv4hai meter.sh: SHELLY meter.sh ended Jun 17 19:50:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14367, secured, session= Jun 17 19:50:28 srv4hai dovecot: imap(miglincit)<14367> : Logged out in=595 out=40029 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15329 body_count=0 body_bytes=0 Jun 17 19:51:01 srv4hai CRON[14379]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 19:51:18 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:51:18 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:51:18 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 17 19:51:18 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 17 19:51:18 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 17 19:51:18 srv4hai common[14391]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 17 19:51:18 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 17 19:51:18 srv4hai common[14405]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 17 19:51:18 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:51:18 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:51:18 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#40791/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 17 19:51:18 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#37675/key rndc-key: signer "rndc-key" approved Jun 17 19:51:18 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#37675/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 17 19:51:18 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#37675/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 17 19:51:18 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#37675/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 17 19:51:18 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#37675/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 17 19:51:18 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 17 19:51:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#51769/key rndc-key: signer "rndc-key" approved Jun 17 19:51:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#51769/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 17 19:51:18 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#51769/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 17 19:51:18 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 17 19:51:18 srv4hai ping_SP[14405]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 17 19:51:28 srv4hai common[14444]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 17 19:51:29 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718646689-1718646679 Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 17 19:51:29 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718646689-1718646679 Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 17 19:51:29 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1718646689-1718646679 Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jun 17 19:51:29 srv4hai check_presence[14444]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 17 19:51:29 srv4hai activate_scenario[14593]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 17 19:51:29 srv4hai activate_scenario[14593]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jun 17 19:51:29 srv4hai activate_scenario[14593]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jun 17 19:51:29 srv4hai postfix/pickup[30537]: B34F060197: uid=33 from= Jun 17 19:51:29 srv4hai postfix/cleanup[14643]: B34F060197: message-id=<20240617175129.B34F060197@mail.viehai.at> Jun 17 19:51:29 srv4hai postfix/qmgr[31004]: B34F060197: from= , size=31145, nrcpt=1 (queue active) Jun 17 19:51:29 srv4hai activate_scenario[14593]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jun 17 19:51:29 srv4hai proc_url[14660]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/17/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jun 17 19:51:29 srv4hai activate_scenario[14593]: SHELLY scenario: 'vorraumOn(vorraumon)' took 56 msec, phoneName:'0' Jun 17 19:51:29 srv4hai ping_SP[14405]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jun 17 19:51:30 srv4hai postfix/relay/smtp[14656]: B34F060197: to= , relay=mx03.nic.name[209.131.161.54]:25, delay=0.89, delays=0.03/0.01/0.46/0.39, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4467A80058) Jun 17 19:51:30 srv4hai postfix/qmgr[31004]: B34F060197: removed Jun 17 19:51:31 srv4hai ping_SP[14405]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1718646691 Jun 17 19:51:44 srv4hai ping_SP[14405]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1718646704 - 'ping_SP_0' Jun 17 19:51:44 srv4hai ping_SP[14405]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 17 19:51:49 srv4hai postfix/smtpd[14716]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 17 19:51:49 srv4hai postfix/smtpd[14716]: connect from unknown[178.215.236.174] Jun 17 19:51:49 srv4hai postfix/smtpd[14716]: warning: unknown[178.215.236.174]: SASL LOGIN authentication failed: Invalid authentication mechanism Jun 17 19:51:49 srv4hai postfix/smtpd[14716]: disconnect from unknown[178.215.236.174] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Jun 17 19:52:01 srv4hai CRON[14720]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 19:52:31 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:31 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 17 19:52:31 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 17 19:52:31 srv4hai common[14728]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:41 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 17 19:52:41 srv4hai common[14743]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 17 19:52:41 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:41 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 17 19:52:41 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 17 19:52:41 srv4hai common[14756]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:41 srv4hai ping_SP[14743]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 17 19:52:51 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 17 19:52:51 srv4hai common[14787]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 17 19:52:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 17 19:52:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 17 19:52:51 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 17 19:52:51 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#51567/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 17 19:52:51 srv4hai common[14805]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 17 19:52:51 srv4hai common[14808]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 17 19:52:51 srv4hai ping_SP[14787]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 17 19:52:51 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718646771-1718646761 Jun 17 19:52:51 srv4hai check_presence[14805]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 17 19:52:51 srv4hai check_presence[14805]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 17 19:52:52 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718646771-1718646761 Jun 17 19:52:52 srv4hai check_presence[14805]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 17 19:52:52 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718646772-1718646761 Jun 17 19:52:52 srv4hai check_presence[14805]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 17 19:52:52 srv4hai check_presence[14805]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jun 17 19:52:52 srv4hai check_presence[14805]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 17 19:52:52 srv4hai check_presence[14805]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 17 19:52:52 srv4hai activate_scenario[14974]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 17 19:52:52 srv4hai activate_scenario[14974]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished