activate_scenario.sh
Sun Jul 21 19:31:47 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/21/_0.log)

vorher: 19:31:47.807

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: 19:31:47.833
Dauer: 25 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 19:31:47.788
nachher: 19:31:47.839
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/21//scene_vorraumOn_20240721_193147.txt'


syslog

Jul 21 19:28:01 srv4hai CRON[30984]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 19:28:07 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721582887 - 'ping_SP_1'
Jul 21 19:28:07 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 19:28:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31010, secured, session=
Jul 21 19:28:51 srv4hai dovecot: imap(miglincit)<31010>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 21 19:29:01 srv4hai CRON[31014]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 19:29:20 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721582960 - 'ping_SP_1'
Jul 21 19:29:20 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 19:30:01 srv4hai CRON[31047]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jul 21 19:30:01 srv4hai CRON[31046]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 19:30:01 srv4hai CRON[31048]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 21 19:30:01 srv4hai common[31049]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 21 19:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 21 19:30:04 srv4hai meter.sh: SHELLY 'shelly-25/Küchenlicht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 21 19:30:04 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 21 19:30:04 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 21 19:30:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 21 19:30:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 21 19:30:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 21 19:30:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 21 19:30:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 21 19:30:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 21 19:30:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 21 19:30:16 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 21 19:30:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 21 19:30:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 21 19:30:19 srv4hai common[31910]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 21 19:30:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jul 21 19:30:19 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Jul 21 19:30:19 srv4hai meter.sh: SHELLY meter.sh ended
Jul 21 19:30:34 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721583034 - 'ping_SP_1'
Jul 21 19:30:34 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 19:31:01 srv4hai CRON[31956]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 19:31:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 21 19:31:03 srv4hai fetchmail[1651]: 49101 messages (49101 seen) for tmiglinci at mail.akis.at (-231017451 octets).
Jul 21 19:31:04 srv4hai fetchmail[1651]: 10487 messages (10487 seen) for srozum at mail.akis.at (1262595579 octets).
Jul 21 19:31:04 srv4hai fetchmail[1651]: 24866 messages (24866 seen) for mrozum at mail.akis.at (56508722 octets).
Jul 21 19:31:05 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 21 19:31:34 srv4hai systemd[1]: Started Run anacron jobs.
Jul 21 19:31:34 srv4hai anacron[31965]: Anacron 2.3 started on 2024-07-21
Jul 21 19:31:34 srv4hai anacron[31965]: Normal exit (0 jobs run)
Jul 21 19:31:34 srv4hai systemd[1]: anacron.service: Succeeded.
Jul 21 19:31:36 srv4hai common[31967]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 19:31:46 srv4hai bt_scan[31967]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 21 19:31:46 srv4hai bt_scan[31967]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 21 19:31:46 srv4hai common[32002]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 21 19:31:47 srv4hai ping_SP[32002]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 21 19:31:47 srv4hai common[32023]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 21 19:31:47 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721583107 - 'ping_SP_1'
Jul 21 19:31:47 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 19:31:47 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1721583107-1721583104
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul 21 19:31:47 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1721583107-1721583104
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 21 19:31:47 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1721583107-1721583104
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 21 19:31:47 srv4hai check_presence[32023]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 21 19:31:47 srv4hai activate_scenario[32185]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 21 19:31:47 srv4hai activate_scenario[32185]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished