activate_scenario.sh
Sun Nov 24 22:26:03 CET 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_0.log)

vorher: 22:26:03.705

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

nachher: 22:26:03.797
Dauer: 91 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_1.log)

vorher: 22:26:03.723

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

nachher: 22:26:03.747
Dauer: 25 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_2.log)

vorher: 22:26:03.740

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": "input"

nachher: 22:26:03.772
Dauer: 32 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_3.log)

vorher: 22:26:03.758

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

nachher: 22:26:03.784
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_4.log)

vorher: 22:26:03.773

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

nachher: 22:26:03.800
Dauer: 28 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_5.log)

vorher: 22:26:03.791

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

nachher: 22:26:03.834
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_6.log)

vorher: 22:26:03.809

http://192.168.12.116/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: 22:26:03.868
Dauer: 58 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_7.log)

vorher: 22:26:03.820

http://192.168.12.116/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: 22:26:03.860
Dauer: 40 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_8.log)

vorher: 22:26:03.834

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: 22:26:03.872
Dauer: 39 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_9.log)

vorher: 22:26:03.849

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: 22:26:03.887
Dauer: 38 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_10.log)

vorher: 22:26:03.863

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

nachher: 22:26:03.986
Dauer: 124 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_11.log)

vorher: 22:26:03.881

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

nachher: 22:26:03.922
Dauer: 40 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_12.log)

vorher: 22:26:03.893

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

nachher: 22:26:03.927
Dauer: 34 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_13.log)

vorher: 22:26:03.911

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: 22:26:03.980
Dauer: 69 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2024/11/24/_14.log)

vorher: 22:26:03.924

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

nachher: 22:26:03.968
Dauer: 45 msec phName: 'shelly-23:'WZ Licht Sofa''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 15
vorher : 22:26:03.681
nachher: 22:26:03.998
Dauer : 317 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/24//scene_offDownstairs_20241124_222603.txt'


syslog

Nov 24 22:23:01 srv4hai CRON[13865]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:23:02 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483382 - 'ping_SP_0'
Nov 24 22:23:02 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:23:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13886, secured, session=
Nov 24 22:23:02 srv4hai dovecot: imap(rozumm)<13886>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:23:09 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483389 - 'ping_SP_1'
Nov 24 22:23:09 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:23:31 srv4hai postfix/anvil[11740]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 24 22:16:16
Nov 24 22:23:31 srv4hai postfix/anvil[11740]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 24 22:16:16
Nov 24 22:23:31 srv4hai postfix/anvil[11740]: statistics: max cache size 3 at Nov 24 22:20:07
Nov 24 22:23:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13918, secured, session=
Nov 24 22:23:48 srv4hai dovecot: imap(miglincit)<13918>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:23:59 srv4hai postfix/smtpd[13923]: connect from unknown[80.94.95.239]
Nov 24 22:24:01 srv4hai CRON[13929]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:24:01 srv4hai postfix/smtpd[13923]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 24 22:24:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13938, secured, session=
Nov 24 22:24:02 srv4hai dovecot: imap(rozumm)<13938>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:24:02 srv4hai postfix/smtpd[13923]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 24 22:24:15 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483455 - 'ping_SP_0'
Nov 24 22:24:15 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:24:22 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483462 - 'ping_SP_1'
Nov 24 22:24:22 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:24:25 srv4hai common[13978]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 22:24:35 srv4hai bt_scan[13978]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Nov 24 22:24:35 srv4hai bt_scan[13978]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Nov 24 22:25:01 srv4hai CRON[14022]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:25:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14029, secured, session=
Nov 24 22:25:02 srv4hai dovecot: imap(rozumm)<14029>: Logged out in=92 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 24 22:25:25 srv4hai common[14045]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 24 22:25:28 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1732483528 - 'ping_SP_0'
Nov 24 22:25:28 srv4hai ping_SP[7749]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 24 22:25:35 srv4hai bt_scan[14045]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Nov 24 22:25:35 srv4hai bt_scan[14045]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Nov 24 22:25:35 srv4hai common[14095]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 24 22:25:35 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732483535 - 'ping_SP_1'
Nov 24 22:25:35 srv4hai ping_SP[1483]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 24 22:25:35 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1732483535-1732483525
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Nov 24 22:25:35 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1732483535-1732483525
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Nov 24 22:25:35 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1732483535-1732483525
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_bedlight_tom) - sceneOFF(offAll)
Nov 24 22:25:35 srv4hai check_presence[14095]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Nov 24 22:26:01 srv4hai CRON[14265]: (root) CMD (/etc/linetest/linetest.sh)
Nov 24 22:26:03 srv4hai activate_scenario[14271]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Nov 24 22:26:03 srv4hai activate_scenario[14271]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished