activate_scenario.sh
Sat Feb 3 01:06:17 CET 2024
scenario: welcomeLight
phoneName: 0

'night' <--> 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/03/_0.log)

vorher: 01:06:17.775

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:06:17.826
Dauer: 51 msec phName: 'phoneName:'0''


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

vorher: 01:06:17.799

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": 10.8,
  "overpower": false

nachher: 01:06:17.830
Dauer: 31 msec phName: 'phoneName:'0''


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

vorher: 01:06:17.824

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": 10.8,
  "overpower": false

nachher: 01:06:17.862
Dauer: 38 msec phName: 'phoneName:'0''


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

vorher: 01:06:17.853

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": 7.13,
  "overpower": false

nachher: 01:06:17.892
Dauer: 38 msec phName: 'phoneName:'0''


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

vorher: 01:06:17.867

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": 7.13,
  "overpower": false

nachher: 01:06:17.907
Dauer: 40 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 01:06:17.737
nachher: 01:06:17.913
Dauer : 177 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/03//scene_welcomeLight_20240203_010617.txt'


syslog

Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  3 01:03:00 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  3 01:03:00 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 40%
Feb  3 01:03:00 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240203.csv'
Feb  3 01:03:00 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/21.75° - 40%/40% - 20240203;01:03/20240203;01:02/60 - NOT SAVED - DUPLICATE
Feb  3 01:03:00 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb  3 01:03: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-03T00:03:00.685Z",#012    "content": {#012      "temp": 21.75,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "1195265d-5098-43ab-b7f1-2468a5b5f062"#012  }#012}'°
Feb  3 01:03:01 srv4hai CRON[16096]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02'
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=21.75&id=shellyht-00B358
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY id  => macID: '00:B3:58'
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  3 01:03:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 40%
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240203.csv'
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/21.75° - 40%/40% - 20240203;01:03/20240203;01:02/65 - NOT SAVED - DUPLICATE
Feb  3 01:03:05 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb  3 01:03: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-03T00:03:05.724Z",#012    "content": {#012      "temp": 21.75,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "dbf066a6-1cf0-473f-a4d8-2b97761f7e4c"#012  }#012}'°
Feb  3 01:03:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918601 - 'ping_SP_0'
Feb  3 01:03:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:03:45 srv4hai trace_events[16253]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:03:45 srv4hai bt_scan[16253]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Feb  3 01:03:45 srv4hai bt_scan[16253]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  3 01:03:45 srv4hai trace_events[16281]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:03:45 srv4hai check_presence[16281]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  3 01:03:45 srv4hai check_presence[16281]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Feb  3 01:03:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918631 - 'ping_SP_0'
Feb  3 01:03:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:04:01 srv4hai CRON[16322]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 01:04:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918661 - 'ping_SP_0'
Feb  3 01:04:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:04:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918691 - 'ping_SP_0'
Feb  3 01:04:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:05:01 srv4hai CRON[16378]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 01:05:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918721 - 'ping_SP_0'
Feb  3 01:05:21 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:05:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16411, secured, session=
Feb  3 01:05:22 srv4hai dovecot: imap(miglincit)<16411>: Logged out in=268 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  3 01:05:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  3 01:05:36 srv4hai fetchmail[1651]: 37167 messages (37165 seen) for tmiglinci at mail.akis.at (-1216209529 octets).
Feb  3 01:05:36 srv4hai postfix/smtpd[16414]: connect from localhost[127.0.0.1]
Feb  3 01:05:36 srv4hai postfix/smtpd[16414]: DA1F66011A: client=localhost[127.0.0.1]
Feb  3 01:05:36 srv4hai postfix/cleanup[16417]: DA1F66011A: message-id=<20240203000052.8794B60244@mail.viehai.at>
Feb  3 01:05:36 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37166 of 37167 (20056 octets) not flushed
Feb  3 01:05:36 srv4hai postfix/qmgr[28610]: DA1F66011A: from=, size=20373, nrcpt=1 (queue active)
Feb  3 01:05:36 srv4hai postfix/local[16418]: DA1F66011A: to=, relay=local, delay=0.1, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  3 01:05:36 srv4hai postfix/qmgr[28610]: DA1F66011A: removed
Feb  3 01:05:36 srv4hai postfix/smtpd[16414]: F32EC6011A: client=localhost[127.0.0.1]
Feb  3 01:05:37 srv4hai postfix/cleanup[16417]: F32EC6011A: message-id=<97.AD.06743.9338DB56@ko.mta1vrest.cc.prd.sparkpost>
Feb  3 01:05:37 srv4hai postfix/qmgr[28610]: F32EC6011A: from=, size=14161, nrcpt=1 (queue active)
Feb  3 01:05:37 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:37167 of 37167 (13916 octets) not flushed
Feb  3 01:05:37 srv4hai postfix/local[16418]: F32EC6011A: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  3 01:05:37 srv4hai postfix/qmgr[28610]: F32EC6011A: removed
Feb  3 01:05:37 srv4hai postfix/smtpd[16414]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb  3 01:05:37 srv4hai fetchmail[1651]: 9851 messages (9851 seen) for srozum at mail.akis.at (1189777371 octets).
Feb  3 01:05:38 srv4hai fetchmail[1651]: 21462 messages (21462 seen) for mrozum at mail.akis.at (-633847704 octets).
Feb  3 01:05:38 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  3 01:05:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706918751 - 'ping_SP_0'
Feb  3 01:05:51 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 01:06:01 srv4hai CRON[16441]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 01:06:17 srv4hai trace_events[16454]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:06:17 srv4hai bt_scan[16454]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  3 01:06:17 srv4hai bt_scan[16454]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  3 01:06:17 srv4hai trace_events[16481]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:06:17 srv4hai ping_SP[16481]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_16481.txt'
Feb  3 01:06:17 srv4hai trace_events[16490]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:06:17 srv4hai check_presence[16490]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  3 01:06:17 srv4hai check_presence[16490]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  3 01:06:17 srv4hai trace_events[16510]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 01:06:17 srv4hai activate_scenario[16510]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  3 01:06:17 srv4hai activate_scenario[16510]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished