activate_scenario.sh
Wed Jan 31 21:05:58 CET 2024
scenario: welcomeLight
phoneName: 0

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_0.log)

vorher: 21:05:59.021

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

nachher: 21:05:59.146
Dauer: 124 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_1.log)

vorher: 21:05:59.038

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

nachher: 21:05:59.152
Dauer: 114 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_2.log)

vorher: 21:05:59.056

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

nachher: 21:05:59.152
Dauer: 96 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_3.log)

vorher: 21:05:59.073

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

nachher: 21:05:59.105
Dauer: 32 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/01/31/_4.log)

vorher: 21:05:59.091

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

nachher: 21:05:59.155
Dauer: 64 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 21:05:58.996
nachher: 21:05:59.164
Dauer : 168 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/31//scene_welcomeLight_20240131_210558.txt'


syslog

Jan 31 21:02:01 srv4hai CRON[19978]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:02:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731336 - 'ping_SP_0'
Jan 31 21:02:16 srv4hai check_presence[19996]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:02:16 srv4hai check_presence[19996]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:02:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:02:22 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731342 - 'ping_SP_1'
Jan 31 21:02:22 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:02:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731366 - 'ping_SP_0'
Jan 31 21:02:46 srv4hai check_presence[20047]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:02:46 srv4hai check_presence[20047]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:02:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:02:53 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731373 - 'ping_SP_1'
Jan 31 21:02:53 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:03:01 srv4hai CRON[20088]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:03:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731396 - 'ping_SP_0'
Jan 31 21:03:16 srv4hai check_presence[20110]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:03:16 srv4hai check_presence[20110]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:03:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:03:23 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731403 - 'ping_SP_1'
Jan 31 21:03:23 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:03:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731426 - 'ping_SP_0'
Jan 31 21:03:46 srv4hai check_presence[20162]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:03:46 srv4hai check_presence[20162]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:03:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:03:53 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731433 - 'ping_SP_1'
Jan 31 21:03:53 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:04:01 srv4hai CRON[20204]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:04:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731456 - 'ping_SP_0'
Jan 31 21:04:16 srv4hai check_presence[20222]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:04:16 srv4hai check_presence[20222]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:04:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:04:23 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731463 - 'ping_SP_1'
Jan 31 21:04:23 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:04:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731486 - 'ping_SP_0'
Jan 31 21:04:46 srv4hai check_presence[20272]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:04:46 srv4hai check_presence[20272]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:04:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:04:54 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731494 - 'ping_SP_1'
Jan 31 21:04:54 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:05:01 srv4hai CRON[20312]: (root) CMD (/etc/linetest/linetest.sh)
Jan 31 21:05:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731516 - 'ping_SP_0'
Jan 31 21:05:16 srv4hai check_presence[20330]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:05:16 srv4hai check_presence[20330]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:05:16 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:05:24 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731524 - 'ping_SP_1'
Jan 31 21:05:24 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:05:25 srv4hai bt_scan[20369]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Jan 31 21:05:25 srv4hai bt_scan[20369]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jan 31 21:05:25 srv4hai check_presence[20393]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:05:25 srv4hai check_presence[20393]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:05:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706731546 - 'ping_SP_0'
Jan 31 21:05:46 srv4hai check_presence[20419]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:05:46 srv4hai check_presence[20419]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll
Jan 31 21:05:46 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 31 21:05:54 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1706731554 - 'ping_SP_1'
Jan 31 21:05:54 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 31 21:05:58 srv4hai bt_scan[20457]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Jan 31 21:05:58 srv4hai bt_scan[20457]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jan 31 21:05:58 srv4hai ping_SP[20480]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_20480.txt'
Jan 31 21:05:58 srv4hai check_presence[20485]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jan 31 21:05:58 srv4hai check_presence[20485]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Jan 31 21:05:58 srv4hai activate_scenario[20502]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Jan 31 21:05:58 srv4hai activate_scenario[20502]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished