activate_scenario.sh
Tue Jan 30 07:19:47 CET 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> 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/01/30/_0.log)

vorher: 07:19:47.680

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

nachher: 07:19:47.907
Dauer: 226 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:19:47.693

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

nachher: 07:19:47.730
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 07:19:47.661
nachher: 07:19:47.914
Dauer : 254 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/30//scene_buero_UM_20240130_071947.txt'


syslog

Jan 30 07:16:01 srv4hai CRON[29495]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 07:17:01 srv4hai CRON[29507]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jan 30 07:17:01 srv4hai CRON[29508]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jan 30 07:17:24 srv4hai postfix/pickup[22785]: A83EC60244: uid=33 from=
Jan 30 07:17:24 srv4hai postfix/cleanup[29567]: A83EC60244: message-id=<20240130061724.A83EC60244@mail.viehai.at>
Jan 30 07:17:24 srv4hai postfix/qmgr[28610]: A83EC60244: from=, size=2007, nrcpt=1 (queue active)
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jan 30 07:17:24 srv4hai proc_url[29584]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/30/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jan 30 07:17:24 srv4hai postfix/local[29580]: A83EC60244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 30 07:17:24 srv4hai postfix/cleanup[29567]: B00CC60245: message-id=<20240130061724.B00CC60245@mail.viehai.at>
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jan 30 07:17:24 srv4hai postfix/bounce[29591]: A83EC60244: sender non-delivery notification: B00CC60245
Jan 30 07:17:24 srv4hai postfix/qmgr[28610]: B00CC60245: from=<>, size=3926, nrcpt=1 (queue active)
Jan 30 07:17:24 srv4hai postfix/qmgr[28610]: A83EC60244: removed
Jan 30 07:17:24 srv4hai proc_url[29596]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/30/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jan 30 07:17:24 srv4hai postfix/local[29580]: B00CC60245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 30 07:17:24 srv4hai postfix/qmgr[28610]: B00CC60245: removed
Jan 30 07:17:24 srv4hai activate_scenario[29517]: SHELLY scenario: 'buero_UM(buero_um)' took 82 msec, shelly-40:'Thomas Büro Licht'
Jan 30 07:18:01 srv4hai CRON[29641]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 07:18:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 30 07:18:30 srv4hai fetchmail[1651]: 36728 messages (36727 seen) for tmiglinci at mail.akis.at (-1240985742 octets).
Jan 30 07:18:31 srv4hai postfix/smtpd[29648]: connect from localhost[127.0.0.1]
Jan 30 07:18:31 srv4hai postfix/smtpd[29648]: 047BC60119: client=localhost[127.0.0.1]
Jan 30 07:18:31 srv4hai postfix/cleanup[29567]: 047BC60119: message-id=<5x88fdrs6zz7.1b4cfate8bvs9@kanzlei.st>
Jan 30 07:18:31 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:36728 of 36728 (57529 octets) not flushed
Jan 30 07:18:31 srv4hai postfix/qmgr[28610]: 047BC60119: from=, size=57806, nrcpt=1 (queue active)
Jan 30 07:18:31 srv4hai postfix/smtpd[29648]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 30 07:18:31 srv4hai postfix/local[29580]: 047BC60119: to=, relay=local, delay=0.09, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 30 07:18:31 srv4hai postfix/qmgr[28610]: 047BC60119: removed
Jan 30 07:18:31 srv4hai fetchmail[1651]: 9824 messages (9824 seen) for srozum at mail.akis.at (1187599969 octets).
Jan 30 07:18:32 srv4hai fetchmail[1651]: 21383 messages (21383 seen) for mrozum at mail.akis.at (-676007527 octets).
Jan 30 07:18:32 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Jan 30 07:18:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29654, secured, session=
Jan 30 07:18:50 srv4hai dovecot: imap(miglincit)<29654>: Logged out in=434 out=39479 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=16068 body_count=0 body_bytes=0
Jan 30 07:19:00 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Jan 30 07:19:00 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Jan 30 07:19:00 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 30 07:19:00 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Jan 30 07:19:00 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Jan 30 07:19:00 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Jan 30 07:19:00 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#38071/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#56151/key rndc-key: signer "rndc-key" approved
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#56151/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#56151/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#56151/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc31c041220 192.168.12.252#56151/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Jan 30 07:19:00 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#40213/key rndc-key: signer "rndc-key" approved
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#40213/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Jan 30 07:19:00 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#40213/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Jan 30 07:19:00 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Jan 30 07:19:00 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Jan 30 07:19:01 srv4hai CRON[29663]: (root) CMD (/etc/linetest/linetest.sh)
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Jan 30 07:19:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Jan 30 07:19:47 srv4hai activate_scenario[29812]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 30 07:19:47 srv4hai activate_scenario[29812]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished