activate_scenario.sh
Mon Nov 25 20:46:23 CET 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Ü Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/25/_0.log)

vorher: 20:46:23.204

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: 20:46:23.228
Dauer: 25 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/25/_1.log)

vorher: 20:46:23.218

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: 20:46:23.268
Dauer: 50 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 20:46:23.180
nachher: 20:46:23.275
Dauer : 96 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/25//scene_nasszeile_um_20241125_204623.txt'


syslog

Nov 25 20:43:00 srv4hai postfix/anvil[1293]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 25 20:35:45
Nov 25 20:43:00 srv4hai postfix/anvil[1293]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 25 20:35:45
Nov 25 20:43:00 srv4hai postfix/anvil[1293]: statistics: max cache size 2 at Nov 25 20:36:40
Nov 25 20:43:01 srv4hai CRON[4265]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 20:43:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4275, secured, session=
Nov 25 20:43:01 srv4hai dovecot: imap(rozumm)<4275>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 20:43:07 srv4hai mosquitto[18551]: Client shellyplus1-441793a58ae4 has exceeded timeout, disconnecting.
Nov 25 20:43:07 srv4hai mosquitto[18551]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 25 20:43:13 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:43:13 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:43:13 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 25 20:43:13 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 25 20:43:13 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 25 20:43:13 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:43:13 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53849/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#47703/key rndc-key: signer "rndc-key" approved
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#47703/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#47703/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#47703/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#47703/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 25 20:43:13 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#44011/key rndc-key: signer "rndc-key" approved
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#44011/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 25 20:43:13 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#44011/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Nov 25 20:43:13 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 25 20:43:13 srv4hai common[4287]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 25 20:43:13 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 25 20:43:14 srv4hai grab_shelly.sh: SHELLY 'shelly-47':  OFFLINE, resp. not answering within timeout 1.500000s
Nov 25 20:43:14 srv4hai mosquitto[18551]: New connection from 192.168.12.147 on port 1883.
Nov 25 20:43:14 srv4hai mosquitto[18551]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 25 20:43:24 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732563804 - 'ping_SP_0'
Nov 25 20:43:24 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 20:43:26 srv4hai postfix/smtpd[4326]: connect from unknown[80.94.95.239]
Nov 25 20:43:29 srv4hai postfix/smtpd[4326]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 25 20:43:30 srv4hai postfix/smtpd[4326]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 25 20:43:56 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Nov 25 20:44:01 srv4hai CRON[4357]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 20:44:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4362, secured, session=<2JxU9MEnNLkAAAAAAAAAAAAAAAAAAAAB>
Nov 25 20:44:01 srv4hai dovecot: imap(rozumm)<4362><2JxU9MEnNLkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 20:44:09 srv4hai ping_SP[2234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732563849 - 'ping_SP_1'
Nov 25 20:44:09 srv4hai ping_SP[2234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 25 20:44:37 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732563877 - 'ping_SP_0'
Nov 25 20:44:37 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 20:44:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4436, secured, session=
Nov 25 20:44:48 srv4hai dovecot: imap(miglincit)<4436>: Logged out in=373 out=1389 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 20:45:01 srv4hai CRON[4442]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 20:45:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4447, secured, session=
Nov 25 20:45:01 srv4hai dovecot: imap(rozumm)<4447>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 20:45:22 srv4hai ping_SP[2234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732563922 - 'ping_SP_1'
Nov 25 20:45:22 srv4hai ping_SP[2234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 25 20:45:50 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732563950 - 'ping_SP_0'
Nov 25 20:45:50 srv4hai ping_SP[23057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 25 20:46:01 srv4hai CRON[4532]: (root) CMD (/etc/linetest/linetest.sh)
Nov 25 20:46:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4539, secured, session=
Nov 25 20:46:02 srv4hai dovecot: imap(rozumm)<4539>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 25 20:46:10 srv4hai dhcpd[21239]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:46:10 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:46:10 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 25 20:46:10 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.147
Nov 25 20:46:10 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-47
Nov 25 20:46:10 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:46:10 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#44121/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#48343/key rndc-key: signer "rndc-key" approved
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#48343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#48343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#48343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#48343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Nov 25 20:46:10 srv4hai dhcpd[21239]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#36791/key rndc-key: signer "rndc-key" approved
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#36791/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Nov 25 20:46:10 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#36791/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Nov 25 20:46:10 srv4hai dhcpd[21239]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Nov 25 20:46:10 srv4hai common[4547]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 25 20:46:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Nov 25 20:46:11 srv4hai mosquitto[18551]: New connection from 192.168.12.147 on port 1883.
Nov 25 20:46:11 srv4hai mosquitto[18551]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Nov 25 20:46:11 srv4hai mosquitto[18551]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Nov 25 20:46:11 srv4hai mosquitto[18551]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Nov 25 20:46:11 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Nov 25 20:46:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Nov 25 20:46:11 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'KÜ Schalter Nasszeile'
Nov 25 20:46:16 srv4hai postfix/pickup[4201]: 5BD4063463: uid=33 from=
Nov 25 20:46:16 srv4hai postfix/cleanup[4663]: 5BD4063463: message-id=<20241125194616.5BD4063463@mail.viehai.at>
Nov 25 20:46:16 srv4hai postfix/qmgr[8566]: 5BD4063463: from=, size=11656, nrcpt=1 (queue active)
Nov 25 20:46:16 srv4hai postfix/local[4676]: 5BD4063463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'KÜ Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Nov 25 20:46:16 srv4hai postfix/cleanup[4663]: 6208F63464: message-id=<20241125194616.6208F63464@mail.viehai.at>
Nov 25 20:46:16 srv4hai proc_url[4681]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/25/_0.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'KÜ Schalter Nasszeile''
Nov 25 20:46:16 srv4hai postfix/bounce[4677]: 5BD4063463: sender non-delivery notification: 6208F63464
Nov 25 20:46:16 srv4hai postfix/qmgr[8566]: 6208F63464: from=<>, size=13575, nrcpt=1 (queue active)
Nov 25 20:46:16 srv4hai postfix/qmgr[8566]: 5BD4063463: removed
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'KÜ Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Nov 25 20:46:16 srv4hai postfix/local[4676]: 6208F63464: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 25 20:46:16 srv4hai postfix/qmgr[8566]: 6208F63464: removed
Nov 25 20:46:16 srv4hai proc_url[4693]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/11/25/_1.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'KÜ Schalter Nasszeile''
Nov 25 20:46:16 srv4hai activate_scenario[4609]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 146 msec, shelly-28:'KÜ Schalter Nasszeile'
Nov 25 20:46:23 srv4hai activate_scenario[4741]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Nov 25 20:46:23 srv4hai activate_scenario[4741]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished