activate_scenario.sh
Fri Sep 13 16:03:09 CEST 2024
scenario: sekr_UM
source: 192.168.12.110

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log)

vorher: 16:03:09.150

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: 16:03:09.178
Dauer: 29 msec phName: 'shelly-10:'WZ Bücherregal''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 16:03:09.106
nachher: 16:03:09.184
Dauer : 80 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_sekr_UM_20240913_160309.txt'


syslog

Sep 13 16:00:01 srv4hai CRON[7569]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 16:00:01 srv4hai CRON[7570]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 13 16:00:01 srv4hai common[7571]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 13 16:00:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 13 16:00:04 srv4hai meter.sh: SHELLY 'shelly-22/WC':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 16:00:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 13 16:00:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 13 16:00:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 13 16:00:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 13 16:00:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 13 16:00:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 13 16:00:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 13 16:00:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 16:00:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 16:00:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 13 16:00:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 13 16:00:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 13 16:00:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 13 16:00:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 13 16:00:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 16:00:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 13 16:00:17 srv4hai common[8459]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 13 16:00:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Sep 13 16:00:17 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Sep 13 16:00:17 srv4hai meter.sh: SHELLY meter.sh ended
Sep 13 16:01:01 srv4hai CRON[8497]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 16:01:37 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 13 16:01:38 srv4hai fetchmail[1651]: 52252 messages (52252 seen) for tmiglinci at mail.akis.at (7698469 octets).
Sep 13 16:01:38 srv4hai fetchmail[1651]: 10716 messages (10716 seen) for srozum at mail.akis.at (1301407812 octets).
Sep 13 16:01:39 srv4hai fetchmail[1651]: 25892 messages (25892 seen) for mrozum at mail.akis.at (208057424 octets).
Sep 13 16:01:39 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 13 16:02:01 srv4hai CRON[8520]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 16:02:31 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Sep 13 16:02:31 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Sep 13 16:02:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 13 16:02:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Sep 13 16:02:31 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Sep 13 16:02:31 srv4hai common[8526]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 13 16:02:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Sep 13 16:02:31 srv4hai common[8540]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 16:02:31 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Sep 13 16:02:31 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#51671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#47275/key rndc-key: signer "rndc-key" approved
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#47275/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#47275/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#47275/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#47275/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Sep 13 16:02:31 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#39929/key rndc-key: signer "rndc-key" approved
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#39929/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Sep 13 16:02:31 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#39929/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.
Sep 13 16:02:31 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Sep 13 16:02:31 srv4hai ping_SP[8540]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 13 16:02:41 srv4hai common[8576]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 16:02:41 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1726236161-1726236152
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 13 16:02:41 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1726236161-1726236152
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 13 16:02:41 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1726236161-1726236152
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 13 16:02:41 srv4hai check_presence[8576]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn
Sep 13 16:02:42 srv4hai activate_scenario[8724]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 16:02:42 srv4hai activate_scenario[8724]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
Sep 13 16:02:42 srv4hai activate_scenario[8724]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1'
Sep 13 16:02:42 srv4hai postfix/pickup[1165]: 0CE586345B: uid=33 from=
Sep 13 16:02:42 srv4hai postfix/cleanup[8774]: 0CE586345B: message-id=<20240913140242.0CE586345B@mail.viehai.at>
Sep 13 16:02:42 srv4hai postfix/qmgr[8566]: 0CE586345B: from=, size=9720, nrcpt=1 (queue active)
Sep 13 16:02:42 srv4hai activate_scenario[8724]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Sep 13 16:02:42 srv4hai proc_url[8791]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1''
Sep 13 16:02:42 srv4hai activate_scenario[8724]: SHELLY scenario: 'vorraumOn(vorraumon)' took 140 msec, phoneName:'1'
Sep 13 16:02:42 srv4hai ping_SP[8540]: SHELLY check_presence.sh coming 1 ping_SP__smartphone
Sep 13 16:02:42 srv4hai postfix/relay/smtp[8787]: 0CE586345B: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.93, delays=0.04/0.02/0.61/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BB87C800A0)
Sep 13 16:02:42 srv4hai postfix/qmgr[8566]: 0CE586345B: removed
Sep 13 16:02:44 srv4hai ping_SP[8540]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1726236164
Sep 13 16:02:57 srv4hai ping_SP[8540]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1726236177 - 'ping_SP_1'
Sep 13 16:02:57 srv4hai ping_SP[8540]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 16:03:01 srv4hai CRON[8848]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 16:03:09 srv4hai activate_scenario[8854]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Sep 13 16:03:09 srv4hai activate_scenario[8854]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'

finished