activate_scenario.sh
Tue Feb 27 22:52:58 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/27/_0.log)

vorher: 22:52:58.135

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:52:58.245
Dauer: 110 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.148

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:52:58.179
Dauer: 31 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.162

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


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

vorher: 22:52:58.174

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:52:58.216
Dauer: 42 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.188

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:52:58.373
Dauer: 185 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.201

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:52:58.300
Dauer: 99 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.214

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:52:58.352
Dauer: 139 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.226

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:52:58.389
Dauer: 164 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.237

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:52:58.310
Dauer: 73 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.250

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:52:58.402
Dauer: 152 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.262

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:52:58.368
Dauer: 107 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.274

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:52:58.354
Dauer: 81 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.286

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:52:58.364
Dauer: 78 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 22:52:58.298

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:52:58.351
Dauer: 53 msec phName: 'shelly-23:'Licht Sekretär''


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

urls : 14
vorher : 22:52:58.114
nachher: 22:52:58.411
Dauer : 297 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/27//scene_offDownstairs_20240227_225258.txt'


syslog

Feb 27 22:49:01 srv4hai CRON[13205]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 22:49:35 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709070575 - 'ping_SP_1'
Feb 27 22:49:35 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 22:49:46 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709070586 - 'ping_SP_0'
Feb 27 22:49:46 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 22:50:01 srv4hai CRON[13278]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 22:50:01 srv4hai CRON[13279]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 27 22:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 27 22:50:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:15 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 27 22:50:37 srv4hai fetchmail[1651]: 38890 messages (38890 seen) for tmiglinci at mail.akis.at (-1081195270 octets).
Feb 27 22:50:38 srv4hai fetchmail[1651]: 9943 messages (9943 seen) for srozum at mail.akis.at (1201015575 octets).
Feb 27 22:50:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:38 srv4hai fetchmail[1651]: 21902 messages (21902 seen) for mrozum at mail.akis.at (-538249285 octets).
Feb 27 22:50:38 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 27 22:50:41 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:48 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709070648 - 'ping_SP_1'
Feb 27 22:50:48 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 22:50:49 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13816, secured, session=
Feb 27 22:50:52 srv4hai dovecot: imap(miglincit)<13816>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 27 22:50:54 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:56 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:59 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:50:59 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709070659 - 'ping_SP_0'
Feb 27 22:50:59 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 22:51:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 27 22:51:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 27 22:51:01 srv4hai CRON[13861]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 22:51:01 srv4hai postfix/pickup[889]: D3DB260244: uid=33 from=
Feb 27 22:51:01 srv4hai postfix/cleanup[13859]: D3DB260244: message-id=<20240227215101.D3DB260244@mail.viehai.at>
Feb 27 22:51:01 srv4hai postfix/qmgr[28610]: D3DB260244: from=, size=654, nrcpt=1 (queue active)
Feb 27 22:51:01 srv4hai postfix/local[13866]: D3DB260244: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 27 22:51:01 srv4hai postfix/qmgr[28610]: D3DB260244: removed
Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: connect from unknown[45.128.96.239]
Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: warning: unknown[45.128.96.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: disconnect from unknown[45.128.96.239] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 27 22:52:01 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709070721 - 'ping_SP_1'
Feb 27 22:52:01 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 27 22:52:01 srv4hai CRON[13925]: (root) CMD (/etc/linetest/linetest.sh)
Feb 27 22:52:13 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709070733 - 'ping_SP_0'
Feb 27 22:52:13 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPDISCOVER from 34:94:54:71:bc:cf via enp2s0
Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0
Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.142
Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-42
Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.142 (192.168.12.252) from 34:94:54:71:bc:cf via enp2s0
Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#44671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-42.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: signer "rndc-key" approved
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' TXT
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' TXT "009725012a308142e411b9d6a121917f19"
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' A
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' A 192.168.12.142
Feb 27 22:52:32 srv4hai dhcpd[5037]: Added new forward map from shelly-42.viehai.at to 192.168.12.142
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: signer "rndc-key" approved
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '142.12.168.192.in-addr.arpa' PTR
Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '142.12.168.192.in-addr.arpa' PTR shelly-42.viehai.at.
Feb 27 22:52:32 srv4hai dhcpd[5037]: Added reverse map from 142.12.168.192.in-addr.arpa. to shelly-42.viehai.at
Feb 27 22:52:32 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-42' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-42' - shIP/2:'192.168.12.142'
Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe dimmbar' already set for '192.168.12.142'
Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(0)' - allready transmitted - skipping
Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(1)' - allready transmitted - skipping
Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(2)' - allready transmitted - skipping
Feb 27 22:52:34 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 ON : MISSING
Feb 27 22:52:34 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 OFF: MISSING
Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished