activate_scenario.sh
Thu Feb 1 15:17:07 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/01/_0.log)

vorher: 15:17:07.372

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: 15:17:07.522
Dauer: 150 msec phName: 'phoneName:'0''


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

vorher: 15:17:07.392

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

nachher: 15:17:07.517
Dauer: 124 msec phName: 'phoneName:'0''


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

vorher: 15:17:07.412

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

nachher: 15:17:07.516
Dauer: 104 msec phName: 'phoneName:'0''


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

vorher: 15:17:07.431

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

nachher: 15:17:08.467
Dauer: 1035 msec phName: 'phoneName:'0''


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

vorher: 15:17:07.449

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

nachher: 15:17:07.473
Dauer: 24 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 15:17:07.339
nachher: 15:17:08.475
Dauer : 1137 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/01//scene_welcomeLight_20240201_151707.txt'


syslog

Feb  1 15:14:00 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-01T14:14:00.214Z",#012    "content": {#012      "temp": 22.62,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "fad168c7-718b-4b99-b73c-d12c536f7524"#012  }#012}'°
Feb  1 15:14:01 srv4hai CRON[23629]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02'
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=22.62&id=shellyht-00B358
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY id  => macID: '00:B3:58'
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  1 15:14:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.62° - 43%
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240201.csv'
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.62°/22.62° - 43%/43% - 20240201;15:14/20240201;15:13/64 - NOT SAVED - DUPLICATE
Feb  1 15:14:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb  1 15:14:05 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-01T14:14:05.350Z",#012    "content": {#012      "temp": 22.62,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "1359d089-4f79-42cd-89dc-6dd26b5d20b0"#012  }#012}'°
Feb  1 15:14:05 srv4hai named[14530]: resolver priming query complete
Feb  1 15:14:09 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02'
Feb  1 15:14:09 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=22.62&id=shellyht-00B358
Feb  1 15:14:09 srv4hai ht_shelly.sh: SHELLY id  => macID: '00:B3:58'
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  1 15:14:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  1 15:14:09 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.62° - 43%
Feb  1 15:14:09 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240201.csv'
Feb  1 15:14:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.62°/22.62° - 43%/43% - 20240201;15:14/20240201;15:13/70 - NOT SAVED - DUPLICATE
Feb  1 15:14:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb  1 15:14:10 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-01T14:14:10.405Z",#012    "content": {#012      "temp": 22.62,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "72fbd8db-8771-4287-9e3b-39d6050e8907"#012  }#012}'°
Feb  1 15:14:28 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706796868 - 'ping_SP_0'
Feb  1 15:14:28 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:14:58 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706796898 - 'ping_SP_0'
Feb  1 15:14:58 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:15:01 srv4hai CRON[23929]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 15:15:14 srv4hai named[14530]: resolver priming query complete
Feb  1 15:15:28 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706796928 - 'ping_SP_0'
Feb  1 15:15:28 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:15:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23957, secured, session=
Feb  1 15:15:51 srv4hai dovecot: imap(miglincit)<23957>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  1 15:15:58 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706796958 - 'ping_SP_0'
Feb  1 15:15:58 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:16:01 srv4hai CRON[23976]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 15:16:14 srv4hai named[14530]: resolver priming query complete
Feb  1 15:16:20 srv4hai named[14530]: resolver priming query complete
Feb  1 15:16:29 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706796989 - 'ping_SP_0'
Feb  1 15:16:29 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:16:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  1 15:16:32 srv4hai fetchmail[1651]: 37006 messages (37005 seen) for tmiglinci at mail.akis.at (-1225195675 octets).
Feb  1 15:16:32 srv4hai postfix/smtpd[24001]: connect from localhost[127.0.0.1]
Feb  1 15:16:32 srv4hai postfix/smtpd[24001]: 3AB986011E: client=localhost[127.0.0.1]
Feb  1 15:16:32 srv4hai postfix/cleanup[24004]: 3AB986011E: message-id=<002001da5518$a33f9480$e9bebd80$@drei.at>
Feb  1 15:16:32 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37006 of 37006 (24578 octets) not flushed
Feb  1 15:16:32 srv4hai postfix/qmgr[28610]: 3AB986011E: from=, size=24860, nrcpt=1 (queue active)
Feb  1 15:16:32 srv4hai postfix/smtpd[24001]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  1 15:16:32 srv4hai postfix/local[24005]: 3AB986011E: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  1 15:16:32 srv4hai postfix/qmgr[28610]: 3AB986011E: removed
Feb  1 15:16:32 srv4hai fetchmail[1651]: 9841 messages (9841 seen) for srozum at mail.akis.at (1188841561 octets).
Feb  1 15:16:33 srv4hai fetchmail[1651]: 21427 messages (21427 seen) for mrozum at mail.akis.at (-667903197 octets).
Feb  1 15:16:33 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  1 15:16:59 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706797019 - 'ping_SP_0'
Feb  1 15:16:59 srv4hai ping_SP[3217]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 15:17:01 srv4hai CRON[24029]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 15:17:01 srv4hai CRON[24030]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb  1 15:17:07 srv4hai bt_scan[24037]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  1 15:17:07 srv4hai bt_scan[24037]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  1 15:17:07 srv4hai ping_SP[24060]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_24060.txt'
Feb  1 15:17:07 srv4hai check_presence[24065]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  1 15:17:07 srv4hai check_presence[24065]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  1 15:17:07 srv4hai activate_scenario[24079]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  1 15:17:07 srv4hai activate_scenario[24079]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished