activate_scenario.sh
Wed Sep 18 01:33:43 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/09/18/_0.log)

vorher: 01:33:43.798

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: 01:33:43.912
Dauer: 114 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 01:33:43.779
nachher: 01:33:43.918
Dauer : 140 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/18//scene_vorraumOn_20240918_013343.txt'


syslog

Sep 18 01:30:01 srv4hai CRON[10937]: (root) CMD (/etc/linetest/linetest.sh)
Sep 18 01:30:01 srv4hai CRON[10938]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 18 01:30:01 srv4hai common[10939]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 18 01:30:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 18 01:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 18 01:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 18 01:30:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 18 01:30:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 18 01:30:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 18 01:30:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 18 01:30:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 18 01:30:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 18 01:30:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 18 01:30:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 18 01:30:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 18 01:30:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 18 01:30:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 18 01:30:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 18 01:30:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 18 01:30:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 18 01:30:15 srv4hai common[11838]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 18 01:30:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Sep 18 01:30:15 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Sep 18 01:30:15 srv4hai meter.sh: SHELLY meter.sh ended
Sep 18 01:30:20 srv4hai ping_SP[6304]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726615820 - 'ping_SP_0'
Sep 18 01:30:20 srv4hai ping_SP[6304]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 18 01:30:49 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726615849 - 'ping_SP_1'
Sep 18 01:30:49 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 18 01:30:52 srv4hai common[11917]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 18 01:31:01 srv4hai CRON[11936]: (root) CMD (/etc/linetest/linetest.sh)
Sep 18 01:31:03 srv4hai bt_scan[11917]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 18 01:31:03 srv4hai bt_scan[11917]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 18 01:31:03 srv4hai common[11961]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 18 01:31:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1726615863-1726615853
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 18 01:31:03 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1726615863-1726615853
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 18 01:31:03 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1726615863-1726615853
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Sep 18 01:31:03 srv4hai check_presence[11961]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 18 01:31:33 srv4hai ping_SP[6304]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726615893 - 'ping_SP_0'
Sep 18 01:31:33 srv4hai ping_SP[6304]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 18 01:32:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 18 01:32:00 srv4hai fetchmail[1651]: 52547 messages (52546 seen) for tmiglinci at mail.akis.at (28632341 octets).
Sep 18 01:32:00 srv4hai postfix/smtpd[12161]: connect from localhost[127.0.0.1]
Sep 18 01:32:00 srv4hai postfix/smtpd[12161]: CCD286000F: client=localhost[127.0.0.1]
Sep 18 01:32:00 srv4hai postfix/cleanup[12164]: CCD286000F: message-id=
Sep 18 01:32:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52547 of 52547 (70025 octets) not flushed
Sep 18 01:32:00 srv4hai postfix/qmgr[8566]: CCD286000F: from=, size=70268, nrcpt=1 (queue active)
Sep 18 01:32:00 srv4hai postfix/smtpd[12161]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 18 01:32:00 srv4hai postfix/local[12165]: CCD286000F: to=, relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 18 01:32:00 srv4hai postfix/qmgr[8566]: CCD286000F: removed
Sep 18 01:32:01 srv4hai CRON[12168]: (root) CMD (/etc/linetest/linetest.sh)
Sep 18 01:32:01 srv4hai fetchmail[1651]: 10732 messages (10732 seen) for srozum at mail.akis.at (1302590189 octets).
Sep 18 01:32:01 srv4hai fetchmail[1651]: 25986 messages (25986 seen) for mrozum at mail.akis.at (228271236 octets).
Sep 18 01:32:02 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 18 01:32:02 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726615922 - 'ping_SP_1'
Sep 18 01:32:02 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 18 01:32:56 srv4hai ping_SP[6304]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1726615976 - 'ping_SP_0'
Sep 18 01:33:01 srv4hai CRON[12239]: (root) CMD (/etc/linetest/linetest.sh)
Sep 18 01:33:16 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726615996 - 'ping_SP_1'
Sep 18 01:33:16 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 18 01:33:22 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:22 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:22 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:22 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 18 01:33:22 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 18 01:33:22 srv4hai ping_SP[6304]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1726616002 - 'ping_SP_0'
Sep 18 01:33:22 srv4hai common[12274]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:32 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 18 01:33:32 srv4hai common[12299]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 18 01:33:32 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:32 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:32 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:32 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 18 01:33:32 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 18 01:33:32 srv4hai common[12312]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:32 srv4hai ping_SP[12299]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 18 01:33:42 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 18 01:33:42 srv4hai common[12340]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 18 01:33:42 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:42 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 18 01:33:42 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:42 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 18 01:33:42 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 18 01:33:42 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#37441/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 18 01:33:42 srv4hai common[12358]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 18 01:33:42 srv4hai common[12361]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 18 01:33:42 srv4hai ping_SP[12340]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 18 01:33:43 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1726616023-1726616014
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 18 01:33:43 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'9'=1726616023-1726616014
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 18 01:33:43 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1726616023-1726616014
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 18 01:33:43 srv4hai check_presence[12358]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 18 01:33:43 srv4hai activate_scenario[12528]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 18 01:33:43 srv4hai activate_scenario[12528]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished