activate_scenario.sh
Wed Mar 27 18:13:57 CET 2024
scenario: LOG_gehen
source: 192.168.12.103

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

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 18:13:57.390
nachher: 18:13:57.395
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/27//scene_LOG_gehen_20240327_181357.txt'


syslog

Mar 27 18:10:00 srv4hai activate_scenario[28483]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 27 18:10:00 srv4hai activate_scenario[28483]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 27 18:10:00 srv4hai activate_scenario[28483]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 27 18:10:00 srv4hai postfix/pickup[28339]: E74EA6027D: uid=33 from=
Mar 27 18:10:00 srv4hai postfix/cleanup[28536]: E74EA6027D: message-id=<20240327171000.E74EA6027D@mail.viehai.at>
Mar 27 18:10:00 srv4hai postfix/qmgr[15291]: E74EA6027D: from=, size=5132, nrcpt=1 (queue active)
Mar 27 18:10:00 srv4hai activate_scenario[28483]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar 27 18:10:00 srv4hai proc_url[28554]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/27/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 27 18:10:00 srv4hai postfix/local[28549]: E74EA6027D: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 27 18:10:00 srv4hai postfix/cleanup[28536]: EEF04602B8: message-id=<20240327171000.EEF04602B8@mail.viehai.at>
Mar 27 18:10:00 srv4hai activate_scenario[28483]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar 27 18:10:00 srv4hai proc_url[28565]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/27/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 27 18:10:00 srv4hai postfix/bounce[28550]: E74EA6027D: sender non-delivery notification: EEF04602B8
Mar 27 18:10:00 srv4hai postfix/qmgr[15291]: EEF04602B8: from=<>, size=7051, nrcpt=1 (queue active)
Mar 27 18:10:00 srv4hai postfix/qmgr[15291]: E74EA6027D: removed
Mar 27 18:10:00 srv4hai postfix/local[28549]: EEF04602B8: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 27 18:10:00 srv4hai postfix/qmgr[15291]: EEF04602B8: removed
Mar 27 18:10:01 srv4hai activate_scenario[28483]: SHELLY scenario: 'buero_UM(buero_um)' took 80 msec, shelly-40:'Thomas Büro Licht'
Mar 27 18:10:01 srv4hai CRON[28613]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 27 18:10:01 srv4hai CRON[28614]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 18:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 27 18:10:06 srv4hai meter.sh: SHELLY 'shelly-02/Balkon-Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28931, secured, session=<6Oe2eqcUAJgAAAAAAAAAAAAAAAAAAAAB>
Mar 27 18:10:11 srv4hai dovecot: imap(rozumm)<28931><6Oe2eqcUAJgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 18:10:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:14 srv4hai named[15509]: validating poll.gras.samsungdm.com/CNAME: no valid signature found
Mar 27 18:10:15 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 27 18:10:40 srv4hai fetchmail[1651]: 40700 messages (40699 seen) for tmiglinci at mail.akis.at (-913425265 octets).
Mar 27 18:10:40 srv4hai postfix/smtpd[29030]: connect from localhost[127.0.0.1]
Mar 27 18:10:40 srv4hai postfix/smtpd[29030]: 7793960119: client=localhost[127.0.0.1]
Mar 27 18:10:40 srv4hai postfix/cleanup[28536]: 7793960119: message-id=
Mar 27 18:10:40 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:40700 of 40700 (29592 octets) not flushed
Mar 27 18:10:40 srv4hai postfix/qmgr[15291]: 7793960119: from=, size=29865, nrcpt=1 (queue active)
Mar 27 18:10:40 srv4hai postfix/smtpd[29030]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 27 18:10:40 srv4hai postfix/local[28549]: 7793960119: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 27 18:10:40 srv4hai postfix/qmgr[15291]: 7793960119: removed
Mar 27 18:10:40 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:40 srv4hai fetchmail[1651]: 10058 messages (10058 seen) for srozum at mail.akis.at (1215384214 octets).
Mar 27 18:10:41 srv4hai fetchmail[1651]: 22503 messages (22503 seen) for mrozum at mail.akis.at (-394891072 octets).
Mar 27 18:10:42 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 27 18:10:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:48 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:53 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:56 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:10:58 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:11:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 27 18:11:01 srv4hai meter.sh: SHELLY meter.sh ended
Mar 27 18:11:01 srv4hai postfix/pickup[28339]: 856F56027D: uid=33 from=
Mar 27 18:11:01 srv4hai postfix/cleanup[28536]: 856F56027D: message-id=<20240327171101.856F56027D@mail.viehai.at>
Mar 27 18:11:01 srv4hai CRON[29129]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 18:11:01 srv4hai postfix/qmgr[15291]: 856F56027D: from=, size=654, nrcpt=1 (queue active)
Mar 27 18:11:01 srv4hai postfix/local[28549]: 856F56027D: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 27 18:11:01 srv4hai postfix/qmgr[15291]: 856F56027D: removed
Mar 27 18:11:06 srv4hai dhcpd[5037]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:11:06 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:11:06 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 27 18:11:06 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.102
Mar 27 18:11:06 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-02
Mar 27 18:11:06 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:11:06 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#45621/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#49753/key rndc-key: signer "rndc-key" approved
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#49753/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#49753/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#49753/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#49753/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Mar 27 18:11:06 srv4hai dhcpd[5037]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#40091/key rndc-key: signer "rndc-key" approved
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#40091/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Mar 27 18:11:06 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#40091/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Mar 27 18:11:06 srv4hai dhcpd[5037]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Mar 27 18:11:06 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Mar 27 18:11:07 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Mar 27 18:11:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29261, secured, session=
Mar 27 18:11:11 srv4hai dovecot: imap(rozumm)<29261>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 18:12:01 srv4hai CRON[29282]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 18:12:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29293, secured, session=
Mar 27 18:12:11 srv4hai dovecot: imap(rozumm)<29293>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 18:13:01 srv4hai CRON[29315]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 18:13:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29323, secured, session=
Mar 27 18:13:11 srv4hai dovecot: imap(rozumm)<29323>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 18:13:27 srv4hai dhcpd[5037]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:13:27 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:13:27 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 27 18:13:27 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.102
Mar 27 18:13:27 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-02
Mar 27 18:13:27 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:13:27 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#40891/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#41643/key rndc-key: signer "rndc-key" approved
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#41643/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#41643/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#41643/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#41643/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Mar 27 18:13:27 srv4hai dhcpd[5037]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#41799/key rndc-key: signer "rndc-key" approved
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#41799/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Mar 27 18:13:27 srv4hai named[15509]: client @0x7f931008c780 192.168.12.252#41799/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Mar 27 18:13:27 srv4hai dhcpd[5037]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Mar 27 18:13:27 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Mar 27 18:13:28 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Mar 27 18:13:29 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Mar 27 18:13:29 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Mar 27 18:13:57 srv4hai activate_scenario[29467]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Mar 27 18:13:57 srv4hai activate_scenario[29467]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished