activate_scenario.sh
Mon Jan 27 07:06:14 CET 2025
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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_0.log)

vorher: 07:06:14.915

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: 07:06:14.946
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_1.log)

vorher: 07:06:14.933

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: 07:06:15.011
Dauer: 78 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:06:14.890
nachher: 07:06:15.018
Dauer : 128 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/27//scene_buero_UM_20250127_070614.txt'


syslog

Jan 27 07:03:01 srv4hai CRON[22094]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 07:03:26 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737957806 - 'ping_SP_0'
Jan 27 07:03:26 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 07:03:27 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Jan 27 07:03:27 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jan 27 07:03:27 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 27 07:03:27 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Jan 27 07:03:27 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Jan 27 07:03:27 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Jan 27 07:03:27 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#48573/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#52501/key rndc-key: signer "rndc-key" approved
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#52501/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#52501/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#52501/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#52501/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Jan 27 07:03:27 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#36785/key rndc-key: signer "rndc-key" approved
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#36785/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Jan 27 07:03:27 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#36785/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Jan 27 07:03:27 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Jan 27 07:03:27 srv4hai common[22129]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 27 07:03:27 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Jan 27 07:03:28 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Jan 27 07:03:28 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Jan 27 07:03:28 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Jan 27 07:03:38 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Jan 27 07:03:38 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Jan 27 07:03:49 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737957829 - 'ping_SP_1'
Jan 27 07:03:49 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 27 07:03:58 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Jan 27 07:03:58 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 27 07:03:58 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jan 27 07:03:58 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Jan 27 07:03:58 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Jan 27 07:03:58 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Jan 27 07:03:58 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#39767/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#35785/key rndc-key: signer "rndc-key" approved
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#35785/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#35785/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#35785/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#35785/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Jan 27 07:03:58 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54753/key rndc-key: signer "rndc-key" approved
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54753/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Jan 27 07:03:58 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#54753/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Jan 27 07:03:58 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Jan 27 07:03:58 srv4hai common[22273]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jan 27 07:03:58 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Jan 27 07:03:59 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Jan 27 07:03:59 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Jan 27 07:03:59 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Jan 27 07:03:59 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Jan 27 07:03:59 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Jan 27 07:03:59 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Jan 27 07:03:59 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Jan 27 07:04:01 srv4hai CRON[22357]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 07:04:39 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737957879 - 'ping_SP_0'
Jan 27 07:04:39 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 07:05:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22407, secured, session=
Jan 27 07:05:00 srv4hai dovecot: imap(miglincit)<22407>: Logged out in=1675 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 27 07:05:00 srv4hai postfix/anvil[20950]: statistics: max connection rate 1/60s for (smtp:107.173.154.138) at Jan 27 07:00:01
Jan 27 07:05:00 srv4hai postfix/anvil[20950]: statistics: max connection count 1 for (smtp:107.173.154.138) at Jan 27 07:00:01
Jan 27 07:05:00 srv4hai postfix/anvil[20950]: statistics: max cache size 2 at Jan 27 07:00:36
Jan 27 07:05:01 srv4hai CRON[22409]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 07:05:02 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737957902 - 'ping_SP_1'
Jan 27 07:05:02 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 27 07:05:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 27 07:05:03 srv4hai fetchmail[1651]: 62322 messages (62322 seen) for tmiglinci at mail.akis.at (803538721 octets).
Jan 27 07:05:03 srv4hai fetchmail[1651]: 11455 messages (11455 seen) for srozum at mail.akis.at (1363034596 octets).
Jan 27 07:05:04 srv4hai fetchmail[1651]: 28546 messages (28546 seen) for mrozum at mail.akis.at (593331665 octets).
Jan 27 07:05:04 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 27 07:05:13 srv4hai postfix/smtpd[22431]: warning: hostname bresch.surginia.com does not resolve to address 107.174.14.227: Name or service not known
Jan 27 07:05:13 srv4hai postfix/smtpd[22431]: connect from unknown[107.174.14.227]
Jan 27 07:05:17 srv4hai postfix/smtpd[22431]: warning: unknown[107.174.14.227]: SASL PLAIN authentication failed: 
Jan 27 07:05:17 srv4hai postfix/smtpd[22431]: disconnect from unknown[107.174.14.227] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 27 07:05:45 srv4hai postfix/smtpd[22431]: warning: hostname mail1.whauwant.com does not resolve to address 198.46.151.35: Name or service not known
Jan 27 07:05:45 srv4hai postfix/smtpd[22431]: connect from unknown[198.46.151.35]
Jan 27 07:05:49 srv4hai postfix/smtpd[22431]: warning: unknown[198.46.151.35]: SASL PLAIN authentication failed: 
Jan 27 07:05:49 srv4hai postfix/smtpd[22431]: disconnect from unknown[198.46.151.35] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 27 07:05:53 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737957953 - 'ping_SP_0'
Jan 27 07:05:53 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 07:05:53 srv4hai postfix/smtpd[22431]: warning: hostname 107-174-69-100-host.colocrossing.com does not resolve to address 107.174.69.100: Name or service not known
Jan 27 07:05:53 srv4hai postfix/smtpd[22431]: connect from unknown[107.174.69.100]
Jan 27 07:05:57 srv4hai postfix/smtpd[22431]: warning: unknown[107.174.69.100]: SASL PLAIN authentication failed: 
Jan 27 07:05:57 srv4hai postfix/smtpd[22431]: disconnect from unknown[107.174.69.100] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 27 07:06:01 srv4hai CRON[22477]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 07:06:14 srv4hai activate_scenario[22491]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 27 07:06:14 srv4hai activate_scenario[22491]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished