activate_scenario.sh
Mon Feb 5 12:55:31 CET 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/02/05/_0.log)

vorher: 12:55:31.390

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: 12:55:31.481
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_1.log)

vorher: 12:55:31.407

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: 12:55:31.435
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_2.log)

vorher: 12:55:31.423

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: 12:55:31.485
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_3.log)

vorher: 12:55:31.437

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: 12:55:31.591
Dauer: 154 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_4.log)

vorher: 12:55:31.453

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: 12:55:31.584
Dauer: 130 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.467

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: 12:55:31.499
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.480

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: 12:55:31.631
Dauer: 150 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_7.log)

vorher: 12:55:31.494

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: 12:55:31.566
Dauer: 72 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.506

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: 12:55:31.537
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.519

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: 12:55:31.595
Dauer: 76 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_10.log)

vorher: 12:55:31.533

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: 12:55:31.634
Dauer: 100 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.548

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

nachher: 12:55:31.582
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.560

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

nachher: 12:55:31.596
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.572

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

nachher: 12:55:31.673
Dauer: 100 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.587

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

nachher: 12:55:31.917
Dauer: 331 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_15.log)

vorher: 12:55:31.603

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: 12:55:31.672
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:55:31.615

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: 12:55:31.674
Dauer: 59 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_17.log)

vorher: 12:55:31.630

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: 12:55:31.672
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_18.log)

vorher: 12:55:31.642

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: 12:55:31.688
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 12:55:31.368
nachher: 12:55:31.928
Dauer : 560 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/05//scene_homeOffice_20240205_125531.txt'


syslog

Feb  5 12:52:01 srv4hai CRON[28829]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 12:52:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707133946 - 'ping_SP_0'
Feb  5 12:52:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:52:32 srv4hai trace_events[28856]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 12:52:33 srv4hai bt_scan[28856]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  5 12:52:33 srv4hai bt_scan[28856]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  5 12:52:33 srv4hai trace_events[28883]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 12:52:33 srv4hai ping_SP[28883]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_28883.txt'
Feb  5 12:52:33 srv4hai trace_events[28892]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 12:52:33 srv4hai check_presence[28892]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  5 12:52:33 srv4hai check_presence[28892]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  5 12:52:33 srv4hai trace_events[28912]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY dayState='day' <--> DayTime=checked NightTime=unchecked - phoneName:'0'
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0'
Feb  5 12:52:33 srv4hai postfix/pickup[23438]: 2D76560244: uid=33 from=
Feb  5 12:52:33 srv4hai postfix/cleanup[28964]: 2D76560244: message-id=<20240205115233.2D76560244@mail.viehai.at>
Feb  5 12:52:33 srv4hai postfix/qmgr[28610]: 2D76560244: from=, size=44397, nrcpt=1 (queue active)
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb  5 12:52:33 srv4hai proc_url[28981]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb  5 12:52:33 srv4hai proc_url[28992]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb  5 12:52:33 srv4hai proc_url[29003]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb  5 12:52:33 srv4hai proc_url[29014]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=50' - phName:'phoneName:'0''
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb  5 12:52:33 srv4hai proc_url[29025]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=50' - phName:'phoneName:'0''
Feb  5 12:52:33 srv4hai activate_scenario[28912]: SHELLY scenario: 'welcomeLight(welcomelight)' took 164 msec, phoneName:'0'
Feb  5 12:52:33 srv4hai ping_SP[28883]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb  5 12:52:33 srv4hai ping_SP[28883]: SHELLY - running process-id(28883): '19282 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan
Feb  5 12:52:33 srv4hai ping_SP[28883]: 28883 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan
Feb  5 12:52:33 srv4hai ping_SP[28883]: 29112 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Feb  5 12:52:34 srv4hai postfix/relay/smtp[28977]: 2D76560244: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=1.1, delays=0.03/0.01/0.57/0.48, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CFE398011D)
Feb  5 12:52:34 srv4hai postfix/qmgr[28610]: 2D76560244: removed
Feb  5 12:52:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707133976 - 'ping_SP_0'
Feb  5 12:52:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:53:01 srv4hai CRON[29145]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 12:53:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707134006 - 'ping_SP_0'
Feb  5 12:53:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:53:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707134036 - 'ping_SP_0'
Feb  5 12:53:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:54:01 srv4hai CRON[29202]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 12:54:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707134066 - 'ping_SP_0'
Feb  5 12:54:26 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:54:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707134096 - 'ping_SP_0'
Feb  5 12:54:56 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:55:01 srv4hai CRON[29260]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 12:55:06 srv4hai postfix/anvil[28601]: statistics: max connection rate 1/60s for (smtp:194.33.191.29) at Feb  5 12:50:28
Feb  5 12:55:06 srv4hai postfix/anvil[28601]: statistics: max connection count 1 for (smtp:194.33.191.29) at Feb  5 12:50:28
Feb  5 12:55:06 srv4hai postfix/anvil[28601]: statistics: max cache size 1 at Feb  5 12:50:28
Feb  5 12:55:27 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707134127 - 'ping_SP_0'
Feb  5 12:55:27 srv4hai ping_SP[19282]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 12:55:31 srv4hai trace_events[29295]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 12:55:31 srv4hai activate_scenario[29295]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb  5 12:55:31 srv4hai activate_scenario[29295]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished