activate_scenario.sh
Fri Jul 19 17:35:40 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/19/_0.log)

vorher: 17:35:40.736

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:35:40.770
Dauer: 34 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 17:35:40.716
nachher: 17:35:40.777
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_pcOFF_20240719_173540.txt'


syslog

Jul 19 17:32:01 srv4hai CRON[17017]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 17:32:03 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 17:32:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 17:32:03 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 17:32:03 srv4hai common[17032]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:11 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 19 17:32:12 srv4hai fetchmail[1651]: 49006 messages (49005 seen) for tmiglinci at mail.akis.at (-236187899 octets).
Jul 19 17:32:12 srv4hai postfix/smtpd[17054]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 17:32:12 srv4hai postfix/smtpd[17054]: connect from localhost[127.0.0.1]
Jul 19 17:32:12 srv4hai postfix/smtpd[17054]: E38206000F: client=localhost[127.0.0.1]
Jul 19 17:32:12 srv4hai postfix/cleanup[16915]: E38206000F: message-id=<20240719153110.A32FA6018A@mail.viehai.at>
Jul 19 17:32:12 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49006 of 49006 (8033 octets) not flushed
Jul 19 17:32:12 srv4hai postfix/qmgr[8566]: E38206000F: from=, size=8327, nrcpt=1 (queue active)
Jul 19 17:32:12 srv4hai postfix/smtpd[17054]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 19 17:32:12 srv4hai postfix/local[17056]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 17:32:13 srv4hai postfix/local[17056]: E38206000F: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 17:32:13 srv4hai postfix/qmgr[8566]: E38206000F: removed
Jul 19 17:32:13 srv4hai fetchmail[1651]: 10476 messages (10476 seen) for srozum at mail.akis.at (1261603013 octets).
Jul 19 17:32:13 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 17:32:13 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:13 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:13 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:13 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 17:32:13 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 17:32:13 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 17:32:13 srv4hai common[17066]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:13 srv4hai fetchmail[1651]: 24833 messages (24833 seen) for mrozum at mail.akis.at (47229892 octets).
Jul 19 17:32:14 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 19 17:32:16 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1721403136 - 'ping_SP_0'
Jul 19 17:32:16 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 17:32:23 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 17:32:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 19 17:32:23 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 19 17:32:23 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 17:32:23 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#49461/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 17:32:23 srv4hai common[17108]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 19 17:32:33 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 19 17:32:33 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:33 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/key rndc-key: signer "rndc-key" approved
Jul 19 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#41559/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 17:32:33 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 17:32:33 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 19 17:33:01 srv4hai CRON[17137]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 17:33:23 srv4hai postfix/anvil[16081]: statistics: max connection rate 1/60s for (smtp:185.208.158.123) at Jul 19 17:30:03
Jul 19 17:33:23 srv4hai postfix/anvil[16081]: statistics: max connection count 1 for (smtp:185.208.158.123) at Jul 19 17:30:03
Jul 19 17:33:23 srv4hai postfix/anvil[16081]: statistics: max cache size 1 at Jul 19 17:30:03
Jul 19 17:33:29 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721403209 - 'ping_SP_0'
Jul 19 17:33:29 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 17:34:01 srv4hai CRON[17173]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 17:34:20 srv4hai systemd[1]: Started Run anacron jobs.
Jul 19 17:34:20 srv4hai anacron[17180]: Anacron 2.3 started on 2024-07-19
Jul 19 17:34:20 srv4hai anacron[17180]: Normal exit (0 jobs run)
Jul 19 17:34:20 srv4hai systemd[1]: anacron.service: Succeeded.
Jul 19 17:34:42 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721403282 - 'ping_SP_0'
Jul 19 17:34:42 srv4hai ping_SP[16790]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 17:34:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17207, secured, session=
Jul 19 17:34:50 srv4hai dovecot: imap(miglincit)<17207>: Logged out in=639 out=51868 deleted=0 expunged=0 trashed=0 hdr_count=54 hdr_bytes=24647 body_count=0 body_bytes=0
Jul 19 17:35:01 srv4hai CRON[17213]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 17:35:40 srv4hai activate_scenario[17225]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 19 17:35:40 srv4hai activate_scenario[17225]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished