activate_scenario.sh
Fri Jul 19 09:16:02 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/07/19/_0.log)

vorher: 09:16:02.250

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: 09:16:02.292
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:16:02.274

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: 09:16:02.312
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 09:16:02.211
nachher: 09:16:02.318
Dauer : 109 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_buero_UM_20240719_091602.txt'


syslog

Jul 19 09:13:01 srv4hai CRON[9737]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 09:13:16 srv4hai postfix/smtpd[9721]: connect from mail.shadowserver.org[154.9.2.12]
Jul 19 09:13:17 srv4hai postfix/smtpd[9721]: 99F3160189: client=mail.shadowserver.org[154.9.2.12]
Jul 19 09:13:17 srv4hai postfix/cleanup[9724]: 99F3160189: message-id=<20240719071312.aZ6kq-autoreports@shadowserver.org>
Jul 19 09:13:17 srv4hai postfix/qmgr[8566]: 99F3160189: from=, size=5477, nrcpt=1 (queue active)
Jul 19 09:13:17 srv4hai postfix/smtpd[9721]: disconnect from mail.shadowserver.org[154.9.2.12] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jul 19 09:13:17 srv4hai postfix/local[9725]: 99F3160189: to=, orig_to=, relay=local, delay=0.19, delays=0.18/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 09:13:17 srv4hai postfix/qmgr[8566]: 99F3160189: removed
Jul 19 09:14:01 srv4hai CRON[9775]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 09:14:07 srv4hai common[9785]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 19 09:14:07 srv4hai bt_scan[9785]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 19 09:14:07 srv4hai bt_scan[9785]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 19 09:14:07 srv4hai common[9816]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 19 09:14:07 srv4hai ping_SP[9816]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 19 09:14:07 srv4hai common[9837]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 19 09:14:07 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721373247-1721373247
Jul 19 09:14:07 srv4hai check_presence[9837]: 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
Jul 19 09:14:07 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721373247-1721373247
Jul 19 09:14:07 srv4hai check_presence[9837]: 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
Jul 19 09:14:07 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721373247-1721373247
Jul 19 09:14:07 srv4hai check_presence[9837]: 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
Jul 19 09:14:07 srv4hai check_presence[9837]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jul 19 09:14:07 srv4hai postfix/pickup[7131]: DB7F66018A: uid=33 from=
Jul 19 09:14:07 srv4hai postfix/cleanup[9724]: DB7F66018A: message-id=<20240719071407.DB7F66018A@mail.viehai.at>
Jul 19 09:14:07 srv4hai postfix/qmgr[8566]: DB7F66018A: from=, size=5638, nrcpt=1 (queue active)
Jul 19 09:14:07 srv4hai check_presence[9837]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 19 09:14:07 srv4hai check_presence[9837]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Jul 19 09:14:07 srv4hai ping_SP[9816]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Jul 19 09:14:08 srv4hai ping_SP[9816]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1721373248
Jul 19 09:14:12 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 09:14:12 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 09:14:12 srv4hai common[9981]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:22 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 09:14:22 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:22 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:22 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:22 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 09:14:22 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 09:14:22 srv4hai common[10014]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:24 srv4hai ping_SP[9816]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1721373264 - 'ping_SP_0'
Jul 19 09:14:32 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 09:14:32 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:32 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:32 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:32 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 09:14:32 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 09:14:32 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 09:14:32 srv4hai common[10048]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:38 srv4hai postfix/relay/smtp[9946]: connect to mx01.nic.name[209.131.159.47]:25: Connection timed out
Jul 19 09:14:38 srv4hai postfix/relay/smtp[9946]: DB7F66018A: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=31, delays=0.01/0.01/31/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 95AEA8011C)
Jul 19 09:14:38 srv4hai postfix/qmgr[8566]: DB7F66018A: removed
Jul 19 09:14:42 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 09:14:42 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:42 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:42 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:42 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 09:14:42 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 09:14:42 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 09:14:42 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#56499/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 09:14:42 srv4hai common[10077]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 09:14:47 srv4hai ping_SP[9816]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721373287 - 'ping_SP_0'
Jul 19 09:14:47 srv4hai ping_SP[9816]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 09:14:52 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 09:14:52 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:52 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/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.
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/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.
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/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.
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: signer "rndc-key" approved
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 19 09:14:52 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#39579/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.
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 09:14:52 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 09:15:01 srv4hai CRON[10127]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 09:15:12 srv4hai named[30406]: connection refused resolving 'alicdn.com/DS/IN': 95.129.202.2#53
Jul 19 09:16:00 srv4hai ping_SP[9816]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721373360 - 'ping_SP_0'
Jul 19 09:16:00 srv4hai ping_SP[9816]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 09:16:01 srv4hai CRON[10176]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 09:16:02 srv4hai activate_scenario[10183]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 19 09:16:02 srv4hai activate_scenario[10183]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished