activate_scenario.sh
Thu Feb 15 11:42:40 CET 2024
scenario: welcomeLight
phoneName: 0

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

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/15/_0.log)

vorher: 11:42:40.743

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: 11:42:40.778
Dauer: 36 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/15/_1.log)

vorher: 11:42:40.755

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 11:42:40.779
Dauer: 25 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/15/_2.log)

vorher: 11:42:40.767

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 11:42:40.799
Dauer: 31 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/15/_3.log)

vorher: 11:42:40.781

http://192.168.12.117/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 11:42:40.846
Dauer: 65 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/15/_4.log)

vorher: 11:42:40.794

http://192.168.12.117/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 11:42:40.863
Dauer: 69 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 11:42:40.725
nachher: 11:42:40.871
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/15//scene_welcomeLight_20240215_114240.txt'


syslog

Feb 15 11:39:01 srv4hai CRON[7871]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 11:39:01 srv4hai CRON[7872]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 15 11:39:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 15 11:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 15 11:39:01 srv4hai systemd[1]: Started Clean php session files.
Feb 15 11:39:03 srv4hai postfix/smtpd[7756]: warning: unknown[91.215.85.17]: SASL PLAIN authentication failed: 
Feb 15 11:39:03 srv4hai postfix/smtpd[7756]: disconnect from unknown[91.215.85.17] ehlo=2 starttls=1 auth=0/1 quit=1 unknown=0/1 commands=4/6
Feb 15 11:40:01 srv4hai CRON[8010]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 11:40:01 srv4hai CRON[8011]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 15 11:40:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 15 11:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:47 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:47 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:49 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:49 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:49 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 15 11:40:49 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 15 11:40:49 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 15 11:40:49 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:49 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc32405faa0 192.168.12.252#42863/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#53419/key rndc-key: signer "rndc-key" approved
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc31c0c14b0 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 15 11:40:49 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc308070fe0 192.168.12.252#55331/key rndc-key: signer "rndc-key" approved
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc308070fe0 192.168.12.252#55331/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 15 11:40:49 srv4hai named[14530]: client @0x7fc308070fe0 192.168.12.252#55331/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 15 11:40:49 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 15 11:40:49 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 15 11:40:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:40:50 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 15 11:40:50 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 15 11:40:50 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.38° - 41%
Feb 15 11:40:50 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.38°/23.62° - 41%/41% - SAVED
Feb 15 11:40:50 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 15 11:40:51 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-15T10:40:51.188Z",#012    "content": {#012      "temp": 23.38,#012      "hum": 41,#012      "batt": 91#012    },#012    "transaction": "12dcd089-42f6-429d-85ca-e4646bfd5a81"#012  }#012}'°
Feb 15 11:40:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:55 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:40:55 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:40:55 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv' modifed 5s ago - EXIT
Feb 15 11:40:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 15 11:40:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb 15 11:40:59 srv4hai postfix/pickup[29548]: 8658360245: uid=33 from=
Feb 15 11:40:59 srv4hai postfix/cleanup[8811]: 8658360245: message-id=<20240215104059.8658360245@mail.viehai.at>
Feb 15 11:40:59 srv4hai postfix/qmgr[28610]: 8658360245: from=, size=654, nrcpt=1 (queue active)
Feb 15 11:40:59 srv4hai postfix/local[8813]: 8658360245: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 15 11:40:59 srv4hai postfix/qmgr[28610]: 8658360245: removed
Feb 15 11:41:00 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:41:00 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:41:00 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv' modifed 10s ago - EXIT
Feb 15 11:41:01 srv4hai CRON[8838]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 11:41:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:41:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:41:05 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv' modifed 15s ago - EXIT
Feb 15 11:41:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:41:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:41:10 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv' modifed 20s ago - EXIT
Feb 15 11:41:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=23.38&id=shellyht-00B358
Feb 15 11:41:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv'
Feb 15 11:41:15 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240215.csv' modifed 25s ago - EXIT
Feb 15 11:41:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8921, secured, session=
Feb 15 11:41:47 srv4hai dovecot: imap(miglincit)<8921>: Logged out in=471 out=1240 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 15 11:42:01 srv4hai CRON[8935]: (root) CMD (/etc/linetest/linetest.sh)
Feb 15 11:42:23 srv4hai postfix/anvil[7494]: statistics: max connection rate 1/60s for (smtp:194.33.191.197) at Feb 15 11:34:36
Feb 15 11:42:23 srv4hai postfix/anvil[7494]: statistics: max connection count 1 for (smtp:194.33.191.197) at Feb 15 11:34:36
Feb 15 11:42:23 srv4hai postfix/anvil[7494]: statistics: max cache size 1 at Feb 15 11:34:36
Feb 15 11:42:40 srv4hai common[8963]: SHELLY common.sh inkludiert
Feb 15 11:42:40 srv4hai bt_scan[8963]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 15 11:42:40 srv4hai bt_scan[8963]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 15 11:42:40 srv4hai common[8992]: SHELLY common.sh inkludiert
Feb 15 11:42:40 srv4hai ping_SP[8992]: SHELLY ping_SP.sh started from bt_scan
Feb 15 11:42:40 srv4hai common[9002]: SHELLY common.sh inkludiert
Feb 15 11:42:40 srv4hai check_presence[9002]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 15 11:42:40 srv4hai check_presence[9002]: SHELLY (0) found  and 
Feb 15 11:42:40 srv4hai check_presence[9002]: SHELLY (0) found  and 
Feb 15 11:42:40 srv4hai check_presence[9002]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 15 11:42:40 srv4hai check_presence[9002]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 15 11:42:40 srv4hai activate_scenario[9053]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 15 11:42:40 srv4hai activate_scenario[9053]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished