activate_scenario.sh
Sun Sep 15 21:11:14 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/09/15/_0.log)

vorher: 21:11:14.687

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: 21:11:14.712
Dauer: 25 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 21:11:14.700

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: 21:11:14.745
Dauer: 45 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 21:11:14.668
nachher: 21:11:14.751
Dauer : 83 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/15//scene_nasszeile_um_20240915_211114.txt'


syslog

Sep 15 21:08:01 srv4hai CRON[18853]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 21:08:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18871, secured, session=
Sep 15 21:08:36 srv4hai dovecot: imap(rozumm)<18871>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 15 21:08:45 srv4hai common[18881]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 15 21:08:50 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726427330 - 'ping_SP_0'
Sep 15 21:08:50 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 15 21:08:55 srv4hai bt_scan[18881]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 15 21:08:55 srv4hai bt_scan[18881]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 15 21:08:55 srv4hai common[18927]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 15 21:08:56 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726427336-1726427325
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 15 21:08:56 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726427336-1726427325
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 15 21:08:56 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726427336-1726427325
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Sep 15 21:08:56 srv4hai check_presence[18927]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 15 21:09:01 srv4hai CRON[19078]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 21:09:01 srv4hai CRON[19079]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 15 21:09:01 srv4hai systemd[1]: Starting Clean php session files...
Sep 15 21:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep 15 21:09:01 srv4hai systemd[1]: Started Clean php session files.
Sep 15 21:09:07 srv4hai named[30406]: _default: sending trust-anchor-telemetry query '_ta-4f66/NULL'
Sep 15 21:09:10 srv4hai named[30406]: managed-keys-zone: Key 20326 for zone . acceptance timer complete: key now trusted
Sep 15 21:09:12 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726427352 - 'ping_SP_1'
Sep 15 21:09:12 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 15 21:09:20 srv4hai common[19198]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 15 21:09:30 srv4hai bt_scan[19198]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 15 21:09:30 srv4hai bt_scan[19198]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 15 21:09:37 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 15 21:09:38 srv4hai fetchmail[1651]: 52373 messages (52373 seen) for tmiglinci at mail.akis.at (15234608 octets).
Sep 15 21:09:38 srv4hai fetchmail[1651]: 10725 messages (10725 seen) for srozum at mail.akis.at (1302087151 octets).
Sep 15 21:09:39 srv4hai fetchmail[1651]: 25935 messages (25935 seen) for mrozum at mail.akis.at (216264943 octets).
Sep 15 21:09:39 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 15 21:09:52 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 15 21:09:52 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 15 21:10:01 srv4hai CRON[19240]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 21:10:01 srv4hai CRON[19241]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 15 21:10:01 srv4hai common[19242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 15 21:10:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 15 21:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 15 21:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 15 21:10:03 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726427403 - 'ping_SP_0'
Sep 15 21:10:03 srv4hai ping_SP[5205]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 15 21:10:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 15 21:10:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 15 21:10:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 15 21:10:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 15 21:10:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 15 21:10:06 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 15 21:10:06 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 15 21:10:06 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 15 21:10:06 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 15 21:10:06 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#34597/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#42605/key rndc-key: signer "rndc-key" approved
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#42605/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#42605/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#42605/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#42605/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 15 21:10:06 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#49883/key rndc-key: signer "rndc-key" approved
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#49883/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 15 21:10:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 15 21:10:06 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#49883/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Sep 15 21:10:06 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 15 21:10:06 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 15 21:10:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 15 21:10:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 15 21:10:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 15 21:10:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 15 21:10:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 15 21:10:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 15 21:10:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 15 21:10:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 15 21:10:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 15 21:10:15 srv4hai common[20165]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 15 21:10:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Sep 15 21:10:15 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Sep 15 21:10:15 srv4hai meter.sh: SHELLY meter.sh ended
Sep 15 21:10:25 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726427425 - 'ping_SP_1'
Sep 15 21:10:25 srv4hai ping_SP[11252]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 15 21:11:01 srv4hai CRON[20217]: (root) CMD (/etc/linetest/linetest.sh)
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Sep 15 21:11:11 srv4hai postfix/pickup[32564]: 8A9DE6345B: uid=33 from=
Sep 15 21:11:11 srv4hai postfix/cleanup[20281]: 8A9DE6345B: message-id=<20240915191111.8A9DE6345B@mail.viehai.at>
Sep 15 21:11:11 srv4hai postfix/qmgr[8566]: 8A9DE6345B: from=, size=11953, nrcpt=1 (queue active)
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Sep 15 21:11:11 srv4hai proc_url[20299]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/15/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Sep 15 21:11:11 srv4hai postfix/local[20294]: 8A9DE6345B: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 15 21:11:11 srv4hai postfix/cleanup[20281]: 932AE6345C: message-id=<20240915191111.932AE6345C@mail.viehai.at>
Sep 15 21:11:11 srv4hai postfix/bounce[20295]: 8A9DE6345B: sender non-delivery notification: 932AE6345C
Sep 15 21:11:11 srv4hai postfix/qmgr[8566]: 932AE6345C: from=<>, size=13835, nrcpt=1 (queue active)
Sep 15 21:11:11 srv4hai postfix/qmgr[8566]: 8A9DE6345B: removed
Sep 15 21:11:11 srv4hai postfix/local[20294]: 932AE6345C: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 15 21:11:11 srv4hai postfix/qmgr[8566]: 932AE6345C: removed
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Sep 15 21:11:11 srv4hai proc_url[20311]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/15/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Sep 15 21:11:11 srv4hai activate_scenario[20228]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 104 msec, shelly-28:'Schalter Nasszeile'
Sep 15 21:11:14 srv4hai activate_scenario[20352]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep 15 21:11:14 srv4hai activate_scenario[20352]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished