activate_scenario.sh
Wed Sep 25 17:02:22 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/25/_0.log)

vorher: 17:02:22.535

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:02:22.569
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/25/_1.log)

vorher: 17:02:22.548

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:02:22.581
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 17:02:22.516
nachher: 17:02:22.587
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/25//scene_buero_UM_20240925_170222.txt'


syslog

Sep 25 16:59:01 srv4hai CRON[19627]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 25 16:59:08 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 25 16:59:08 srv4hai common[19632]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 25 16:59:08 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 25 16:59:08 srv4hai common[19646]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#49425/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: signer "rndc-key" approved
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#48187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 25 16:59:08 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/key rndc-key: signer "rndc-key" approved
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 25 16:59:08 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#43901/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.
Sep 25 16:59:08 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 25 16:59:08 srv4hai ping_SP[19646]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 25 16:59:14 srv4hai common[19668]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 25 16:59:18 srv4hai common[19691]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 25 16:59:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1727276358-1727276354
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 25 16:59:18 srv4hai check_presence[19691]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 25 16:59:18 srv4hai activate_scenario[19840]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 25 16:59:18 srv4hai activate_scenario[19840]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Sep 25 16:59:18 srv4hai activate_scenario[19840]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Sep 25 16:59:19 srv4hai postfix/pickup[8823]: 04E3C63463: uid=33 from=
Sep 25 16:59:19 srv4hai postfix/cleanup[19890]: 04E3C63463: message-id=<20240925145919.04E3C63463@mail.viehai.at>
Sep 25 16:59:19 srv4hai postfix/qmgr[8566]: 04E3C63463: from=, size=7043, nrcpt=1 (queue active)
Sep 25 16:59:19 srv4hai activate_scenario[19840]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Sep 25 16:59:19 srv4hai proc_url[19907]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/25/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Sep 25 16:59:19 srv4hai activate_scenario[19840]: SHELLY scenario: 'vorraumOn(vorraumon)' took 97 msec, phoneName:'0'
Sep 25 16:59:19 srv4hai ping_SP[19646]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Sep 25 16:59:20 srv4hai postfix/relay/smtp[19903]: 04E3C63463: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=1.5, delays=0.04/0.01/1.2/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4036D80065)
Sep 25 16:59:20 srv4hai postfix/qmgr[8566]: 04E3C63463: removed
Sep 25 16:59:21 srv4hai ping_SP[19646]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1727276361
Sep 25 16:59:24 srv4hai bt_scan[19668]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 25 16:59:24 srv4hai bt_scan[19668]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 25 16:59:34 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1727276374 - 'ping_SP_0'
Sep 25 16:59:34 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 25 17:00:01 srv4hai CRON[19989]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 17:00:01 srv4hai CRON[19990]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 25 17:00:01 srv4hai common[19991]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 25 17:00:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 25 17:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 25 17:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 25 17:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 25 17:00:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 25 17:00:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 25 17:00:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 25 17:00:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 25 17:00:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 25 17:00:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 25 17:00:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 25 17:00:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 25 17:00:16 srv4hai common[20880]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 25 17:00:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 25 17:00:16 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 25 17:00:16 srv4hai meter.sh: SHELLY meter.sh ended
Sep 25 17:00:30 srv4hai postfix/anvil[19604]: statistics: max connection rate 1/60s for (smtp:188.190.10.124) at Sep 25 16:57:09
Sep 25 17:00:30 srv4hai postfix/anvil[19604]: statistics: max connection count 1 for (smtp:188.190.10.124) at Sep 25 16:57:09
Sep 25 17:00:30 srv4hai postfix/anvil[19604]: statistics: max cache size 1 at Sep 25 16:57:09
Sep 25 17:00:47 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727276447 - 'ping_SP_0'
Sep 25 17:00:47 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 25 17:00:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 25 17:00:53 srv4hai fetchmail[1651]: 53059 messages (53058 seen) for tmiglinci at mail.akis.at (65637396 octets).
Sep 25 17:00:53 srv4hai postfix/smtpd[20933]: connect from localhost[127.0.0.1]
Sep 25 17:00:53 srv4hai postfix/smtpd[20933]: 3E0CC631BE: client=localhost[127.0.0.1]
Sep 25 17:00:53 srv4hai postfix/cleanup[19890]: 3E0CC631BE: message-id=<20240925145919.04E3C63463@mail.viehai.at>
Sep 25 17:00:53 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53059 of 53059 (8019 octets) not flushed
Sep 25 17:00:53 srv4hai postfix/qmgr[8566]: 3E0CC631BE: from=, size=8317, nrcpt=1 (queue active)
Sep 25 17:00:53 srv4hai postfix/local[20935]: 3E0CC631BE: to=, relay=local, delay=0.06, delays=0.04/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 25 17:00:53 srv4hai postfix/qmgr[8566]: 3E0CC631BE: removed
Sep 25 17:00:53 srv4hai postfix/smtpd[20933]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 25 17:00:53 srv4hai fetchmail[1651]: 10768 messages (10768 seen) for srozum at mail.akis.at (1305620774 octets).
Sep 25 17:00:54 srv4hai fetchmail[1651]: 26143 messages (26143 seen) for mrozum at mail.akis.at (246229762 octets).
Sep 25 17:00:54 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 25 17:01:01 srv4hai CRON[20943]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 17:02:00 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727276520 - 'ping_SP_0'
Sep 25 17:02:00 srv4hai ping_SP[19646]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 25 17:02:01 srv4hai CRON[20994]: (root) CMD (/etc/linetest/linetest.sh)
Sep 25 17:02:22 srv4hai activate_scenario[21010]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 25 17:02:22 srv4hai activate_scenario[21010]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished