activate_scenario.sh
Fri Mar 1 18:11:06 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üche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/01/_0.log)

vorher: 18:11:06.283

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: 18:11:06.349
Dauer: 66 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 18:11:06.297

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: 18:11:06.348
Dauer: 52 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 18:11:06.261
nachher: 18:11:06.356
Dauer : 95 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/01//scene_nasszeile_um_20240301_181106.txt'


syslog

Mar  1 18:08:01 srv4hai CRON[26378]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:09:02 srv4hai CRON[26399]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  1 18:09:02 srv4hai CRON[26400]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:09:02 srv4hai systemd[1]: Starting Clean php session files...
Mar  1 18:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  1 18:09:02 srv4hai systemd[1]: Started Clean php session files.
Mar  1 18:09:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26497, secured, session=
Mar  1 18:09:02 srv4hai dovecot: imap(miglincit)<26497>: Logged out in=637 out=45008 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=21298 body_count=0 body_bytes=0
Mar  1 18:09:02 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709312942 - 'ping_SP_1'
Mar  1 18:09:02 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:09:04 srv4hai activate_scenario[26515]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Mar  1 18:09:04 srv4hai activate_scenario[26515]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'
Mar  1 18:09:04 srv4hai activate_scenario[26515]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-10:'WZ Bücherregal'
Mar  1 18:09:04 srv4hai postfix/pickup[16643]: 2B35760244: uid=33 from=
Mar  1 18:09:04 srv4hai postfix/cleanup[26568]: 2B35760244: message-id=<20240301170904.2B35760244@mail.viehai.at>
Mar  1 18:09:04 srv4hai postfix/qmgr[28610]: 2B35760244: from=, size=6387, nrcpt=1 (queue active)
Mar  1 18:09:04 srv4hai activate_scenario[26515]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
Mar  1 18:09:04 srv4hai postfix/local[26581]: 2B35760244: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  1 18:09:04 srv4hai proc_url[26586]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/01/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-10:'WZ Bücherregal''
Mar  1 18:09:04 srv4hai postfix/cleanup[26568]: 30D8D60245: message-id=<20240301170904.30D8D60245@mail.viehai.at>
Mar  1 18:09:04 srv4hai postfix/bounce[26582]: 2B35760244: sender non-delivery notification: 30D8D60245
Mar  1 18:09:04 srv4hai postfix/qmgr[28610]: 30D8D60245: from=<>, size=8306, nrcpt=1 (queue active)
Mar  1 18:09:04 srv4hai postfix/qmgr[28610]: 2B35760244: removed
Mar  1 18:09:04 srv4hai postfix/local[26581]: 30D8D60245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  1 18:09:04 srv4hai postfix/qmgr[28610]: 30D8D60245: removed
Mar  1 18:09:04 srv4hai activate_scenario[26515]: SHELLY scenario: 'sekr_UM(sekr_um)' took 59 msec, shelly-10:'WZ Bücherregal'
Mar  1 18:09:10 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  1 18:09:10 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.103
Mar  1 18:09:10 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-03
Mar  1 18:09:10 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.103 from e0:98:06:aa:08:24 via enp2s0
Mar  1 18:09:10 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.103 to e0:98:06:aa:08:24 via enp2s0
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc3240092c0 192.168.12.252#49001/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-03.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#42911/key rndc-key: signer "rndc-key" approved
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#42911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-03.viehai.at' TXT
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#42911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-03.viehai.at' TXT "00860bad6f5defda4d37fa2e9f7a2f1749"
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#42911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-03.viehai.at' A
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#42911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-03.viehai.at' A 192.168.12.103
Mar  1 18:09:10 srv4hai dhcpd[5037]: Added new forward map from shelly-03.viehai.at to 192.168.12.103
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#39557/key rndc-key: signer "rndc-key" approved
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#39557/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '103.12.168.192.in-addr.arpa' PTR
Mar  1 18:09:10 srv4hai named[14530]: client @0x7fc3200bd520 192.168.12.252#39557/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '103.12.168.192.in-addr.arpa' PTR shelly-03.viehai.at.
Mar  1 18:09:10 srv4hai dhcpd[5037]: Added reverse map from 103.12.168.192.in-addr.arpa. to shelly-03.viehai.at
Mar  1 18:09:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-03' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-03' - shIP/2:'192.168.12.103'
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Vorzimmer' already set for '192.168.12.103'
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(0)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(1)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(2)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(3)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(4)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(5)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(6)' - allready transmitted - skipping
Mar  1 18:09:10 srv4hai conf_shelly.sh: SHELLY:'shelly-03' 'conf(7)' - allready transmitted - skipping
Mar  1 18:09:11 srv4hai conf_shelly.sh: SHELLY:'shelly-03' out:0 ON : MISSING
Mar  1 18:09:11 srv4hai conf_shelly.sh: SHELLY:'shelly-03' out:0 OFF: MISSING
Mar  1 18:10:01 srv4hai CRON[26783]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  1 18:10:01 srv4hai CRON[26784]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  1 18:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:15 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709313015 - 'ping_SP_1'
Mar  1 18:10:15 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:10:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:55 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:10:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:11:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  1 18:11:00 srv4hai meter.sh: SHELLY meter.sh ended
Mar  1 18:11:00 srv4hai CRON[27322]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:11:00 srv4hai postfix/pickup[16643]: 2627760244: uid=33 from=
Mar  1 18:11:00 srv4hai postfix/cleanup[27320]: 2627760244: message-id=<20240301171100.2627760244@mail.viehai.at>
Mar  1 18:11:00 srv4hai postfix/qmgr[28610]: 2627760244: from=, size=654, nrcpt=1 (queue active)
Mar  1 18:11:00 srv4hai postfix/local[27327]: 2627760244: 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)
Mar  1 18:11:00 srv4hai postfix/qmgr[28610]: 2627760244: removed
Mar  1 18:11:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  1 18:11:06 srv4hai activate_scenario[27332]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar  1 18:11:06 srv4hai activate_scenario[27332]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished