activate_scenario.sh
Sun Apr 7 22:51:37 CEST 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/04/07/_0.log)

vorher: 22:51:38.082

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:51:38.211
Dauer: 129 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_1.log)

vorher: 22:51:38.096

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:51:38.122
Dauer: 27 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_2.log)

vorher: 22:51:38.108

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": "input"

nachher: 22:51:38.196
Dauer: 89 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_3.log)

vorher: 22:51:38.120

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:51:38.209
Dauer: 90 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_4.log)

vorher: 22:51:38.134

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

nachher: 22:51:38.210
Dauer: 76 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.148

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

nachher: 22:51:38.173
Dauer: 25 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.161

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:51:38.307
Dauer: 146 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.174

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:51:38.308
Dauer: 135 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.186

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:51:38.219
Dauer: 34 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.199

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:51:38.347
Dauer: 149 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_10.log)

vorher: 22:51:38.215

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

nachher: 22:51:38.254
Dauer: 39 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_11.log)

vorher: 22:51:38.228

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:51:38.315
Dauer: 86 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:51:38.242

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:51:38.276
Dauer: 34 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_13.log)

vorher: 22:51:38.255

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

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


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

urls : 14
vorher : 22:51:38.064
nachher: 22:51:38.357
Dauer : 293 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/07//scene_offDownstairs_20240407_225137.txt'


syslog

Apr  7 22:48:01 srv4hai CRON[18613]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 22:48:06 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712522886 - 'ping_SP_0'
Apr  7 22:48:06 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 22:48:14 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712522893 - 'ping_SP_1'
Apr  7 22:48:14 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 22:49:01 srv4hai CRON[18665]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 22:49:20 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712522960 - 'ping_SP_0'
Apr  7 22:49:20 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 22:49:27 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712522967 - 'ping_SP_1'
Apr  7 22:49:27 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 22:49:41 srv4hai dhcpd[28085]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr  7 22:49:41 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  7 22:49:41 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  7 22:49:41 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.123
Apr  7 22:49:41 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-23
Apr  7 22:49:41 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr  7 22:49:41 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#39333/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#43187/key rndc-key: signer "rndc-key" approved
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#43187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#43187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#43187/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#43187/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr  7 22:49:41 srv4hai dhcpd[28085]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#53243/key rndc-key: signer "rndc-key" approved
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#53243/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr  7 22:49:41 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#53243/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr  7 22:49:41 srv4hai dhcpd[28085]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr  7 22:49:41 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr  7 22:49:42 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Apr  7 22:49:43 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Apr  7 22:50:01 srv4hai CRON[21199]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  7 22:50:01 srv4hai CRON[21200]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 22:50:01 srv4hai common[21202]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  7 22:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  7 22:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  7 22:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  7 22:50:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  7 22:50:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  7 22:50:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  7 22:50:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  7 22:50:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  7 22:50:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 22:50:12 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  7 22:50:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  7 22:50:12 srv4hai fetchmail[1651]: 41535 messages (41535 seen) for tmiglinci at mail.akis.at (-844600150 octets).
Apr  7 22:50:13 srv4hai fetchmail[1651]: 10105 messages (10105 seen) for srozum at mail.akis.at (1221574141 octets).
Apr  7 22:50:13 srv4hai fetchmail[1651]: 22717 messages (22717 seen) for mrozum at mail.akis.at (-369364388 octets).
Apr  7 22:50:14 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  7 22:50:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  7 22:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  7 22:50:18 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 22:50:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  7 22:50:18 srv4hai common[21202]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  7 22:50:18 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1712523018-1712523013
Apr  7 22:50:18 srv4hai check_presence[21202]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  7 22:50:18 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1712523018-1712523013
Apr  7 22:50:18 srv4hai check_presence[21202]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr  7 22:50:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1712523018-1712523013
Apr  7 22:50:18 srv4hai check_presence[21202]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 22:50:18 srv4hai check_presence[21202]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  7 22:50:18 srv4hai check_presence[21202]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  7 22:50:18 srv4hai common[21202]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  7 22:50:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Apr  7 22:50:18 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Apr  7 22:50:18 srv4hai meter.sh: SHELLY meter.sh ended
Apr  7 22:50:18 srv4hai postfix/pickup[8548]: C164360245: uid=33 from=
Apr  7 22:50:18 srv4hai postfix/cleanup[22253]: C164360245: message-id=<20240407205018.C164360245@mail.viehai.at>
Apr  7 22:50:18 srv4hai postfix/qmgr[15291]: C164360245: from=, size=716, nrcpt=1 (queue active)
Apr  7 22:50:18 srv4hai postfix/local[22255]: C164360245: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 22:50:18 srv4hai postfix/qmgr[15291]: C164360245: removed
Apr  7 22:50:33 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712523033 - 'ping_SP_0'
Apr  7 22:50:33 srv4hai ping_SP[12739]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 22:50:40 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712523040 - 'ping_SP_1'
Apr  7 22:50:40 srv4hai ping_SP[32629]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr  7 22:50:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22302, secured, session=
Apr  7 22:50:41 srv4hai dovecot: imap(miglincit)<22302>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 22:51:01 srv4hai CRON[22307]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 22:51:38 srv4hai activate_scenario[22325]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Apr  7 22:51:38 srv4hai activate_scenario[22325]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished