activate_scenario.sh
Sat Feb 3 20:23:39 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: 20:23:39.983

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: 20:23:40.297
Dauer: 314 msec phName: 'phoneName:'0''


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

vorher: 20:23:39.997

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

nachher: 20:23:40.050
Dauer: 53 msec phName: 'phoneName:'0''


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

vorher: 20:23:40.011

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

nachher: 20:23:40.049
Dauer: 39 msec phName: 'phoneName:'0''


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

vorher: 20:23:40.026

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: 20:23:40.053
Dauer: 27 msec phName: 'phoneName:'0''


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

vorher: 20:23:40.043

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: 20:23:40.091
Dauer: 47 msec phName: 'phoneName:'0''


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

urls : 5
vorher : 20:23:39.961
nachher: 20:23:40.307
Dauer : 346 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/03//scene_welcomeLight_20240203_202339.txt'


syslog

Feb  3 20:20:01 srv4hai CRON[15801]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 20:20:01 srv4hai CRON[15802]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  3 20:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  3 20:20:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16050, secured, session=
Feb  3 20:20:22 srv4hai dovecot: imap(miglincit)<16050>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  3 20:20:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988029 - 'ping_SP_0'
Feb  3 20:20:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:20:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  3 20:20:57 srv4hai fetchmail[1651]: 37258 messages (37258 seen) for tmiglinci at mail.akis.at (-1211840690 octets).
Feb  3 20:20:57 srv4hai fetchmail[1651]: 9854 messages (9854 seen) for srozum at mail.akis.at (1190000458 octets).
Feb  3 20:20:58 srv4hai fetchmail[1651]: 21466 messages (21466 seen) for mrozum at mail.akis.at (-633548910 octets).
Feb  3 20:20:58 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  3 20:20:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988059 - 'ping_SP_0'
Feb  3 20:20:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:21:01 srv4hai CRON[16181]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 20:21:08 srv4hai meter.sh: SHELLY meter.sh ended
Feb  3 20:21:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988089 - 'ping_SP_0'
Feb  3 20:21:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:21:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988119 - 'ping_SP_0'
Feb  3 20:21:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:22:01 srv4hai CRON[16250]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 20:22:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988149 - 'ping_SP_0'
Feb  3 20:22:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:22:50 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:50 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:52 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:52 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:52 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  3 20:22:52 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.119
Feb  3 20:22:52 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-19
Feb  3 20:22:52 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:52 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc32811da30 192.168.12.252#46453/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#44735/key rndc-key: signer "rndc-key" approved
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#44735/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#44735/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#44735/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc310074f60 192.168.12.252#44735/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Feb  3 20:22:52 srv4hai dhcpd[5037]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#37335/key rndc-key: signer "rndc-key" approved
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#37335/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Feb  3 20:22:52 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#37335/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Feb  3 20:22:52 srv4hai dhcpd[5037]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Feb  3 20:22:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb  3 20:22:54 srv4hai grab_shelly.sh: SHELLY 'shelly-19':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Feb  3 20:22:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988179 - 'ping_SP_0'
Feb  3 20:22:59 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:23:01 srv4hai CRON[16317]: (root) CMD (/etc/linetest/linetest.sh)
Feb  3 20:23:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16325, secured, session=
Feb  3 20:23:22 srv4hai dovecot: imap(miglincit)<16325>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  3 20:23:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1706988209 - 'ping_SP_0'
Feb  3 20:23:29 srv4hai ping_SP[7416]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  3 20:23:39 srv4hai trace_events[16346]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 20:23:39 srv4hai bt_scan[16346]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes'
Feb  3 20:23:39 srv4hai bt_scan[16346]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  3 20:23:39 srv4hai trace_events[16374]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 20:23:39 srv4hai ping_SP[16374]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_16374.txt'
Feb  3 20:23:39 srv4hai trace_events[16388]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 20:23:39 srv4hai check_presence[16388]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  3 20:23:39 srv4hai check_presence[16388]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  3 20:23:39 srv4hai trace_events[16408]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt'
Feb  3 20:23:39 srv4hai activate_scenario[16408]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  3 20:23:39 srv4hai activate_scenario[16408]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished