activate_scenario.sh
Mon Oct 7 08:19:31 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/10/07/_0.log)

vorher: 08:19:31.601

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: 08:19:31.640
Dauer: 39 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_1.log)

vorher: 08:19:31.619

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: 08:19:31.666
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_2.log)

vorher: 08:19:31.637

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:19:31.749
Dauer: 112 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_3.log)

vorher: 08:19:31.652

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: 08:19:31.684
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_4.log)

vorher: 08:19:31.666

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: 08:19:31.748
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.680

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: 08:19:31.725
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.693

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: 08:19:31.735
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_7.log)

vorher: 08:19:31.705

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: 08:19:31.750
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.719

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: 08:19:31.744
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.734

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: 08:19:31.796
Dauer: 61 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_10.log)

vorher: 08:19:31.749

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: 08:19:31.807
Dauer: 57 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.763

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: 08:19:31.807
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.776

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: 08:19:31.836
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.788

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:19:31.859
Dauer: 71 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.802

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:19:31.891
Dauer: 89 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_15.log)

vorher: 08:19:31.815

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: 08:19:31.869
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:19:31.831

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

nachher: 08:19:31.954
Dauer: 123 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_17.log)

vorher: 08:19:31.845

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: 08:19:31.891
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/10/07/_18.log)

vorher: 08:19:31.857

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: 08:19:31.943
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 08:19:31.573
nachher: 08:19:31.962
Dauer : 389 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/07//scene_homeOffice_20241007_081931.txt'


syslog

Oct  7 08:16:01 srv4hai CRON[30157]: (root) CMD (/etc/linetest/linetest.sh)
Oct  7 08:16:08 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728281768 - 'ping_SP_0'
Oct  7 08:16:08 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  7 08:16:23 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1728281783 - 'ping_SP_1'
Oct  7 08:16:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30201, secured, session=<3UZS99wj1rQAAAAAAAAAAAAAAAAAAAAB>
Oct  7 08:16:49 srv4hai dovecot: imap(miglincit)<30201><3UZS99wj1rQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  7 08:16:49 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1728281809 - 'ping_SP_1'
Oct  7 08:17:01 srv4hai CRON[30221]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Oct  7 08:17:01 srv4hai CRON[30220]: (root) CMD (/etc/linetest/linetest.sh)
Oct  7 08:17:07 srv4hai common[30232]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct  7 08:17:12 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1728281832 - 'ping_SP_1'
Oct  7 08:17:17 srv4hai bt_scan[30232]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Oct  7 08:17:17 srv4hai bt_scan[30232]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Oct  7 08:17:17 srv4hai common[30283]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct  7 08:17:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1728281837-1728281827
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Oct  7 08:17:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1728281837-1728281827
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.TRY' for what: 'presence'
Oct  7 08:17:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1728281837-1728281827
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Oct  7 08:17:17 srv4hai check_presence[30283]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Oct  7 08:17:21 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728281841 - 'ping_SP_0'
Oct  7 08:17:21 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  7 08:17:39 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1728281859 - 'ping_SP_1'
Oct  7 08:18:01 srv4hai CRON[30487]: (root) CMD (/etc/linetest/linetest.sh)
Oct  7 08:18:05 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1728281885 - 'ping_SP_1'
Oct  7 08:18:05 srv4hai ping_SP[791]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (791) @~1728281885 - rm 'ping_SP_1'
Oct  7 08:18:05 srv4hai common[30505]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct  7 08:18:05 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1728281885-1728281882
Oct  7 08:18:05 srv4hai check_presence[30505]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Oct  7 08:18:05 srv4hai check_presence[30505]: SHELLY (ping_SP__NO_ping)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Oct  7 08:18:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1728281885-1728281882
Oct  7 08:18:05 srv4hai check_presence[30505]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Oct  7 08:18:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1728281885-1728281882
Oct  7 08:18:05 srv4hai check_presence[30505]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct  7 08:18:05 srv4hai check_presence[30505]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct  7 08:18:06 srv4hai check_presence[30505]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Oct  7 08:18:06 srv4hai check_presence[30505]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Oct  7 08:18:06 srv4hai ping_SP[791]: SHELLY (1)- TERMINATING now
Oct  7 08:18:34 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728281914 - 'ping_SP_0'
Oct  7 08:18:34 srv4hai ping_SP[32204]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  7 08:18:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30673, secured, session=<4iwK/twj3rQAAAAAAAAAAAAAAAAAAAAB>
Oct  7 08:18:42 srv4hai dovecot: imap(miglincit)<30673><4iwK/twj3rQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=447 out=76741 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=484 body_count=1 body_bytes=74333
Oct  7 08:18:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30675, secured, session=
Oct  7 08:18:42 srv4hai dovecot: imap(miglincit)<30675>: Logged out in=446 out=73257 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=484 body_count=2 body_bytes=70808
Oct  7 08:18:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30677, secured, session=
Oct  7 08:18:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30679, secured, session=
Oct  7 08:18:43 srv4hai dovecot: imap(miglincit)<30679>: Logged out in=505 out=9475 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=704 body_count=4 body_bytes=6442
Oct  7 08:18:43 srv4hai dovecot: imap(miglincit)<30677>: Logged out in=606 out=31379 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=252 body_count=0 body_bytes=0
Oct  7 08:18:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30681, secured, session=
Oct  7 08:18:45 srv4hai dovecot: imap(miglincit)<30681>: Logged out in=443 out=43102 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=433 body_count=1 body_bytes=40920
Oct  7 08:18:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30683, secured, session=
Oct  7 08:18:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30685, secured, session=
Oct  7 08:18:46 srv4hai dovecot: imap(miglincit)<30685>: Logged out in=505 out=9441 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=704 body_count=4 body_bytes=6442
Oct  7 08:18:46 srv4hai dovecot: imap(miglincit)<30683>: Logged out in=606 out=31352 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=307 body_count=0 body_bytes=0
Oct  7 08:19:01 srv4hai CRON[30688]: (root) CMD (/etc/linetest/linetest.sh)
Oct  7 08:19:31 srv4hai activate_scenario[30695]: SHELLY scenario: 'homeOffice(homeoffice)' started
Oct  7 08:19:31 srv4hai activate_scenario[30695]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished