activate_scenario.sh
Tue Jul 30 07:09:03 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/07/30/_0.log)

vorher: 07:09:03.898

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

nachher: 07:09:03.929
Dauer: 31 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


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

urls : 1
vorher : 07:09:03.862
nachher: 07:09:03.935
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/30//scene_sekr_UM_20240730_070903.txt'


syslog

Jul 30 07:06:01 srv4hai CRON[3133]: (root) CMD (/etc/linetest/linetest.sh)
Jul 30 07:06:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 30 07:06:27 srv4hai fetchmail[1651]: 49653 messages (49653 seen) for tmiglinci at mail.akis.at (-191155788 octets).
Jul 30 07:06:28 srv4hai fetchmail[1651]: 10525 messages (10525 seen) for srozum at mail.akis.at (1265904086 octets).
Jul 30 07:06:28 srv4hai fetchmail[1651]: 25023 messages (25023 seen) for mrozum at mail.akis.at (76421735 octets).
Jul 30 07:06:29 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 30 07:06:36 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722315996 - 'ping_SP_0'
Jul 30 07:06:36 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 30 07:06:44 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722316004 - 'ping_SP_1'
Jul 30 07:06:44 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 30 07:07:01 srv4hai CRON[3201]: (root) CMD (/etc/linetest/linetest.sh)
Jul 30 07:07:49 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722316069 - 'ping_SP_0'
Jul 30 07:07:49 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 30 07:07:58 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722316078 - 'ping_SP_1'
Jul 30 07:07:58 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 30 07:08:01 srv4hai CRON[3272]: (root) CMD (/etc/linetest/linetest.sh)
Jul 30 07:08:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Jul 30 07:08:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 30 07:08:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 30 07:08:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Jul 30 07:08:38 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Jul 30 07:08:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Jul 30 07:08:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58323/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#56569/key rndc-key: signer "rndc-key" approved
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#56569/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#56569/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#56569/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#56569/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Jul 30 07:08:38 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#41839/key rndc-key: signer "rndc-key" approved
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#41839/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Jul 30 07:08:38 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#41839/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.
Jul 30 07:08:38 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Jul 30 07:08:38 srv4hai common[3296]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 30 07:08:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Jul 30 07:08:39 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Jul 30 07:08:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Jul 30 07:08:39 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Jul 30 07:09:01 srv4hai CRON[3443]: (root) CMD (/etc/linetest/linetest.sh)
Jul 30 07:09:01 srv4hai CRON[3442]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 30 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 30 07:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 30 07:09:02 srv4hai systemd[1]: Started Clean php session files.
Jul 30 07:09:02 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722316142 - 'ping_SP_0'
Jul 30 07:09:02 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 30 07:09:03 srv4hai activate_scenario[3553]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jul 30 07:09:03 srv4hai activate_scenario[3553]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished