activate_scenario.sh
Thu Aug 1 17:39:36 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/08/01/_0.log)

vorher: 17:39:36.824

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

nachher: 17:39:37.114
Dauer: 290 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 17:39:36.784
nachher: 17:39:37.121
Dauer : 339 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/01//scene_sekr_UM_20240801_173936.txt'


syslog

Aug  1 17:36:01 srv4hai CRON[30010]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:36:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30040, secured, session=<2/uu+KAewpAAAAAAAAAAAAAAAAAAAAAB>
Aug  1 17:36:16 srv4hai dovecot: imap(miglincit)<30040><2/uu+KAewpAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=562 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  1 17:36:20 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722526580 - 'ping_SP_0'
Aug  1 17:36:20 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:36:27 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722526587 - 'ping_SP_1'
Aug  1 17:36:27 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 17:36:52 srv4hai postfix/anvil[29793]: statistics: max connection rate 1/60s for (smtp:80.94.92.156) at Aug  1 17:33:25
Aug  1 17:36:52 srv4hai postfix/anvil[29793]: statistics: max connection count 1 for (smtp:80.94.92.156) at Aug  1 17:33:25
Aug  1 17:36:52 srv4hai postfix/anvil[29793]: statistics: max cache size 2 at Aug  1 17:33:27
Aug  1 17:36:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30093, secured, session=
Aug  1 17:36:57 srv4hai dovecot: imap(miglincit)<30093>: 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  1 17:37:01 srv4hai CRON[30097]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:37:33 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722526653 - 'ping_SP_0'
Aug  1 17:37:33 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:37:40 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722526660 - 'ping_SP_1'
Aug  1 17:37:40 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 17:38:01 srv4hai CRON[30175]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:38:46 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722526726 - 'ping_SP_0'
Aug  1 17:38:46 srv4hai ping_SP[3446]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  1 17:38:53 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722526733 - 'ping_SP_1'
Aug  1 17:38:53 srv4hai ping_SP[21824]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  1 17:39:01 srv4hai CRON[30248]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Aug  1 17:39:01 srv4hai CRON[30249]: (root) CMD (/etc/linetest/linetest.sh)
Aug  1 17:39:01 srv4hai systemd[1]: Starting Clean php session files...
Aug  1 17:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Aug  1 17:39:01 srv4hai systemd[1]: Started Clean php session files.
Aug  1 17:39:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30353, secured, session=
Aug  1 17:39:16 srv4hai dovecot: imap(miglincit)<30353>: 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  1 17:39:20 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Aug  1 17:39:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Aug  1 17:39:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  1 17:39:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.119
Aug  1 17:39:20 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-19
Aug  1 17:39:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Aug  1 17:39:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#37035/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#48805/key rndc-key: signer "rndc-key" approved
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#48805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#48805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#48805/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#48805/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Aug  1 17:39:20 srv4hai dhcpd[30731]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33487/key rndc-key: signer "rndc-key" approved
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33487/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Aug  1 17:39:20 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#33487/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Aug  1 17:39:20 srv4hai dhcpd[30731]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Aug  1 17:39:21 srv4hai common[30355]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  1 17:39:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf'
Aug  1 17:39:22 srv4hai mosquitto[18551]: New connection from 192.168.12.119 on port 1883.
Aug  1 17:39:22 srv4hai mosquitto[18551]: Client shelly1-98CDAC2D5A11 already connected, closing old connection.
Aug  1 17:39:22 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Aug  1 17:39:22 srv4hai mosquitto[18551]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt').
Aug  1 17:39:22 srv4hai grab_shelly.sh: SHELLY 'shelly-19':  OFFLINE, resp. not answering within timeout 1.500000s
Aug  1 17:39:34 srv4hai common[30379]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  1 17:39:36 srv4hai activate_scenario[30397]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Aug  1 17:39:36 srv4hai activate_scenario[30397]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished