activate_scenario.sh
Fri Sep 13 17:11:23 CEST 2024
scenario: vorraumOn
phoneName: 1

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

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log)

vorher: 17:11:23.495

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

nachher: 17:11:23.572
Dauer: 77 msec phName: 'phoneName:'1''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 17:11:23.474
nachher: 17:11:23.579
Dauer : 105 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_171123.txt'


syslog

Sep 13 17:08:01 srv4hai CRON[20267]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:08:30 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726240110 - 'ping_SP_0'
Sep 13 17:08:30 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:09:01 srv4hai CRON[20301]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:09:01 srv4hai CRON[20302]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 13 17:09:01 srv4hai systemd[1]: Starting Clean php session files...
Sep 13 17:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep 13 17:09:02 srv4hai systemd[1]: Started Clean php session files.
Sep 13 17:09:33 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726240173 - 'ping_SP_0'
Sep 13 17:09:33 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:10:01 srv4hai CRON[20425]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:10:01 srv4hai CRON[20426]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 13 17:10:01 srv4hai common[20428]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 13 17:10:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 13 17:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 13 17:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 13 17:10:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 13 17:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 13 17:10:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 13 17:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 13 17:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 13 17:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 13 17:10:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 13 17:10:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 13 17:10:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 13 17:10:18 srv4hai common[21319]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 13 17:10:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 13 17:10:18 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Sep 13 17:10:18 srv4hai meter.sh: SHELLY meter.sh ended
Sep 13 17:10:37 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726240237 - 'ping_SP_0'
Sep 13 17:10:37 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 13 17:11:01 srv4hai CRON[21376]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 17:11:05 srv4hai common[21385]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 13 17:11:05 srv4hai bt_scan[21385]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 13 17:11:05 srv4hai bt_scan[21385]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 13 17:11:22 srv4hai common[21424]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 13 17:11:22 srv4hai bt_scan[21424]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 13 17:11:22 srv4hai bt_scan[21424]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep 13 17:11:22 srv4hai common[21455]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 17:11:22 srv4hai ping_SP[21455]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 13 17:11:22 srv4hai common[21476]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 17:11:23 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1726240283-1726240282
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 13 17:11:23 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1726240283-1726240282
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 13 17:11:23 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1726240283-1726240282
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 13 17:11:23 srv4hai check_presence[21476]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Sep 13 17:11:23 srv4hai activate_scenario[21606]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 17:11:23 srv4hai activate_scenario[21606]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished