activate_scenario.sh
Sat Jul 20 14:35:51 CEST 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/07/20/_0.log)

vorher: 14:35:51.342

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: 14:35:51.411
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 14:35:51.355

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: 14:35:51.387
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 14:35:51.324
nachher: 14:35:51.418
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_buero_UM_20240720_143551.txt'


syslog

Jul 20 14:32:01 srv4hai CRON[26811]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:32:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721478722 - 'ping_SP_1'
Jul 20 14:32:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:33:01 srv4hai CRON[26841]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:33:02 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721478782 - 'ping_SP_0'
Jul 20 14:33:02 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:33:15 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721478795 - 'ping_SP_1'
Jul 20 14:33:15 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:33:41 srv4hai systemd[1]: Started Run anacron jobs.
Jul 20 14:33:41 srv4hai anacron[26883]: Anacron 2.3 started on 2024-07-20
Jul 20 14:33:41 srv4hai anacron[26883]: Normal exit (0 jobs run)
Jul 20 14:33:41 srv4hai systemd[1]: anacron.service: Succeeded.
Jul 20 14:34:01 srv4hai CRON[26892]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:34:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721478856 - 'ping_SP_0'
Jul 20 14:34:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:34:19 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:19 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:20 srv4hai mosquitto[18551]: Client shelly1-E8DB84D2A141 has exceeded timeout, disconnecting.
Jul 20 14:34:20 srv4hai mosquitto[18551]: Socket error on client shelly1-E8DB84D2A141, disconnecting.
Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.113
Jul 20 14:34:21 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-13
Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.113 (192.168.12.252) from 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#45901/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-13.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: signer "rndc-key" approved
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' TXT
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' TXT "00003d87d7ce132fb28c24bab993e73221"
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' A
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#38589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' A 192.168.12.113
Jul 20 14:34:21 srv4hai dhcpd[30731]: Added new forward map from shelly-13.viehai.at to 192.168.12.113
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: signer "rndc-key" approved
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '113.12.168.192.in-addr.arpa' PTR
Jul 20 14:34:21 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#47135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '113.12.168.192.in-addr.arpa' PTR shelly-13.viehai.at.
Jul 20 14:34:21 srv4hai dhcpd[30731]: Added reverse map from 113.12.168.192.in-addr.arpa. to shelly-13.viehai.at
Jul 20 14:34:21 srv4hai common[26923]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 20 14:34:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-13' - shIP/2:'' perform:'conf'
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-13' - shIP/2:'192.168.12.113'
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Thomas Taster' already set for '192.168.12.113'
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(0)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(1)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(2)' - IGNORED
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(3)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:db:84:d2:a1:41 via enp2s0
Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(4)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.105
Jul 20 14:34:23 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-05
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(5)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.105 (192.168.12.252) from e8:db:84:d2:a1:41 via enp2s0
Jul 20 14:34:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#49777/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-05.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: signer "rndc-key" approved
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' TXT
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' TXT "004e6fdd302768338ea9006deb3d485f40"
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' A
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#55983/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' A 192.168.12.105
Jul 20 14:34:23 srv4hai dhcpd[30731]: Added new forward map from shelly-05.viehai.at to 192.168.12.105
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: signer "rndc-key" approved
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '105.12.168.192.in-addr.arpa' PTR
Jul 20 14:34:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#58127/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '105.12.168.192.in-addr.arpa' PTR shelly-05.viehai.at.
Jul 20 14:34:23 srv4hai dhcpd[30731]: Added reverse map from 105.12.168.192.in-addr.arpa. to shelly-05.viehai.at
Jul 20 14:34:23 srv4hai common[27034]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 20 14:34:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-05' - shIP/2:'' perform:'conf'
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(6)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(7)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(8)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(9)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(10)' - allready transmitted - skipping
Jul 20 14:34:23 srv4hai ag: grab_shelly.sh SHELLY shelly-13 - (shelly-BTN): 0% - 1.79V
Jul 20 14:34:24 srv4hai mosquitto[18551]: New connection from 192.168.12.105 on port 1883.
Jul 20 14:34:24 srv4hai mosquitto[18551]: New client connected from 192.168.12.105 as shelly1-E8DB84D2A141 (c1, k60, u'shmqtt').
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-05' - shIP/2:'192.168.12.105'
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe Anne hell' already set for '192.168.12.105'
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(0)' - allready transmitted - skipping
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(1)' - allready transmitted - skipping
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(2)' - allready transmitted - skipping
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(3)' - allready transmitted - skipping
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(4)' - allready transmitted - skipping
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 ON : MISSING
Jul 20 14:34:24 srv4hai conf_shelly.sh: SHELLY:'shelly-05' out:0 OFF: MISSING
Jul 20 14:34:24 srv4hai mosquitto[18551]: Client shellyblugw-08d1f90c8da4 has exceeded timeout, disconnecting.
Jul 20 14:34:24 srv4hai mosquitto[18551]: Socket error on client shellyblugw-08d1f90c8da4, disconnecting.
Jul 20 14:34:28 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721478868 - 'ping_SP_1'
Jul 20 14:34:28 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max connection rate 1/60s for (smtp:89.32.41.138) at Jul 20 14:31:08
Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max connection count 1 for (smtp:89.32.41.138) at Jul 20 14:31:08
Jul 20 14:34:28 srv4hai postfix/anvil[26646]: statistics: max cache size 1 at Jul 20 14:31:08
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul 20 14:34:35 srv4hai postfix/pickup[22604]: 671916018A: uid=33 from=
Jul 20 14:34:35 srv4hai postfix/cleanup[27323]: 671916018A: message-id=<20240720123435.671916018A@mail.viehai.at>
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul 20 14:34:35 srv4hai postfix/qmgr[8566]: 671916018A: from=, size=17266, nrcpt=1 (queue active)
Jul 20 14:34:35 srv4hai proc_url[27339]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/20/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 20 14:34:35 srv4hai postfix/local[27343]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul 20 14:34:35 srv4hai postfix/local[27343]: 671916018A: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 20 14:34:35 srv4hai proc_url[27352]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/20/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul 20 14:34:35 srv4hai postfix/cleanup[27323]: 701F86018B: message-id=<20240720123435.701F86018B@mail.viehai.at>
Jul 20 14:34:35 srv4hai postfix/bounce[27348]: 671916018A: sender non-delivery notification: 701F86018B
Jul 20 14:34:35 srv4hai postfix/qmgr[8566]: 701F86018B: from=<>, size=19188, nrcpt=1 (queue active)
Jul 20 14:34:35 srv4hai postfix/qmgr[8566]: 671916018A: removed
Jul 20 14:34:35 srv4hai postfix/local[27343]: 701F86018B: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 20 14:34:35 srv4hai postfix/qmgr[8566]: 701F86018B: removed
Jul 20 14:34:35 srv4hai activate_scenario[27270]: SHELLY scenario: 'buero_UM(buero_um)' took 174 msec, shelly-40:'Thomas Büro Licht'
Jul 20 14:34:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27396, secured, session=
Jul 20 14:34:50 srv4hai dovecot: imap(miglincit)<27396>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 14:35:01 srv4hai CRON[27400]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 14:35:29 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721478929 - 'ping_SP_0'
Jul 20 14:35:29 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 14:35:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 14:35:34 srv4hai fetchmail[1651]: 49052 messages (49052 seen) for tmiglinci at mail.akis.at (-234507550 octets).
Jul 20 14:35:35 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 14:35:35 srv4hai fetchmail[1651]: 24848 messages (24848 seen) for mrozum at mail.akis.at (54796823 octets).
Jul 20 14:35:36 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 14:35:41 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721478941 - 'ping_SP_1'
Jul 20 14:35:41 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 14:35:51 srv4hai activate_scenario[27448]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 20 14:35:51 srv4hai activate_scenario[27448]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished