activate_scenario.sh
Sun Aug 18 19:37:21 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/08/18/_0.log)

vorher: 19:37:21.275

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: 19:37:21.348
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 19:37:21.290

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: 19:37:21.380
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 19:37:21.254
nachher: 19:37:21.388
Dauer : 135 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/18//scene_buero_UM_20240818_193721.txt'


syslog

Aug 18 19:34:01 srv4hai CRON[8760]: (root) CMD (/etc/linetest/linetest.sh)
Aug 18 19:34:40 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 18 19:34:41 srv4hai fetchmail[1651]: 50270 messages (50270 seen) for tmiglinci at mail.akis.at (-139381031 octets).
Aug 18 19:34:41 srv4hai fetchmail[1651]: 10596 messages (10596 seen) for srozum at mail.akis.at (1273032502 octets).
Aug 18 19:34:42 srv4hai fetchmail[1651]: 25376 messages (25376 seen) for mrozum at mail.akis.at (132189802 octets).
Aug 18 19:34:42 srv4hai fetchmail[1651]: 1140 messages (1140 seen) for admin@bastelstube.wien at pop3.world4you.com (51587871 octets).
Aug 18 19:34:51 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724002491 - 'ping_SP_0'
Aug 18 19:34:51 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 18 19:34:51 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug 18 19:34:51 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:34:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:34:51 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug 18 19:34:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug 18 19:34:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug 18 19:34:51 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug 18 19:34:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:34:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#44511/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#43789/key rndc-key: signer "rndc-key" approved
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#43789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#43789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#43789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#43789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug 18 19:34:51 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#39931/key rndc-key: signer "rndc-key" approved
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#39931/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug 18 19:34:51 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#39931/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Aug 18 19:34:51 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug 18 19:34:51 srv4hai common[8791]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug 18 19:34:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug 18 19:34:51 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug 18 19:34:52 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug 18 19:34:52 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Aug 18 19:34:52 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Aug 18 19:34:52 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug 18 19:34:52 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug 18 19:34:52 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug 18 19:35:01 srv4hai CRON[8841]: (root) CMD (/etc/linetest/linetest.sh)
Aug 18 19:35:13 srv4hai postfix/anvil[8677]: statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 18 19:31:53
Aug 18 19:35:13 srv4hai postfix/anvil[8677]: statistics: max connection count 1 for (smtp:178.215.236.137) at Aug 18 19:31:53
Aug 18 19:35:13 srv4hai postfix/anvil[8677]: statistics: max cache size 1 at Aug 18 19:31:53
Aug 18 19:35:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8855, secured, session=
Aug 18 19:35:54 srv4hai dovecot: imap(miglincit)<8855>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 18 19:36:01 srv4hai CRON[8867]: (root) CMD (/etc/linetest/linetest.sh)
Aug 18 19:36:04 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724002564 - 'ping_SP_0'
Aug 18 19:36:04 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 18 19:36:12 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug 18 19:36:12 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:36:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:36:12 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug 18 19:36:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug 18 19:36:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug 18 19:36:12 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug 18 19:36:12 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:36:12 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#53601/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#53083/key rndc-key: signer "rndc-key" approved
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#53083/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#53083/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#53083/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#53083/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug 18 19:36:12 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#47379/key rndc-key: signer "rndc-key" approved
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#47379/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug 18 19:36:12 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#47379/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Aug 18 19:36:12 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug 18 19:36:12 srv4hai common[8888]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug 18 19:36:12 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug 18 19:36:13 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug 18 19:36:13 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug 18 19:36:13 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug 18 19:36:13 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Aug 18 19:36:13 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Aug 18 19:36:13 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug 18 19:36:13 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug 18 19:36:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8952, secured, session=
Aug 18 19:36:56 srv4hai dovecot: imap(miglincit)<8952>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 18 19:37:01 srv4hai CRON[8957]: (root) CMD (/etc/linetest/linetest.sh)
Aug 18 19:37:17 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724002637 - 'ping_SP_0'
Aug 18 19:37:17 srv4hai ping_SP[23854]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 18 19:37:21 srv4hai activate_scenario[8989]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 18 19:37:21 srv4hai activate_scenario[8989]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished