activate_scenario.sh
Sat Jul 20 11:10:38 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/07/20/_0.log)

vorher: 11:10:38.323

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: 11:10:38.445
Dauer: 122 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 11:10:38.304
nachher: 11:10:38.451
Dauer : 147 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_vorraumOn_20240720_111038.txt'


syslog

Jul 20 11:07:01 srv4hai CRON[20327]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 11:07:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 11:07:31 srv4hai fetchmail[1651]: 49041 messages (49041 seen) for tmiglinci at mail.akis.at (-234730617 octets).
Jul 20 11:07:31 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 11:07:32 srv4hai fetchmail[1651]: 24844 messages (24844 seen) for mrozum at mail.akis.at (53699227 octets).
Jul 20 11:07:33 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 11:07:45 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721466465 - 'ping_SP_1'
Jul 20 11:07:45 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 11:07:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20365, secured, session=
Jul 20 11:07:50 srv4hai dovecot: imap(miglincit)<20365>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 11:08:01 srv4hai CRON[20373]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 11:08:19 srv4hai named[30406]: connection refused resolving 'ooc-g2.tm-4.office.com/A/IN': 95.129.202.2#53
Jul 20 11:08:21 srv4hai named[30406]: connection refused resolving 'office.com/DS/IN': 95.129.202.2#53
Jul 20 11:08:22 srv4hai named[30406]: connection refused resolving 'outlook.ms-acdc.office.com/A/IN': 95.129.202.2#53
Jul 20 11:08:25 srv4hai named[30406]: connection refused resolving 'VIE-efz.ms-acdc.office.com/A/IN': 95.129.202.2#53
Jul 20 11:08:30 srv4hai named[30406]: connection refused resolving '_ldap._tcp.vie._sites.dc._msdcs.ds1.internal/SRV/IN': 95.129.202.2#53
Jul 20 11:08:31 srv4hai named[30406]: connection refused resolving '_ldap._tcp.dc._msdcs.ds1.internal/SRV/IN': 95.129.202.2#53
Jul 20 11:08:33 srv4hai named[30406]: connection refused resolving '_ldap._tcp.01a49014-11be-4c11-800a-9a5c7e45dcd6.domains._msdcs.ds1.internal/SRV/IN': 95.129.202.2#53
Jul 20 11:08:41 srv4hai named[30406]: connection refused resolving 'notifications-pa.googleapis.com/A/IN': 95.129.202.2#53
Jul 20 11:08:41 srv4hai named[30406]: connection refused resolving 'www.google.com/A/IN': 95.129.202.2#53
Jul 20 11:08:43 srv4hai named[30406]: connection refused resolving 'googleapis.com/DS/IN': 95.129.202.2#53
Jul 20 11:08:45 srv4hai named[30406]: connection refused resolving 'lh5.googleusercontent.com/A/IN': 95.129.202.2#53
Jul 20 11:08:45 srv4hai named[30406]: connection refused resolving 'encrypted-tbn0.gstatic.com/A/IN': 95.129.202.2#53
Jul 20 11:08:45 srv4hai named[30406]: connection refused resolving 'gstatic.com/DS/IN': 95.129.202.2#53
Jul 20 11:08:58 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721466538 - 'ping_SP_1'
Jul 20 11:08:58 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 11:09:01 srv4hai CRON[20418]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 20 11:09:01 srv4hai CRON[20419]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 11:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 20 11:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 20 11:09:02 srv4hai systemd[1]: Started Clean php session files.
Jul 20 11:10:01 srv4hai CRON[20545]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 11:10:01 srv4hai CRON[20546]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 20 11:10:01 srv4hai common[20548]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 20 11:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 20 11:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 20 11:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 20 11:10:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 20 11:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 20 11:10:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 20 11:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 20 11:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 20 11:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 20 11:10:11 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721466611 - 'ping_SP_1'
Jul 20 11:10:11 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 20 11:10:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 20 11:10:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 20 11:10:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 20 11:10:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 20 11:10:16 srv4hai common[21446]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 20 11:10:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF'
Jul 20 11:10:16 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Jul 20 11:10:16 srv4hai meter.sh: SHELLY meter.sh ended
Jul 20 11:10:24 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 20 11:10:24 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 20 11:10:24 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 20 11:10:24 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 20 11:10:24 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 20 11:10:24 srv4hai common[21472]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 20 11:10:27 srv4hai common[21485]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 11:10:34 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 20 11:10:34 srv4hai common[21502]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 11:10:34 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 20 11:10:34 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 20 11:10:34 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 20 11:10:34 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 20 11:10:34 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 20 11:10:34 srv4hai common[21515]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 20 11:10:34 srv4hai ping_SP[21502]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 20 11:10:37 srv4hai bt_scan[21485]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 20 11:10:37 srv4hai bt_scan[21485]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 20 11:10:37 srv4hai common[21553]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 11:10:37 srv4hai ping_SP[21553]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 20 11:10:37 srv4hai common[21574]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 11:10:38 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1721466638-1721466633
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul 20 11:10:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1721466638-1721466633
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 20 11:10:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1721466638-1721466633
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcOFF) - sceneONsmall(vorraumOn)
Jul 20 11:10:38 srv4hai check_presence[21574]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 20 11:10:38 srv4hai activate_scenario[21720]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 20 11:10:38 srv4hai activate_scenario[21720]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished