activate_scenario.sh
Sun Dec 1 15:19:59 CET 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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_0.log)

vorher: 15:19:59.679

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: 15:19:59.726
Dauer: 47 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_1.log)

vorher: 15:19:59.692

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: 15:19:59.737
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 15:19:59.644
nachher: 15:19:59.744
Dauer : 101 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/01//scene_buero_UM_20241201_151959.txt'


syslog

Dec  1 15:16:01 srv4hai CRON[14303]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 15:16:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec  1 15:16:07 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:07 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:07 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:07 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.61
Dec  1 15:16:07 srv4hai dhcpd[21239]: execute_statement argv[2] = fpThomas
Dec  1 15:16:07 srv4hai common[14320]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:09 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733062569 - 'ping_SP_1'
Dec  1 15:16:09 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 15:16:13 srv4hai ping_SP[13988]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1733062573 - 'ping_SP_0'
Dec  1 15:16:17 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec  1 15:16:17 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:17 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:17 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:17 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.61
Dec  1 15:16:17 srv4hai dhcpd[21239]: execute_statement argv[2] = fpThomas
Dec  1 15:16:17 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 15:16:17 srv4hai common[14368]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14388, secured, session=
Dec  1 15:16:23 srv4hai dovecot: imap(rozumm)<14388>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 15:16:27 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec  1 15:16:27 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:27 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:27 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:27 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.61
Dec  1 15:16:27 srv4hai dhcpd[21239]: execute_statement argv[2] = fpThomas
Dec  1 15:16:27 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 15:16:27 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#55725/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 15:16:27 srv4hai common[14400]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec  1 15:16:36 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1733062596 - 'ping_SP_0'
Dec  1 15:16:36 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 15:16:37 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec  1 15:16:37 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:37 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/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.
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/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.
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/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.
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: signer "rndc-key" approved
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec  1 15:16:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#46295/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.
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec  1 15:16:37 srv4hai dhcpd[21239]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec  1 15:17:01 srv4hai CRON[14449]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec  1 15:17:01 srv4hai CRON[14450]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 15:17:22 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733062642 - 'ping_SP_1'
Dec  1 15:17:22 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 15:17:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14480, secured, session=<2bRDFzYojNUAAAAAAAAAAAAAAAAAAAAB>
Dec  1 15:17:23 srv4hai dovecot: imap(rozumm)<14480><2bRDFzYojNUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 15:17:34 srv4hai postfix/anvil[13912]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec  1 15:14:09
Dec  1 15:17:34 srv4hai postfix/anvil[13912]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec  1 15:14:09
Dec  1 15:17:34 srv4hai postfix/anvil[13912]: statistics: max cache size 1 at Dec  1 15:14:09
Dec  1 15:17:49 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733062669 - 'ping_SP_0'
Dec  1 15:17:49 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 15:18:01 srv4hai CRON[14508]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 15:18:02 srv4hai postfix/smtpd[14512]: connect from unknown[80.94.95.239]
Dec  1 15:18:05 srv4hai postfix/smtpd[14512]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  1 15:18:06 srv4hai postfix/smtpd[14512]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  1 15:18:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14520, secured, session=
Dec  1 15:18:06 srv4hai dovecot: imap(miglincit)<14520>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 15:18:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14525, secured, session=<+BTZGjYonNUAAAAAAAAAAAAAAAAAAAAB>
Dec  1 15:18:24 srv4hai dovecot: imap(rozumm)<14525><+BTZGjYonNUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 15:18:36 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733062716 - 'ping_SP_1'
Dec  1 15:18:36 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 15:18:53 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  1 15:18:53 srv4hai fetchmail[1651]: 58180 messages (58179 seen) for tmiglinci at mail.akis.at (487309594 octets).
Dec  1 15:18:53 srv4hai postfix/smtpd[14512]: connect from localhost[127.0.0.1]
Dec  1 15:18:53 srv4hai postfix/smtpd[14512]: BE5B46345A: client=localhost[127.0.0.1]
Dec  1 15:18:53 srv4hai postfix/cleanup[14557]: BE5B46345A: message-id=<20241201141534.1E77363463@mail.viehai.at>
Dec  1 15:18:53 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58180 of 58180 (8755 octets) not flushed
Dec  1 15:18:53 srv4hai postfix/qmgr[8566]: BE5B46345A: from=, size=9057, nrcpt=1 (queue active)
Dec  1 15:18:53 srv4hai postfix/local[14558]: BE5B46345A: to=, relay=local, delay=0.06, delays=0.05/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  1 15:18:53 srv4hai postfix/qmgr[8566]: BE5B46345A: removed
Dec  1 15:18:53 srv4hai postfix/smtpd[14512]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec  1 15:18:59 srv4hai fetchmail[1651]: 11140 messages (11140 seen) for srozum at mail.akis.at (1340692141 octets).
Dec  1 15:19:01 srv4hai CRON[14561]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 15:19:03 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733062743 - 'ping_SP_0'
Dec  1 15:19:03 srv4hai ping_SP[13988]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 15:19:13 srv4hai fetchmail[1651]: 27599 messages (27599 seen) for mrozum at mail.akis.at (458614959 octets).
Dec  1 15:19:14 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  1 15:19:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14585, secured, session=<7k1uHjYouNUAAAAAAAAAAAAAAAAAAAAB>
Dec  1 15:19:24 srv4hai dovecot: imap(rozumm)<14585><7k1uHjYouNUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 15:19:49 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733062789 - 'ping_SP_1'
Dec  1 15:19:49 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 15:19:59 srv4hai activate_scenario[14618]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec  1 15:19:59 srv4hai activate_scenario[14618]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished