activate_scenario.sh
Fri Jan 17 23:55:47 CET 2025
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/2025/01/17/_0.log)

vorher: 23:55:47.971

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

nachher: 23:55:48.014
Dauer: 43 msec phName: 'shelly-23:'WZ Licht Sofa''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_1.log)

vorher: 23:55:47.992

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

nachher: 23:55:48.023
Dauer: 32 msec phName: 'shelly-23:'WZ Licht Sofa''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_2.log)

vorher: 23:55:48.014

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: 23:55:48.041
Dauer: 27 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_3.log)

vorher: 23:55:48.035

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

nachher: 23:55:48.060
Dauer: 25 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_4.log)

vorher: 23:55:48.056

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

nachher: 23:55:48.080
Dauer: 24 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_5.log)

vorher: 23:55:48.078

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

nachher: 23:55:48.128
Dauer: 51 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_6.log)

vorher: 23:55:48.098

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

nachher: 23:55:48.128
Dauer: 30 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_7.log)

vorher: 23:55:48.118

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

nachher: 23:55:48.161
Dauer: 42 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_8.log)

vorher: 23:55:48.138

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: 23:55:48.160
Dauer: 22 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_9.log)

vorher: 23:55:48.156

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: 23:55:48.236
Dauer: 80 msec phName: 'shelly-23:'WZ Licht Sofa''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_10.log)

vorher: 23:55:48.177

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: 23:55:48.229
Dauer: 52 msec phName: 'shelly-23:'WZ Licht Sofa''


WC Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_11.log)

vorher: 23:55:48.195

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: 23:55:48.223
Dauer: 29 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_12.log)

vorher: 23:55:48.213

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: 23:55:48.343
Dauer: 130 msec phName: 'shelly-23:'WZ Licht Sofa''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_13.log)

vorher: 23:55:48.235

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: 23:55:48.279
Dauer: 43 msec phName: 'shelly-23:'WZ Licht Sofa''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/01/17/_14.log)

vorher: 23:55:48.259

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: 23:55:48.299
Dauer: 41 msec phName: 'shelly-23:'WZ Licht Sofa''


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

urls : 15
vorher : 23:55:47.941
nachher: 23:55:48.351
Dauer : 411 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/17//scene_offDownstairs_20250117_235547.txt'


syslog

Jan 17 23:52:01 srv4hai CRON[22287]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 23:52:58 srv4hai postfix/smtpd[22260]: connect from unknown[195.178.110.215]
Jan 17 23:52:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 17 23:53:00 srv4hai fetchmail[1651]: 61683 messages (61683 seen) for tmiglinci at mail.akis.at (760072774 octets).
Jan 17 23:53:00 srv4hai fetchmail[1651]: 11397 messages (11397 seen) for srozum at mail.akis.at (1358992401 octets).
Jan 17 23:53:01 srv4hai fetchmail[1651]: 28391 messages (28391 seen) for mrozum at mail.akis.at (575082149 octets).
Jan 17 23:53:01 srv4hai CRON[22330]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 23:53:02 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 17 23:53:02 srv4hai postfix/smtpd[22260]: warning: unknown[195.178.110.215]: SASL PLAIN authentication failed: 
Jan 17 23:53:02 srv4hai postfix/smtpd[22260]: disconnect from unknown[195.178.110.215] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 17 23:53:02 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737154382 - 'ping_SP_0'
Jan 17 23:53:02 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 23:53:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22362, secured, session=
Jan 17 23:53:38 srv4hai dovecot: imap(miglincit)<22362>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 17 23:53:47 srv4hai common[22367]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 17 23:53:57 srv4hai bt_scan[22367]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jan 17 23:53:57 srv4hai bt_scan[22367]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 17 23:53:57 srv4hai common[22403]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 17 23:53:57 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1737154437-1737154427
Jan 17 23:53:57 srv4hai check_presence[22403]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 17 23:53:57 srv4hai check_presence[22403]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 17 23:53:57 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1737154437-1737154427
Jan 17 23:53:57 srv4hai check_presence[22403]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jan 17 23:53:57 srv4hai check_presence[22403]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 17 23:53:58 srv4hai check_presence[22403]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jan 17 23:53:58 srv4hai check_presence[22403]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 17 23:54:01 srv4hai CRON[22521]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 23:54:15 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737154455 - 'ping_SP_0'
Jan 17 23:54:15 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 23:55:01 srv4hai CRON[22569]: (root) CMD (/etc/linetest/linetest.sh)
Jan 17 23:55:26 srv4hai common[22588]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Jan 17 23:55:26 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Jan 17 23:55:26 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Jan 17 23:55:26 srv4hai common[22611]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Jan 17 23:55:27 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1737154527-1737154527
Jan 17 23:55:27 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1737154527-1737154527
Jan 17 23:55:28 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737154528 - 'ping_SP_0'
Jan 17 23:55:28 srv4hai ping_SP[6093]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 17 23:55:39 srv4hai postfix/smtpd[22676]: connect from unknown[195.178.110.217]
Jan 17 23:55:43 srv4hai postfix/smtpd[22676]: warning: unknown[195.178.110.217]: SASL PLAIN authentication failed: 
Jan 17 23:55:43 srv4hai postfix/smtpd[22676]: disconnect from unknown[195.178.110.217] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 17 23:55:47 srv4hai activate_scenario[22686]: SHELLY last scenario: 'nasszeile_um' @ '233210' from 'scene_nasszeile_um_20250117_233210.txt' - delta=-37
Jan 17 23:55:47 srv4hai activate_scenario[22686]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20250117235547 20250117233210  -f '%S'
Jan 17 23:55:47 srv4hai activate_scenario[22686]: SHELLY  new scenario: 'offDownstairs' different - GO ON
Jan 17 23:55:47 srv4hai activate_scenario[22686]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jan 17 23:55:47 srv4hai activate_scenario[22686]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'

finished