activate_scenario.sh
Tue Aug 13 19:16:55 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/08/13/_0.log)

vorher: 19:16:55.838

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: 19:16:55.870
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 19:16:55.855

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: 19:16:55.891
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 19:16:55.812
nachher: 19:16:55.898
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/13//scene_buero_UM_20240813_191655.txt'


syslog

Aug 13 19:13:01 srv4hai CRON[17476]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 19:13:38 srv4hai postfix/smtpd[17485]: connect from unknown[94.141.120.36]
Aug 13 19:13:38 srv4hai postfix/smtpd[17485]: warning: unknown[94.141.120.36]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 13 19:13:38 srv4hai postfix/smtpd[17485]: lost connection after AUTH from unknown[94.141.120.36]
Aug 13 19:13:38 srv4hai postfix/smtpd[17485]: disconnect from unknown[94.141.120.36] ehlo=1 auth=0/1 commands=1/2
Aug 13 19:14:01 srv4hai CRON[17491]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 19:14:29 srv4hai postfix/smtpd[17485]: connect from unknown[94.141.120.212]
Aug 13 19:14:29 srv4hai postfix/smtpd[17485]: warning: unknown[94.141.120.212]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 13 19:14:29 srv4hai postfix/smtpd[17485]: lost connection after AUTH from unknown[94.141.120.212]
Aug 13 19:14:29 srv4hai postfix/smtpd[17485]: disconnect from unknown[94.141.120.212] ehlo=1 auth=0/1 commands=1/2
Aug 13 19:15:01 srv4hai CRON[17502]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 19:15:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 13 19:15:03 srv4hai fetchmail[1651]: 49982 messages (49982 seen) for tmiglinci at mail.akis.at (-156075666 octets).
Aug 13 19:15:03 srv4hai fetchmail[1651]: 10577 messages (10577 seen) for srozum at mail.akis.at (1271068362 octets).
Aug 13 19:15:04 srv4hai fetchmail[1651]: 25293 messages (25293 seen) for mrozum at mail.akis.at (117805183 octets).
Aug 13 19:15:04 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug 13 19:15:29 srv4hai common[17512]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 13 19:15:29 srv4hai bt_scan[17512]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug 13 19:15:29 srv4hai bt_scan[17512]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Aug 13 19:15:29 srv4hai common[17543]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 13 19:15:29 srv4hai ping_SP[17543]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Aug 13 19:15:29 srv4hai common[17564]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 13 19:15:29 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1723569329-1723569329
Aug 13 19:15:29 srv4hai check_presence[17564]: 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
Aug 13 19:15:29 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1723569329-1723569329
Aug 13 19:15:29 srv4hai check_presence[17564]: 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
Aug 13 19:15:29 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1723569329-1723569329
Aug 13 19:15:29 srv4hai check_presence[17564]: 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
Aug 13 19:15:29 srv4hai check_presence[17564]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Aug 13 19:15:29 srv4hai postfix/pickup[7564]: EF63D6345B: uid=33 from=
Aug 13 19:15:29 srv4hai postfix/cleanup[17668]: EF63D6345B: message-id=<20240813171529.EF63D6345B@mail.viehai.at>
Aug 13 19:15:29 srv4hai postfix/qmgr[8566]: EF63D6345B: from=, size=4056, nrcpt=1 (queue active)
Aug 13 19:15:30 srv4hai check_presence[17564]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 13 19:15:30 srv4hai check_presence[17564]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Aug 13 19:15:30 srv4hai ping_SP[17543]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Aug 13 19:15:30 srv4hai ping_SP[17543]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1723569330
Aug 13 19:15:30 srv4hai postfix/relay/smtp[17675]: EF63D6345B: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.98, delays=0.02/0.01/0.7/0.24, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B911B80077)
Aug 13 19:15:30 srv4hai postfix/qmgr[8566]: EF63D6345B: removed
Aug 13 19:15:37 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:37 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:15:37 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 13 19:15:37 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 13 19:15:37 srv4hai common[17712]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:15:46 srv4hai ping_SP[17543]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1723569346 - 'ping_SP_0'
Aug 13 19:15:47 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 13 19:15:47 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:47 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:47 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:15:47 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 13 19:15:47 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 13 19:15:47 srv4hai common[17748]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:15:57 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 13 19:15:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:15:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:15:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 13 19:15:57 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 13 19:15:57 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 13 19:15:57 srv4hai common[17775]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:16:01 srv4hai CRON[17793]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 19:16:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 13 19:16:07 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:16:07 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:16:07 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:16:07 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 13 19:16:07 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 13 19:16:07 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 13 19:16:07 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#53129/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 13 19:16:07 srv4hai common[17808]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 13 19:16:09 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723569369 - 'ping_SP_0'
Aug 13 19:16:09 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 13 19:16:17 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 13 19:16:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:16:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/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 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/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 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/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 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: signer "rndc-key" approved
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 13 19:16:17 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#57589/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 13 19:16:17 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 13 19:16:17 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 13 19:16:54 srv4hai postfix/smtpd[17866]: connect from unknown[94.141.120.36]
Aug 13 19:16:54 srv4hai postfix/smtpd[17866]: warning: unknown[94.141.120.36]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 13 19:16:54 srv4hai postfix/smtpd[17866]: lost connection after AUTH from unknown[94.141.120.36]
Aug 13 19:16:54 srv4hai postfix/smtpd[17866]: disconnect from unknown[94.141.120.36] ehlo=1 auth=0/1 commands=1/2
Aug 13 19:16:55 srv4hai activate_scenario[17871]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 13 19:16:55 srv4hai activate_scenario[17871]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished