activate_scenario.sh
Wed Oct 2 22:05:00 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/10/02/_0.log)

vorher: 22:05:00.514

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

nachher: 22:05:00.557
Dauer: 42 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:05:00.459
nachher: 22:05:00.563
Dauer : 105 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/02//scene_bedlight_tom_20241002_220500.txt'


syslog

Oct  2 22:02:01 srv4hai CRON[1838]: (root) CMD (/etc/linetest/linetest.sh)
Oct  2 22:02:23 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727899343 - 'ping_SP_1'
Oct  2 22:02:23 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct  2 22:03:01 srv4hai CRON[1869]: (root) CMD (/etc/linetest/linetest.sh)
Oct  2 22:03:11 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:11 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  2 22:03:11 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  2 22:03:11 srv4hai common[1875]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  2 22:03:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  2 22:03:21 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  2 22:03:21 srv4hai common[1895]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  2 22:03:31 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:31 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  2 22:03:31 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  2 22:03:31 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  2 22:03:31 srv4hai common[1921]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:37 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727899417 - 'ping_SP_1'
Oct  2 22:03:37 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct  2 22:03:41 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  2 22:03:41 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:41 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  2 22:03:41 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  2 22:03:41 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#47471/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  2 22:03:41 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  2 22:03:41 srv4hai common[1955]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  2 22:03:51 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  2 22:03:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/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.
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/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.
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/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.
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: signer "rndc-key" approved
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  2 22:03:51 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#46549/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.
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  2 22:03:51 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  2 22:04:01 srv4hai CRON[1979]: (root) CMD (/etc/linetest/linetest.sh)
Oct  2 22:04:50 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct  2 22:04:50 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727899490 - 'ping_SP_1'
Oct  2 22:04:50 srv4hai ping_SP[11963]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct  2 22:04:50 srv4hai fetchmail[1651]: 53655 messages (53654 seen) for tmiglinci at mail.akis.at (104217118 octets).
Oct  2 22:04:50 srv4hai postfix/smtpd[2006]: connect from localhost[127.0.0.1]
Oct  2 22:04:50 srv4hai postfix/smtpd[2006]: D35A26345A: client=localhost[127.0.0.1]
Oct  2 22:04:50 srv4hai postfix/cleanup[2009]: D35A26345A: message-id=
Oct  2 22:04:50 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53655 of 53655 (147293 octets) not flushed
Oct  2 22:04:50 srv4hai postfix/qmgr[8566]: D35A26345A: from=, size=147545, nrcpt=1 (queue active)
Oct  2 22:04:50 srv4hai postfix/local[2010]: D35A26345A: to=, relay=local, delay=0.13, delays=0.12/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Oct  2 22:04:50 srv4hai postfix/qmgr[8566]: D35A26345A: removed
Oct  2 22:04:50 srv4hai postfix/smtpd[2006]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Oct  2 22:04:51 srv4hai fetchmail[1651]: 10795 messages (10795 seen) for srozum at mail.akis.at (1307613215 octets).
Oct  2 22:04:52 srv4hai fetchmail[1651]: 26315 messages (26314 seen) for mrozum at mail.akis.at (270775488 octets).
Oct  2 22:04:52 srv4hai postfix/smtpd[2006]: connect from localhost[127.0.0.1]
Oct  2 22:04:52 srv4hai postfix/smtpd[2006]: 097CC6345A: client=localhost[127.0.0.1]
Oct  2 22:04:52 srv4hai postfix/cleanup[2009]: 097CC6345A: message-id=<202402102000.zma13e5kj7mrj@jx.d.sender-sib.com>
Oct  2 22:04:52 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:26315 of 26315 (60491 octets) not flushed
Oct  2 22:04:52 srv4hai postfix/qmgr[8566]: 097CC6345A: from=, size=60743, nrcpt=1 (queue active)
Oct  2 22:04:52 srv4hai postfix/local[2010]: 097CC6345A: to=, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Oct  2 22:04:52 srv4hai postfix/smtpd[2006]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Oct  2 22:04:52 srv4hai postfix/qmgr[8566]: 097CC6345A: removed
Oct  2 22:04:52 srv4hai fetchmail[1651]: 1147 messages (1147 seen) for admin@bastelstube.wien at pop3.world4you.com (51928753 octets).
Oct  2 22:05:00 srv4hai activate_scenario[2014]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Oct  2 22:05:00 srv4hai activate_scenario[2014]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished