activate_scenario.sh
Mon Dec 16 12:07:46 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/16/_0.log)

vorher: 12:07:46.484

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

nachher: 12:07:46.517
Dauer: 33 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 12:07:46.464
nachher: 12:07:46.524
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/16//scene_pcOFF_20241216_120746.txt'


syslog

Dec 16 12:04:01 srv4hai CRON[22537]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 12:04:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22543, secured, session=
Dec 16 12:04:01 srv4hai dovecot: imap(miglincit)<22543>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 16 12:04:33 srv4hai dhcpd[4995]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Dec 16 12:04:33 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:60:52:b8 via enp2s0
Dec 16 12:04:33 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Dec 16 12:04:33 srv4hai dhcpd[4995]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Dec 16 12:04:33 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 16 12:04:33 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.101
Dec 16 12:04:33 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-01
Dec 16 12:04:33 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from cc:8d:a2:60:52:b8 via enp2s0
Dec 16 12:04:33 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#43593/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#55765/key rndc-key: signer "rndc-key" approved
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#55765/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#55765/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "31166740fe21d7ece7561d62986d2b8644"
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#55765/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#55765/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Dec 16 12:04:33 srv4hai dhcpd[4995]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#56365/key rndc-key: signer "rndc-key" approved
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#56365/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Dec 16 12:04:33 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#56365/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Dec 16 12:04:33 srv4hai dhcpd[4995]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Dec 16 12:04:33 srv4hai common[22554]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 16 12:04:33 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Dec 16 12:04:34 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 12:04:34 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 12:04:34 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Dec 16 12:04:34 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Esstisch' already set for '192.168.12.101'
Dec 16 12:04:47 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734347087 - 'ping_SP_0'
Dec 16 12:04:47 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 16 12:05:01 srv4hai CRON[22626]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 12:05:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22637, secured, session=
Dec 16 12:05:20 srv4hai dovecot: imap(miglincit)<22637>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 16 12:05:33 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 12:05:33 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 12:06:00 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734347160 - 'ping_SP_0'
Dec 16 12:06:00 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 16 12:06:01 srv4hai CRON[22675]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 12:06:24 srv4hai mosquitto[29419]: Client shelly1-98CDAC2D5A11 has exceeded timeout, disconnecting.
Dec 16 12:06:24 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Dec 16 12:06:26 srv4hai postfix/smtpd[22694]: connect from unknown[80.94.95.239]
Dec 16 12:06:28 srv4hai postfix/smtpd[22694]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 16 12:06:30 srv4hai postfix/smtpd[22694]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 16 12:06:31 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 12:06:31 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 12:07:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22715, secured, session=
Dec 16 12:07:01 srv4hai dovecot: imap(miglincit)<22715>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 16 12:07:01 srv4hai CRON[22717]: (root) CMD (/etc/linetest/linetest.sh)
Dec 16 12:07:13 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734347233 - 'ping_SP_0'
Dec 16 12:07:13 srv4hai ping_SP[16912]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 16 12:07:25 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 16 12:07:25 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 16 12:07:46 srv4hai activate_scenario[22758]: SHELLY scenario: 'pcOFF(pcoff)' started
Dec 16 12:07:46 srv4hai activate_scenario[22758]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished