activate_scenario.sh
Tue Feb 6 08:21:45 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'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/02/06/_0.log)

vorher: 08:21:45.652

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: 08:21:46.171
Dauer: 518 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:21:45.666

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: 08:21:45.700
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 08:21:45.619
nachher: 08:21:46.178
Dauer : 560 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/06//scene_buero_UM_20240206_082145.txt'


syslog

Feb  6 08:18:01 srv4hai CRON[6940]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 08:18:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  6 08:18:12 srv4hai fetchmail[1651]: 37483 messages (37483 seen) for tmiglinci at mail.akis.at (-1199780661 octets).
Feb  6 08:18:13 srv4hai fetchmail[1651]: 9861 messages (9861 seen) for srozum at mail.akis.at (1190632405 octets).
Feb  6 08:18:13 srv4hai fetchmail[1651]: 21502 messages (21502 seen) for mrozum at mail.akis.at (-608668320 octets).
Feb  6 08:18:14 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  6 08:18:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6961, secured, session=
Feb  6 08:18:52 srv4hai dovecot: imap(miglincit)<6961>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  6 08:19:01 srv4hai CRON[6964]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 08:19:29 srv4hai dhcpd[5037]: DHCPDISCOVER from 3c:61:05:e3:8c:b7 via enp2s0
Feb  6 08:19:29 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.112 to 3c:61:05:e3:8c:b7 via enp2s0
Feb  6 08:19:29 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  6 08:19:29 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.112
Feb  6 08:19:29 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-12
Feb  6 08:19:29 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.112 (192.168.12.252) from 3c:61:05:e3:8c:b7 via enp2s0
Feb  6 08:19:29 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.112 to 3c:61:05:e3:8c:b7 via enp2s0
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#49433/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-12.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#45725/key rndc-key: signer "rndc-key" approved
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#45725/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-12.viehai.at' TXT
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#45725/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-12.viehai.at' TXT "00b5e54a959dbb00191fa75a4a0a4003fa"
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#45725/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-12.viehai.at' A
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc32812c1c0 192.168.12.252#45725/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-12.viehai.at' A 192.168.12.112
Feb  6 08:19:29 srv4hai dhcpd[5037]: Added new forward map from shelly-12.viehai.at to 192.168.12.112
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#57263/key rndc-key: signer "rndc-key" approved
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#57263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '112.12.168.192.in-addr.arpa' PTR
Feb  6 08:19:29 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#57263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '112.12.168.192.in-addr.arpa' PTR shelly-12.viehai.at.
Feb  6 08:19:29 srv4hai dhcpd[5037]: Added reverse map from 112.12.168.192.in-addr.arpa. to shelly-12.viehai.at
Feb  6 08:19:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-12' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-12' - shIP/2:'192.168.12.112'
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY: usage/name 'Schlafzimmer Licht' already set for '192.168.12.112'
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(0)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(1)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(2)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(3)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(4)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(5)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' 'conf(6)' - allready transmitted - skipping
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' out:0 ON : MISSING
Feb  6 08:19:31 srv4hai conf_shelly.sh: SHELLY:'shelly-12' out:0 OFF: MISSING
Feb  6 08:20:01 srv4hai CRON[7138]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 08:20:01 srv4hai CRON[7139]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  6 08:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  6 08:21:01 srv4hai CRON[7491]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 08:21:07 srv4hai meter.sh: SHELLY meter.sh ended
Feb  6 08:21:45 srv4hai trace_events[7525]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240206.txt'
Feb  6 08:21:45 srv4hai activate_scenario[7525]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  6 08:21:45 srv4hai activate_scenario[7525]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished