activate_scenario.sh
Mon Jul 22 23:40:00 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/07/22/_0.log)

vorher: 23:40:00.319

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


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

vorher: 23:40:00.332

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

nachher: 23:40:00.466
Dauer: 134 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.346

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: 23:40:00.460
Dauer: 115 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.360

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: 23:40:00.406
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.372

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: 23:40:00.469
Dauer: 96 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.385

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: 23:40:00.455
Dauer: 70 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.397

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

nachher: 23:40:00.467
Dauer: 70 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.413

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

nachher: 23:40:00.465
Dauer: 52 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.426

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: 23:40:00.577
Dauer: 151 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.438

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: 23:40:00.587
Dauer: 148 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.453

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: 23:40:00.489
Dauer: 35 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.467

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: 23:40:00.499
Dauer: 33 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.483

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: 23:40:00.575
Dauer: 92 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 23:40:00.496

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: 23:40:00.559
Dauer: 62 msec phName: 'shelly-23:'Licht Sekretär''


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

urls : 14
vorher : 23:40:00.295
nachher: 23:40:00.597
Dauer : 301 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/22//scene_offDownstairs_20240722_234000.txt'


syslog

Jul 22 23:37:01 srv4hai CRON[29005]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 23:37:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29012, secured, session=
Jul 22 23:37:17 srv4hai dovecot: imap(miglincit)<29012>: Logged out in=290 out=1640 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 22 23:37:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 22 23:37:29 srv4hai fetchmail[1651]: 49171 messages (49171 seen) for tmiglinci at mail.akis.at (-225737291 octets).
Jul 22 23:37:29 srv4hai fetchmail[1651]: 10494 messages (10494 seen) for srozum at mail.akis.at (1263129436 octets).
Jul 22 23:37:30 srv4hai fetchmail[1651]: 24887 messages (24887 seen) for mrozum at mail.akis.at (61593716 octets).
Jul 22 23:37:30 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 22 23:37:32 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721684252 - 'ping_SP_1'
Jul 22 23:37:32 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 22 23:37:39 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721684259 - 'ping_SP_0'
Jul 22 23:37:39 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 22 23:38:01 srv4hai CRON[29062]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 23:38:45 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721684325 - 'ping_SP_1'
Jul 22 23:38:45 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 22 23:38:53 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721684333 - 'ping_SP_0'
Jul 22 23:38:53 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 22 23:39:01 srv4hai CRON[29119]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 22 23:39:01 srv4hai CRON[29120]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 23:39:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 22 23:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 22 23:39:02 srv4hai systemd[1]: Started Clean php session files.
Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0
Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.104
Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-04
Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0
Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#46663/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: signer "rndc-key" approved
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf"
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104
Jul 22 23:39:57 srv4hai dhcpd[30731]: Added new forward map from shelly-04.viehai.at to 192.168.12.104
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: signer "rndc-key" approved
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR
Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '104.12.168.192.in-addr.arpa' PTR shelly-04.viehai.at.
Jul 22 23:39:57 srv4hai dhcpd[30731]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at
Jul 22 23:39:57 srv4hai common[29242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 22 23:39:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' perform:'conf'
Jul 22 23:39:58 srv4hai mosquitto[18551]: New connection from 192.168.12.104 on port 1883.
Jul 22 23:39:58 srv4hai mosquitto[18551]: Client shelly1pm-E09806A9F381 already connected, closing old connection.
Jul 22 23:39:58 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806A9F381, disconnecting.
Jul 22 23:39:58 srv4hai mosquitto[18551]: New client connected from 192.168.12.104 as shelly1pm-E09806A9F381 (c1, k60, u'shmqtt').
Jul 22 23:39:58 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721684398 - 'ping_SP_1'
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-04' - shIP/2:'192.168.12.104'
Jul 22 23:39:58 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104'
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping
Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping
Jul 22 23:39:59 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING
Jul 22 23:39:59 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING
Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished