activate_scenario.sh
Sat Feb 17 22:26:30 CET 2024
scenario: offDownstairs
source: 192.168.12.123

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_0.log)

vorher: 22:26:31.050

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:26:31.098
Dauer: 48 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_1.log)

vorher: 22:26:31.065

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:26:31.101
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_2.log)

vorher: 22:26:31.081

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:26:31.110
Dauer: 29 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_3.log)

vorher: 22:26:31.094

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.134
Dauer: 41 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_4.log)

vorher: 22:26:31.108

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.143
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_5.log)

vorher: 22:26:31.121

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.151
Dauer: 31 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:26:31.133

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

nachher: 22:26:31.172
Dauer: 39 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:26:31.147

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

nachher: 22:26:31.202
Dauer: 55 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:26:31.162

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "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: 22:26:31.201
Dauer: 40 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:26:31.173

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "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: 22:26:31.347
Dauer: 173 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_10.log)

vorher: 22:26:31.186

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.247
Dauer: 62 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_11.log)

vorher: 22:26:31.198

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:26:31.250
Dauer: 51 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_12.log)

vorher: 22:26:31.212

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.305
Dauer: 93 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_13.log)

vorher: 22:26:31.224

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:26:31.262
Dauer: 39 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 22:26:30.995
nachher: 22:26:31.356
Dauer : 363 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/17//scene_offDownstairs_20240217_222630.txt'


syslog

Feb 17 22:23:01 srv4hai CRON[25847]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.122
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-22
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#43689/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: signer "rndc-key" approved
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 17 22:23:45 srv4hai dhcpd[5037]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: signer "rndc-key" approved
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 17 22:23:45 srv4hai dhcpd[5037]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 17 22:23:45 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 17 22:23:47 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Feb 17 22:23:47 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Feb 17 22:23:50 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205030 - 'ping_SP_0'
Feb 17 22:23:50 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:24:01 srv4hai CRON[26011]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max connection rate 2/60s for (smtp:91.73.247.158) at Feb 17 22:21:10
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max connection count 1 for (smtp:91.73.247.158) at Feb 17 22:21:09
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max cache size 3 at Feb 17 22:21:22
Feb 17 22:25:01 srv4hai sntp[26046]: sntp 4.2.8p12@1.3728-o (1)
Feb 17 22:25:01 srv4hai sntp[26046]: Send to [2001:4860:4806:8::]:123 failed, Network is unreachable
Feb 17 22:25:01 srv4hai sntp[26046]: 2024-02-17 22:25:01.390825 (-0100) +0.002477 +/- 0.001727 time.google.com 216.239.35.12 s1 no-leap
Feb 17 22:25:01 srv4hai CRON[26051]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:25:04 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205103 - 'ping_SP_0'
Feb 17 22:25:04 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:25:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26075, secured, session=
Feb 17 22:25:19 srv4hai dovecot: imap(miglincit)<26075>: 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 17 22:25:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 17 22:25:52 srv4hai fetchmail[1651]: 38304 messages (38304 seen) for tmiglinci at mail.akis.at (-1137872889 octets).
Feb 17 22:25:53 srv4hai fetchmail[1651]: 9909 messages (9909 seen) for srozum at mail.akis.at (1195577538 octets).
Feb 17 22:25:53 srv4hai fetchmail[1651]: 21711 messages (21711 seen) for mrozum at mail.akis.at (-576078317 octets).
Feb 17 22:25:54 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 17 22:26:01 srv4hai CRON[26086]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:26:17 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205177 - 'ping_SP_0'
Feb 17 22:26:17 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:26:30 srv4hai activate_scenario[26120]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Feb 17 22:26:30 srv4hai activate_scenario[26120]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished