activate_scenario.sh
Sun Oct 13 21:47:32 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/10/13/_0.log)

vorher: 21:47:32.931

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 21:47:33.050
Dauer: 119 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/10/13/_1.log)

vorher: 21:47:32.944

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 12.72,
  "overpower": false

nachher: 21:47:33.044
Dauer: 100 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 21:47:32.898
nachher: 21:47:33.059
Dauer : 162 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/13//scene_nasszeile_um_20241013_214732.txt'


syslog

Oct 13 21:44:01 srv4hai CRON[18900]: (root) CMD (/etc/linetest/linetest.sh)
Oct 13 21:44:14 srv4hai postfix/anvil[17646]: statistics: max connection rate 2/60s for (smtp:188.13.163.71) at Oct 13 21:40:50
Oct 13 21:44:14 srv4hai postfix/anvil[17646]: statistics: max connection count 1 for (smtp:178.215.236.32) at Oct 13 21:39:29
Oct 13 21:44:14 srv4hai postfix/anvil[17646]: statistics: max cache size 1 at Oct 13 21:39:29
Oct 13 21:44:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct 13 21:44:16 srv4hai fetchmail[1651]: 54447 messages (54447 seen) for tmiglinci at mail.akis.at (169482084 octets).
Oct 13 21:44:16 srv4hai fetchmail[1651]: 10829 messages (10829 seen) for srozum at mail.akis.at (1311886641 octets).
Oct 13 21:44:17 srv4hai fetchmail[1651]: 26540 messages (26540 seen) for mrozum at mail.akis.at (305303599 octets).
Oct 13 21:44:17 srv4hai fetchmail[1651]: 1147 messages (1147 seen) for admin@bastelstube.wien at pop3.world4you.com (51928753 octets).
Oct 13 21:44:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18919, secured, session=
Oct 13 21:44:24 srv4hai dovecot: imap(miglincit)<18919>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 13 21:44:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18921, secured, session=
Oct 13 21:44:28 srv4hai dovecot: imap(miglincit)<18921>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 13 21:44:58 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1728848698 - 'ping_SP_1'
Oct 13 21:44:58 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct 13 21:45:01 srv4hai CRON[18961]: (root) CMD (/etc/linetest/linetest.sh)
Oct 13 21:45:11 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728848711 - 'ping_SP_0'
Oct 13 21:45:11 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 13 21:46:01 srv4hai CRON[19024]: (root) CMD (/etc/linetest/linetest.sh)
Oct 13 21:46:11 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1728848771 - 'ping_SP_1'
Oct 13 21:46:11 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct 13 21:46:25 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728848785 - 'ping_SP_0'
Oct 13 21:46:25 srv4hai ping_SP[14587]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 13 21:46:35 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Oct 13 21:46:35 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Oct 13 21:46:35 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Oct 13 21:46:35 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102
Oct 13 21:46:35 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02
Oct 13 21:46:35 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Oct 13 21:46:35 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#56967/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#40633/key rndc-key: signer "rndc-key" approved
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#40633/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#40633/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#40633/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#40633/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Oct 13 21:46:35 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#48423/key rndc-key: signer "rndc-key" approved
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#48423/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Oct 13 21:46:35 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#48423/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.
Oct 13 21:46:35 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Oct 13 21:46:35 srv4hai common[19081]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Oct 13 21:46:35 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Oct 13 21:46:36 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883.
Oct 13 21:46:36 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D already connected, closing old connection.
Oct 13 21:46:36 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Oct 13 21:46:36 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Oct 13 21:46:36 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Oct 13 21:47:01 srv4hai CRON[19217]: (root) CMD (/etc/linetest/linetest.sh)
Oct 13 21:47:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19239, secured, session=
Oct 13 21:47:24 srv4hai dovecot: imap(miglincit)<19239>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 13 21:47:25 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1728848845 - 'ping_SP_1'
Oct 13 21:47:25 srv4hai ping_SP[3366]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct 13 21:47:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19261, secured, session=
Oct 13 21:47:28 srv4hai dovecot: imap(miglincit)<19261>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 13 21:47:32 srv4hai activate_scenario[19263]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Oct 13 21:47:32 srv4hai activate_scenario[19263]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished