activate_scenario.sh
Sun Apr 14 20:12:25 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/04/14/_0.log)

vorher: 20:12:25.970

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": 10.8,
  "overpower": false

nachher: 20:12:26.050
Dauer: 81 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 20:12:25.985

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": 10.8,
  "overpower": false

nachher: 20:12:26.050
Dauer: 64 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 20:12:25.948
nachher: 20:12:26.058
Dauer : 109 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/14//scene_nasszeile_um_20240414_201225.txt'


syslog

Apr 14 20:09:01 srv4hai CRON[9715]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 20:09:01 srv4hai CRON[9716]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 14 20:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 14 20:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 14 20:09:01 srv4hai systemd[1]: Started Clean php session files.
Apr 14 20:09:02 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713118142 - 'ping_SP_1'
Apr 14 20:09:02 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 14 20:09:04 srv4hai dhcpd[28085]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Apr 14 20:09:04 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 14 20:09:04 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 14 20:09:04 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.102
Apr 14 20:09:04 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-02
Apr 14 20:09:04 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Apr 14 20:09:04 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#49351/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#35497/key rndc-key: signer "rndc-key" approved
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#35497/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#35497/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#35497/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#35497/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Apr 14 20:09:04 srv4hai dhcpd[28085]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#33683/key rndc-key: signer "rndc-key" approved
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#33683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Apr 14 20:09:04 srv4hai named[15509]: client @0x7f930c0d2a30 192.168.12.252#33683/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.
Apr 14 20:09:04 srv4hai dhcpd[28085]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Apr 14 20:09:04 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Apr 14 20:09:06 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Apr 14 20:09:48 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713118188 - 'ping_SP_0'
Apr 14 20:09:48 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 14 20:10:01 srv4hai CRON[9990]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 20:10:01 srv4hai CRON[9991]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 14 20:10:01 srv4hai common[9993]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 14 20:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 14 20:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 14 20:10:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 14 20:10:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 14 20:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 14 20:10:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 14 20:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 14 20:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 14 20:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 14 20:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 14 20:10:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 14 20:10:15 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713118215 - 'ping_SP_1'
Apr 14 20:10:15 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 14 20:10:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 14 20:10:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 14 20:10:17 srv4hai common[9993]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 14 20:10:18 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1713118218-1713118213
Apr 14 20:10:18 srv4hai check_presence[9993]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 14 20:10:18 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1713118218-1713118213
Apr 14 20:10:18 srv4hai check_presence[9993]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 14 20:10:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1713118218-1713118213
Apr 14 20:10:18 srv4hai check_presence[9993]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 14 20:10:18 srv4hai check_presence[9993]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 14 20:10:18 srv4hai check_presence[9993]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 14 20:10:18 srv4hai common[9993]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 14 20:10:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 14 20:10:18 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Apr 14 20:10:18 srv4hai meter.sh: SHELLY meter.sh ended
Apr 14 20:10:18 srv4hai postfix/pickup[7470]: 4AB826022F: uid=33 from=
Apr 14 20:10:18 srv4hai postfix/cleanup[11070]: 4AB826022F: message-id=<20240414181018.4AB826022F@mail.viehai.at>
Apr 14 20:10:18 srv4hai postfix/qmgr[15291]: 4AB826022F: from=, size=715, nrcpt=1 (queue active)
Apr 14 20:10:18 srv4hai postfix/local[11072]: 4AB826022F: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 14 20:10:18 srv4hai postfix/qmgr[15291]: 4AB826022F: removed
Apr 14 20:11:01 srv4hai CRON[11100]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 20:11:01 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713118261 - 'ping_SP_0'
Apr 14 20:11:01 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 14 20:11:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 14 20:11:18 srv4hai fetchmail[1651]: 42038 messages (42037 seen) for tmiglinci at mail.akis.at (-787733144 octets).
Apr 14 20:11:18 srv4hai postfix/smtpd[11128]: connect from localhost[127.0.0.1]
Apr 14 20:11:18 srv4hai postfix/smtpd[11128]: 3A7246011D: client=localhost[127.0.0.1]
Apr 14 20:11:18 srv4hai postfix/cleanup[11070]: 3A7246011D: message-id=<20240414180822.625CD6022F@mail.viehai.at>
Apr 14 20:11:18 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42038 of 42038 (12372 octets) not flushed
Apr 14 20:11:18 srv4hai postfix/qmgr[15291]: 3A7246011D: from=, size=12677, nrcpt=1 (queue active)
Apr 14 20:11:18 srv4hai postfix/smtpd[11128]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 14 20:11:18 srv4hai postfix/local[11072]: 3A7246011D: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 14 20:11:18 srv4hai postfix/qmgr[15291]: 3A7246011D: removed
Apr 14 20:11:18 srv4hai fetchmail[1651]: 10133 messages (10133 seen) for srozum at mail.akis.at (1224936503 octets).
Apr 14 20:11:19 srv4hai fetchmail[1651]: 22856 messages (22856 seen) for mrozum at mail.akis.at (-345635499 octets).
Apr 14 20:11:19 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 14 20:11:28 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713118288 - 'ping_SP_1'
Apr 14 20:11:28 srv4hai ping_SP[29491]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 14 20:11:35 srv4hai postfix/anvil[9317]: statistics: max connection rate 1/60s for (smtp:87.120.84.171) at Apr 14 20:07:38
Apr 14 20:11:35 srv4hai postfix/anvil[9317]: statistics: max connection count 1 for (smtp:87.120.84.171) at Apr 14 20:07:38
Apr 14 20:11:35 srv4hai postfix/anvil[9317]: statistics: max cache size 2 at Apr 14 20:08:14
Apr 14 20:11:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11172, secured, session=
Apr 14 20:11:53 srv4hai dovecot: imap(miglincit)<11172>: Logged out in=420 out=38923 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=14062 body_count=0 body_bytes=0
Apr 14 20:12:01 srv4hai CRON[11177]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 20:12:14 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713118334 - 'ping_SP_0'
Apr 14 20:12:14 srv4hai ping_SP[9375]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 14 20:12:25 srv4hai activate_scenario[11203]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Apr 14 20:12:25 srv4hai activate_scenario[11203]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished