activate_scenario.sh
Sun Sep 29 08:50:34 CEST 2024
scenario: vorraumOff
source: 192.168.12.125

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log)

vorher: 08:50:34.290

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 08:50:34.372
Dauer: 81 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 08:50:34.312

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

nachher: 08:50:34.363
Dauer: 52 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 08:50:34.326

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

nachher: 08:50:34.362
Dauer: 37 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_3.log)

vorher: 08:50:34.341

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:50:34.506
Dauer: 165 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_4.log)

vorher: 08:50:34.354

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:50:34.494
Dauer: 140 msec phName: 'shelly-25:'Küchenlicht''


WC (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_5.log)

vorher: 08:50:34.369

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 08:50:34.406
Dauer: 37 msec phName: 'shelly-25:'Küchenlicht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/09/29/_6.log)

vorher: 08:50:34.385

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 08:50:34.409
Dauer: 24 msec phName: 'shelly-25:'Küchenlicht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 08:50:34.255
nachher: 08:50:34.515
Dauer : 261 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/29//scene_vorraumOff_20240929_085034.txt'


syslog

Sep 29 08:47:01 srv4hai CRON[9573]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 08:47:03 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727592423 - 'ping_SP_1'
Sep 29 08:47:03 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 29 08:47:10 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727592430 - 'ping_SP_0'
Sep 29 08:47:10 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 08:47:38 srv4hai common[9626]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 29 08:47:47 srv4hai postfix/anvil[26136]: statistics: max connection rate 1/60s for (smtp:94.141.120.236) at Sep 29 08:38:43
Sep 29 08:47:47 srv4hai postfix/anvil[26136]: statistics: max connection count 1 for (smtp:94.141.120.236) at Sep 29 08:38:43
Sep 29 08:47:47 srv4hai postfix/anvil[26136]: statistics: max cache size 2 at Sep 29 08:41:45
Sep 29 08:47:48 srv4hai bt_scan[9626]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 29 08:47:48 srv4hai bt_scan[9626]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 29 08:47:49 srv4hai postfix/smtpd[9664]: connect from unknown[94.141.120.236]
Sep 29 08:47:49 srv4hai postfix/smtpd[9664]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 29 08:47:49 srv4hai postfix/smtpd[9664]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 29 08:48:01 srv4hai CRON[9676]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 08:48:16 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727592496 - 'ping_SP_1'
Sep 29 08:48:16 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 29 08:48:23 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727592503 - 'ping_SP_0'
Sep 29 08:48:23 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 08:49:01 srv4hai CRON[9750]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 08:49:06 srv4hai common[9758]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 29 08:49:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9776, secured, session=
Sep 29 08:49:13 srv4hai dovecot: imap(miglincit)<9776>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 29 08:49:16 srv4hai bt_scan[9758]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 29 08:49:16 srv4hai bt_scan[9758]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 29 08:49:16 srv4hai common[9799]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 29 08:49:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1727592557-1727592547
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 29 08:49:17 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1727592557-1727592547
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 29 08:49:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1727592557-1727592547
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Sep 29 08:49:17 srv4hai check_presence[9799]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 29 08:49:30 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727592570 - 'ping_SP_1'
Sep 29 08:49:30 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 29 08:49:36 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727592576 - 'ping_SP_0'
Sep 29 08:49:36 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 29 08:49:57 srv4hai common[10007]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 29 08:50:01 srv4hai CRON[10022]: (root) CMD (/etc/linetest/linetest.sh)
Sep 29 08:50:01 srv4hai CRON[10023]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 29 08:50:01 srv4hai common[10025]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 29 08:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 29 08:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 29 08:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 29 08:50:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 29 08:50:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 29 08:50:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 29 08:50:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 29 08:50:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 29 08:50:07 srv4hai bt_scan[10007]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 29 08:50:07 srv4hai bt_scan[10007]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 29 08:50:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 29 08:50:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 29 08:50:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 29 08:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 29 08:50:16 srv4hai common[10941]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 29 08:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Sep 29 08:50:16 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Sep 29 08:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY scenario: 'vorraumOff(vorraumoff)' TO BE EXECUTED, shelly-25:'Küchenlicht'
Sep 29 08:50:27 srv4hai postfix/pickup[25114]: 5B8F663463: uid=33 from=
Sep 29 08:50:27 srv4hai postfix/cleanup[11027]: 5B8F663463: message-id=<20240929065027.5B8F663463@mail.viehai.at>
Sep 29 08:50:27 srv4hai postfix/qmgr[8566]: 5B8F663463: from=, size=9510, nrcpt=1 (queue active)
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Sep 29 08:50:27 srv4hai proc_url[11045]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai postfix/local[11040]: 5B8F663463: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 29 08:50:27 srv4hai postfix/cleanup[11027]: 67EB163465: message-id=<20240929065027.67EB163465@mail.viehai.at>
Sep 29 08:50:27 srv4hai postfix/bounce[11041]: 5B8F663463: sender non-delivery notification: 67EB163465
Sep 29 08:50:27 srv4hai postfix/qmgr[8566]: 67EB163465: from=<>, size=11432, nrcpt=1 (queue active)
Sep 29 08:50:27 srv4hai postfix/qmgr[8566]: 5B8F663463: removed
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Sep 29 08:50:27 srv4hai proc_url[11057]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai postfix/local[11040]: 67EB163465: 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 29 08:50:27 srv4hai postfix/qmgr[8566]: 67EB163465: removed
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Sep 29 08:50:27 srv4hai proc_url[11070]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Sep 29 08:50:27 srv4hai proc_url[11089]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Sep 29 08:50:27 srv4hai proc_url[11107]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-22'-'WC' --> '0?turn=off'
Sep 29 08:50:27 srv4hai proc_url[11128]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_5.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY: scenario: 'vorraumOff(vorraumoff)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Sep 29 08:50:27 srv4hai proc_url[11154]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_6.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-25:'Küchenlicht''
Sep 29 08:50:27 srv4hai activate_scenario[10974]: SHELLY scenario: 'vorraumOff(vorraumoff)' took 170 msec, shelly-25:'Küchenlicht'
Sep 29 08:50:34 srv4hai activate_scenario[11230]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Sep 29 08:50:34 srv4hai activate_scenario[11230]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'

finished