activate_scenario.sh
Tue Apr 23 09:24:56 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

'day' <--> 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/04/23/_0.log)

vorher: 09:24:56.402

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

nachher: 09:24:56.495
Dauer: 92 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 09:24:56.416

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

nachher: 09:24:56.494
Dauer: 79 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 09:24:56.381
nachher: 09:24:56.503
Dauer : 122 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/23//scene_nasszeile_um_20240423_092456.txt'


syslog

Apr 23 09:21:01 srv4hai CRON[27895]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 09:21:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27924, secured, session=
Apr 23 09:21:46 srv4hai dovecot: imap(rozumm)<27924>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:21:53 srv4hai dhcpd[22856]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Apr 23 09:21:53 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 23 09:21:53 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 23 09:21:53 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.122
Apr 23 09:21:53 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-22
Apr 23 09:21:53 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Apr 23 09:21:53 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#36903/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#47503/key rndc-key: signer "rndc-key" approved
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#47503/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#47503/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#47503/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#47503/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Apr 23 09:21:53 srv4hai dhcpd[22856]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#50917/key rndc-key: signer "rndc-key" approved
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#50917/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Apr 23 09:21:53 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#50917/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Apr 23 09:21:53 srv4hai dhcpd[22856]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Apr 23 09:21:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 23 09:21:54 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Apr 23 09:21:54 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Apr 23 09:21:54 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Apr 23 09:21:54 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Apr 23 09:21:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Apr 23 09:21:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Apr 23 09:21:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Apr 23 09:21:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Apr 23 09:21:55 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Apr 23 09:21:55 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Apr 23 09:21:55 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Apr 23 09:21:55 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Apr 23 09:21:55 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Apr 23 09:22:01 srv4hai CRON[28076]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 09:22:23 srv4hai postfix/smtpd[28095]: connect from unknown[193.222.96.12]
Apr 23 09:22:23 srv4hai postfix/smtpd[28095]: warning: unknown[193.222.96.12]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 23 09:22:23 srv4hai postfix/smtpd[28095]: disconnect from unknown[193.222.96.12] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 23 09:22:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28100, secured, session=
Apr 23 09:22:46 srv4hai dovecot: imap(rozumm)<28100>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:23:01 srv4hai CRON[28114]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 09:23:02 srv4hai common[28126]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Apr 23 09:23:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28152, secured, session=
Apr 23 09:23:02 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_kommen'
Apr 23 09:23:02 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr 23 09:23:02 srv4hai common[28175]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Apr 23 09:23:02 srv4hai dovecot: imap(miglincit)<28152>: Logged out in=44 out=184566 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:23:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1713856983-1713856978
Apr 23 09:23:03 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1713856983-1713856978
Apr 23 09:23:03 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1713856983-1713856978
Apr 23 09:23:34 srv4hai mosquitto[18551]: Client shelly1-98CDAC2D5A11 has exceeded timeout, disconnecting.
Apr 23 09:23:34 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Apr 23 09:23:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 23 09:23:40 srv4hai fetchmail[1651]: 42722 messages (42722 seen) for tmiglinci at mail.akis.at (-738624611 octets).
Apr 23 09:23:40 srv4hai fetchmail[1651]: 10162 messages (10162 seen) for srozum at mail.akis.at (1226932967 octets).
Apr 23 09:23:41 srv4hai fetchmail[1651]: 23035 messages (23035 seen) for mrozum at mail.akis.at (-306458603 octets).
Apr 23 09:23:41 srv4hai fetchmail[1651]: 48 messages (48 seen) for admin@bastelstube.wien at pop3.world4you.com (12070443 octets).
Apr 23 09:23:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28282, secured, session=
Apr 23 09:23:43 srv4hai dovecot: imap(miglincit)<28282>: Logged out in=702 out=43919 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=19820 body_count=0 body_bytes=0
Apr 23 09:23:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28284, secured, session=<8H0Pb74W6tAAAAAAAAAAAAAAAAAAAAAB>
Apr 23 09:23:43 srv4hai dovecot: imap(miglincit)<28284><8H0Pb74W6tAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=156 out=185209 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:23:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28286, secured, session=
Apr 23 09:23:46 srv4hai dovecot: imap(rozumm)<28286>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:24:01 srv4hai CRON[28294]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 09:24:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28303, secured, session=
Apr 23 09:24:47 srv4hai dovecot: imap(rozumm)<28303>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 09:24:56 srv4hai activate_scenario[28305]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Apr 23 09:24:56 srv4hai activate_scenario[28305]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished