activate_scenario.sh
Sat Feb 10 20:34: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/10/_0.log)

vorher: 20:34:17.547

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: 20:34:17.610
Dauer: 64 msec phName: 'phoneName:'0''


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

vorher: 20:34:17.561

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

nachher: 20:34:17.615
Dauer: 54 msec phName: 'phoneName:'0''


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

vorher: 20:34:17.576

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

nachher: 20:34:17.614
Dauer: 38 msec phName: 'phoneName:'0''


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

vorher: 20:34:17.593

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

nachher: 20:34:17.640
Dauer: 46 msec phName: 'phoneName:'0''


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

vorher: 20:34:17.607

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

nachher: 20:34:17.706
Dauer: 99 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 20:34:17.524
nachher: 20:34:17.713
Dauer : 189 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/10//scene_welcomeLight_20240210_203417.txt'


syslog

Feb 10 20:31:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 20:31:00 srv4hai meter.sh: SHELLY meter.sh ended
Feb 10 20:31:00 srv4hai CRON[8249]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:31:00 srv4hai postfix/pickup[2048]: 3E9F060244: uid=33 from=
Feb 10 20:31:00 srv4hai postfix/cleanup[8247]: 3E9F060244: message-id=<20240210193100.3E9F060244@mail.viehai.at>
Feb 10 20:31:00 srv4hai postfix/qmgr[28610]: 3E9F060244: from=, size=654, nrcpt=1 (queue active)
Feb 10 20:31:00 srv4hai postfix/local[8254]: 3E9F060244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 20:31:00 srv4hai postfix/qmgr[28610]: 3E9F060244: removed
Feb 10 20:31:10 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 10 20:31:10 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 10 20:31:10 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 10 20:31:10 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 10 20:31:10 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 10 20:31:10 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 10 20:31:10 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#58109/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#43975/key rndc-key: signer "rndc-key" approved
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#43975/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#43975/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#43975/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#43975/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 10 20:31:10 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#47541/key rndc-key: signer "rndc-key" approved
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#47541/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 10 20:31:10 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#47541/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 10 20:31:10 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 10 20:31:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 10 20:31:11 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:11 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 10 20:31:11 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 10 20:31:11 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88° - 42%
Feb 10 20:31:11 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.88°/22.5° - 42%/41% - SAVED
Feb 10 20:31:11 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 10 20:31:11 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-10T19:31:11.934Z",#012    "content": {#012      "temp": 22.88,#012      "hum": 42,#012      "batt": 91#012    },#012    "transaction": "fea23e33-76b6-4a37-a618-8dd0786ed1ec"#012  }#012}'°
Feb 10 20:31:16 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:16 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:16 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 5s ago - EXIT
Feb 10 20:31:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:21 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 10s ago - EXIT
Feb 10 20:31:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:26 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 15s ago - EXIT
Feb 10 20:31:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:31 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:31 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 20s ago - EXIT
Feb 10 20:31:34 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707593494 - 'ping_SP_0'
Feb 10 20:31:34 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:31:36 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.88&id=shellyht-00B358
Feb 10 20:31:36 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:31:36 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 25s ago - EXIT
Feb 10 20:31:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8618, secured, session=
Feb 10 20:31:43 srv4hai dovecot: imap(miglincit)<8618>: Logged out in=499 out=1290 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:31:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8623, secured, session=
Feb 10 20:31:55 srv4hai dovecot: imap(miglincit)<8623>: Logged out in=441 out=22080 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=381 body_count=1 body_bytes=20153
Feb 10 20:32:01 srv4hai CRON[8626]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:32:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8632, secured, session=
Feb 10 20:32:04 srv4hai dovecot: imap(miglincit)<8632>: Logged out in=499 out=1296 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:32:38 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707593558 - 'ping_SP_0'
Feb 10 20:32:38 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:32:48 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 10 20:32:49 srv4hai fetchmail[1651]: 37829 messages (37829 seen) for tmiglinci at mail.akis.at (-1171388883 octets).
Feb 10 20:32:50 srv4hai fetchmail[1651]: 9884 messages (9884 seen) for srozum at mail.akis.at (1192891364 octets).
Feb 10 20:32:50 srv4hai fetchmail[1651]: 21580 messages (21580 seen) for mrozum at mail.akis.at (-591017502 octets).
Feb 10 20:32:50 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 10 20:32:56 srv4hai systemd[1]: Started Session 1041808 of user root.
Feb 10 20:32:58 srv4hai postfix/smtpd[8669]: connect from unknown[45.128.96.207]
Feb 10 20:32:58 srv4hai postfix/smtpd[8669]: warning: unknown[45.128.96.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 10 20:32:58 srv4hai postfix/smtpd[8669]: disconnect from unknown[45.128.96.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 20:33:01 srv4hai CRON[8683]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:33:35 srv4hai systemd[1]: Started Run anacron jobs.
Feb 10 20:33:35 srv4hai anacron[8692]: Anacron 2.3 started on 2024-02-10
Feb 10 20:33:35 srv4hai anacron[8692]: Normal exit (0 jobs run)
Feb 10 20:33:35 srv4hai systemd[1]: anacron.service: Succeeded.
Feb 10 20:33:41 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707593621 - 'ping_SP_0'
Feb 10 20:33:41 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:34:01 srv4hai CRON[8718]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:34:17 srv4hai common[8724]: SHELLY common.sh inkludiert
Feb 10 20:34:17 srv4hai bt_scan[8724]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 10 20:34:17 srv4hai bt_scan[8724]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 10 20:34:17 srv4hai common[8757]: SHELLY common.sh inkludiert
Feb 10 20:34:17 srv4hai ping_SP[8757]: SHELLY ping_SP.sh started from bt_scan
Feb 10 20:34:17 srv4hai common[8765]: SHELLY common.sh inkludiert
Feb 10 20:34:17 srv4hai check_presence[8765]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 10 20:34:17 srv4hai check_presence[8765]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 10 20:34:17 srv4hai activate_scenario[8801]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 10 20:34:17 srv4hai activate_scenario[8801]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished