activate_scenario.sh
Sat Aug 24 20:10:43 CEST 2024
scenario: sekr_UM
source: 192.168.12.101
vorher: 20:10:43.190
http://192.168.12.123/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:10:43.220
Dauer: 30 msec
phName: 'shelly-01:'Wandlicht beim Esstisch''
urls : 1
vorher : 20:10:43.152
nachher: 20:10:43.227
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/24//scene_sekr_UM_20240824_201043.txt'
Aug 24 20:07:01 srv4hai CRON[25241]: (root) CMD (/etc/linetest/linetest.sh) Aug 24 20:07:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25251, secured, session= Aug 24 20:07:32 srv4hai dovecot: imap(miglincit)<25251> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 24 20:08:01 srv4hai CRON[25256]: (root) CMD (/etc/linetest/linetest.sh) Aug 24 20:08:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Aug 24 20:08:06 srv4hai fetchmail[1651]: 50734 messages (50734 seen) for tmiglinci at mail.akis.at (-97210118 octets). Aug 24 20:08:06 srv4hai fetchmail[1651]: 10621 messages (10621 seen) for srozum at mail.akis.at (1280611089 octets). Aug 24 20:08:07 srv4hai fetchmail[1651]: 25501 messages (25501 seen) for mrozum at mail.akis.at (153078016 octets). Aug 24 20:08:07 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets). Aug 24 20:08:43 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:43 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:44 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:44 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:44 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Aug 24 20:08:44 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Aug 24 20:08:44 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Aug 24 20:08:44 srv4hai common[25263]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Aug 24 20:08:44 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Aug 24 20:08:44 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:44 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Aug 24 20:08:44 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#39567/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Aug 24 20:08:44 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#44387/key rndc-key: signer "rndc-key" approved Aug 24 20:08:44 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#44387/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT Aug 24 20:08:44 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#44387/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0" Aug 24 20:08:44 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#44387/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A Aug 24 20:08:44 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#44387/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62 Aug 24 20:08:44 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62 Aug 24 20:08:44 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#39265/key rndc-key: signer "rndc-key" approved Aug 24 20:08:44 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#39265/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR Aug 24 20:08:44 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#39265/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at. Aug 24 20:08:44 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at Aug 24 20:08:47 srv4hai named[30406]: validating onion/SOA: got insecure response; parent indicates it should be secure Aug 24 20:08:47 srv4hai named[30406]: no valid RRSIG resolving 'com.onion/DS/IN': 95.129.201.1#53 Aug 24 20:08:47 srv4hai named[30406]: validating onion/SOA: got insecure response; parent indicates it should be secure Aug 24 20:08:47 srv4hai named[30406]: no valid RRSIG resolving 'google.com.onion/DS/IN': 95.129.201.1#53 Aug 24 20:08:47 srv4hai named[30406]: insecurity proof failed resolving 'google.com.onion/A/IN': 95.129.201.1#53 Aug 24 20:08:49 srv4hai named[30406]: validating poll.gras.samsungdm.com/CNAME: no valid signature found Aug 24 20:09:01 srv4hai CRON[25286]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Aug 24 20:09:01 srv4hai CRON[25287]: (root) CMD (/etc/linetest/linetest.sh) Aug 24 20:09:01 srv4hai systemd[1]: Starting Clean php session files... Aug 24 20:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Aug 24 20:09:01 srv4hai systemd[1]: Started Clean php session files. Aug 24 20:09:49 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Aug 24 20:09:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Aug 24 20:09:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Aug 24 20:09:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Aug 24 20:09:49 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Aug 24 20:09:49 srv4hai common[25385]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Aug 24 20:09:49 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Aug 24 20:09:49 srv4hai common[25399]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Aug 24 20:09:49 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Aug 24 20:09:49 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Aug 24 20:09:49 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#47055/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Aug 24 20:09:49 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#47917/key rndc-key: signer "rndc-key" approved Aug 24 20:09:49 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#47917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Aug 24 20:09:49 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#47917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Aug 24 20:09:49 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#47917/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Aug 24 20:09:49 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#47917/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Aug 24 20:09:49 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Aug 24 20:09:49 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#56955/key rndc-key: signer "rndc-key" approved Aug 24 20:09:49 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#56955/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Aug 24 20:09:49 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#56955/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. Aug 24 20:09:49 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Aug 24 20:09:49 srv4hai ping_SP[25399]: SHELLY ping_SP.sh started from smartphone, user:'root' Aug 24 20:09:59 srv4hai common[25431]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Aug 24 20:10:01 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Aug 24 20:10:01 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Aug 24 20:10:01 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=- Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Aug 24 20:10:01 srv4hai CRON[25510]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Aug 24 20:10:01 srv4hai CRON[25512]: (root) CMD (/etc/linetest/linetest.sh) Aug 24 20:10:01 srv4hai common[25516]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Aug 24 20:10:01 srv4hai meter.sh: SHELLY meter.sh started Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Aug 24 20:10:01 srv4hai check_presence[25431]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Aug 24 20:10:01 srv4hai activate_scenario[25576]: SHELLY scenario: 'vorraumOn(vorraumon)' started Aug 24 20:10:01 srv4hai activate_scenario[25576]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Aug 24 20:10:01 srv4hai activate_scenario[25576]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Aug 24 20:10:01 srv4hai postfix/pickup[25629]: 9E05E63460: uid=33 from= Aug 24 20:10:01 srv4hai postfix/cleanup[25637]: 9E05E63460: message-id=<20240824181001.9E05E63460@mail.viehai.at> Aug 24 20:10:01 srv4hai postfix/qmgr[8566]: 9E05E63460: from= , size=10799, nrcpt=1 (queue active) Aug 24 20:10:01 srv4hai activate_scenario[25576]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Aug 24 20:10:01 srv4hai proc_url[25667]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/24/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Aug 24 20:10:01 srv4hai activate_scenario[25576]: SHELLY scenario: 'vorraumOn(vorraumon)' took 55 msec, phoneName:'0' Aug 24 20:10:01 srv4hai ping_SP[25399]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Aug 24 20:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Aug 24 20:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Aug 24 20:10:03 srv4hai ping_SP[25399]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1724523003 Aug 24 20:10:04 srv4hai postfix/relay/smtp[25661]: 9E05E63460: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=3, delays=0.02/0.01/2.3/0.69, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 05A286009A) Aug 24 20:10:04 srv4hai postfix/qmgr[8566]: 9E05E63460: removed Aug 24 20:10:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Aug 24 20:10:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Aug 24 20:10:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Aug 24 20:10:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Aug 24 20:10:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Aug 24 20:10:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Aug 24 20:10:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Aug 24 20:10:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1': OFFLINE, resp. not answering within connect-timeout 2.500000s Aug 24 20:10:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Aug 24 20:10:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Aug 24 20:10:16 srv4hai common[26521]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Aug 24 20:10:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn' Aug 24 20:10:16 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs Aug 24 20:10:16 srv4hai meter.sh: SHELLY meter.sh ended Aug 24 20:10:16 srv4hai ping_SP[25399]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1724523016 - 'ping_SP_0' Aug 24 20:10:16 srv4hai ping_SP[25399]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Aug 24 20:10:32 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=26563, secured, session= Aug 24 20:10:32 srv4hai dovecot: imap(miglincit)<26563> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 24 20:10:43 srv4hai activate_scenario[26568]: SHELLY scenario: 'sekr_UM(sekr_um)' started Aug 24 20:10:43 srv4hai activate_scenario[26568]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
finished