activate_scenario.sh
Mon Apr 8 06:58:04 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_0.log)

vorher: 06:58:04.635

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: 06:58:04.688
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_1.log)

vorher: 06:58:04.654

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: 06:58:04.704
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_2.log)

vorher: 06:58:04.670

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: 06:58:04.820
Dauer: 150 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_3.log)

vorher: 06:58:04.689

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: 06:58:04.726
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_4.log)

vorher: 06:58:04.706

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: 06:58:04.749
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_5.log)

vorher: 06:58:04.719

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

nachher: 06:58:04.759
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_6.log)

vorher: 06:58:04.732

http://192.168.12.108/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:58:04.765
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_7.log)

vorher: 06:58:04.747

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

nachher: 06:58:04.783
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_8.log)

vorher: 06:58:04.761

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: 06:58:04.800
Dauer: 40 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_9.log)

vorher: 06:58:04.776

http://192.168.12.140/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 06:58:04.823
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_10.log)

vorher: 06:58:04.788

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

nachher: 06:58:04.949
Dauer: 162 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_11.log)

vorher: 06:58:04.802

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

nachher: 06:58:04.843
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_12.log)

vorher: 06:58:04.815

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

nachher: 06:58:04.862
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_13.log)

vorher: 06:58:04.828

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: 06:58:04.863
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_14.log)

vorher: 06:58:04.841

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: 06:58:04.953
Dauer: 113 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_15.log)

vorher: 06:58:04.856

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

nachher: 06:58:04.915
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_16.log)

vorher: 06:58:04.870

http://192.168.12.123/relay/0?turn=off

        

nachher: 06:58:08.877
Dauer: 4007 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_17.log)

vorher: 06:58:04.883

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:58:04.964
Dauer: 80 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_18.log)

vorher: 06:58:04.898

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

nachher: 06:58:04.960
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 06:58:04.598
nachher: 06:58:08.886
Dauer : 4288 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/08//scene_homeOffice_20240408_065804.txt'


syslog

Apr  8 06:55:01 srv4hai CRON[6557]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 06:55:08 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712552108 - 'ping_SP_1'
Apr  8 06:55:08 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  8 06:55:31 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712552131 - 'ping_SP_0'
Apr  8 06:55:31 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 06:56:01 srv4hai CRON[6620]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 06:56:31 srv4hai ping_SP[32629]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1712552191 - 'ping_SP_1'
Apr  8 06:56:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6656, secured, session=<5jajoY4VlNQAAAAAAAAAAAAAAAAAAAAB>
Apr  8 06:56:41 srv4hai dovecot: imap(miglincit)<6656><5jajoY4VlNQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=693 out=42605 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18523 body_count=0 body_bytes=0
Apr  8 06:56:45 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712552205 - 'ping_SP_0'
Apr  8 06:56:45 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 06:56:57 srv4hai ping_SP[32629]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1712552217 - 'ping_SP_1'
Apr  8 06:57:00 srv4hai postfix/smtpd[6688]: connect from unknown[80.66.88.204]
Apr  8 06:57:00 srv4hai postfix/smtpd[6688]: lost connection after CONNECT from unknown[80.66.88.204]
Apr  8 06:57:00 srv4hai postfix/smtpd[6688]: disconnect from unknown[80.66.88.204] commands=0/0
Apr  8 06:57:01 srv4hai CRON[6692]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 06:57:23 srv4hai ping_SP[32629]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1712552243 - 'ping_SP_1'
Apr  8 06:57:34 srv4hai common[6723]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  8 06:57:44 srv4hai bt_scan[6723]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'No'
Apr  8 06:57:44 srv4hai bt_scan[6723]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Apr  8 06:57:44 srv4hai common[6757]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  8 06:57:45 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1712552265-1712552261
Apr  8 06:57:45 srv4hai check_presence[6757]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  8 06:57:45 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1712552265-1712552261
Apr  8 06:57:45 srv4hai check_presence[6757]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  8 06:57:45 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1712552265-1712552261
Apr  8 06:57:45 srv4hai check_presence[6757]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  8 06:57:45 srv4hai check_presence[6757]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  8 06:57:45 srv4hai check_presence[6757]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Apr  8 06:57:49 srv4hai ping_SP[32629]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1712552269 - 'ping_SP_1'
Apr  8 06:57:58 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712552278 - 'ping_SP_0'
Apr  8 06:57:58 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 06:58:01 srv4hai CRON[6902]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 06:58:04 srv4hai activate_scenario[6911]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr  8 06:58:04 srv4hai activate_scenario[6911]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished