activate_scenario.sh
Wed Jun 19 21:33:17 CEST 2024
scenario: vorraumOn
phoneName: 0

'night' <--> 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/06/19/_0.log)

vorher: 21:33:17.398

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: 21:33:17.432
Dauer: 33 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:33:17.379
nachher: 21:33:17.439
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/19//scene_vorraumOn_20240619_213317.txt'


syslog

Jun 19 21:30:01 srv4hai CRON[8032]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 19 21:30:01 srv4hai CRON[8034]: (root) CMD (/etc/linetest/linetest.sh)
Jun 19 21:30:01 srv4hai CRON[8033]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 19 21:30:01 srv4hai common[8036]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 19 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 19 21:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 19 21:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 19 21:30:04 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:07 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 19 21:30:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 19 21:30:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 19 21:30:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 19 21:30:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 19 21:30:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 19 21:30:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 19 21:30:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 19 21:30:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 19 21:30:19 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 19 21:30:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 19 21:30:22 srv4hai common[8904]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 19 21:30:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jun 19 21:30:22 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jun 19 21:30:22 srv4hai meter.sh: SHELLY meter.sh ended
Jun 19 21:31:01 srv4hai CRON[8950]: (root) CMD (/etc/linetest/linetest.sh)
Jun 19 21:31:05 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718825465 - 'ping_SP_1'
Jun 19 21:31:05 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 19 21:32:01 srv4hai CRON[8998]: (root) CMD (/etc/linetest/linetest.sh)
Jun 19 21:32:18 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718825538 - 'ping_SP_1'
Jun 19 21:32:18 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 19 21:32:57 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:32:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:32:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:32:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 19 21:32:57 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 19 21:32:57 srv4hai common[9042]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:33:01 srv4hai CRON[9055]: (root) CMD (/etc/linetest/linetest.sh)
Jun 19 21:33:06 srv4hai common[9065]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 19 21:33:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 19 21:33:07 srv4hai common[9082]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 19 21:33:07 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:33:07 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:33:07 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:33:07 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 19 21:33:07 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 19 21:33:07 srv4hai common[9095]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:33:07 srv4hai ping_SP[9082]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 19 21:33:09 srv4hai postfix/anvil[8009]: statistics: max connection rate 1/60s for (smtp:193.32.162.77) at Jun 19 21:29:49
Jun 19 21:33:09 srv4hai postfix/anvil[8009]: statistics: max connection count 1 for (smtp:193.32.162.77) at Jun 19 21:29:49
Jun 19 21:33:09 srv4hai postfix/anvil[8009]: statistics: max cache size 1 at Jun 19 21:29:49
Jun 19 21:33:16 srv4hai bt_scan[9065]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 19 21:33:16 srv4hai bt_scan[9065]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun 19 21:33:16 srv4hai common[9134]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 19 21:33:16 srv4hai ping_SP[9134]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 19 21:33:16 srv4hai common[9155]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 19 21:33:17 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1718825597-1718825592
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 19 21:33:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1718825597-1718825592
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 19 21:33:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1718825597-1718825592
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 19 21:33:17 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 19 21:33:17 srv4hai common[9298]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 19 21:33:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:33:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 19 21:33:17 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:33:17 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 19 21:33:17 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 19 21:33:17 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#50535/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 19 21:33:17 srv4hai common[9312]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 19 21:33:17 srv4hai check_presence[9155]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 19 21:33:17 srv4hai activate_scenario[9344]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 19 21:33:17 srv4hai activate_scenario[9344]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished