activate_scenario.sh
Fri Apr 5 07:28:02 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_0.log)

vorher: 07:28:02.587

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: 07:28:02.634
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.604

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: 07:28:02.640
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.618

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: 07:28:02.646
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.631

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: 07:28:02.675
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.645

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: 07:28:02.696
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_5.log)

vorher: 07:28:02.660

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

nachher: 07:28:02.717
Dauer: 57 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_6.log)

vorher: 07:28:02.672

http://192.168.12.108/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:28:02.731
Dauer: 59 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_7.log)

vorher: 07:28:02.685

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

nachher: 07:28:02.756
Dauer: 71 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.697

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: 07:28:02.759
Dauer: 61 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_9.log)

vorher: 07:28:02.713

http://192.168.12.140/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:28:02.895
Dauer: 183 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_10.log)

vorher: 07:28:02.727

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

nachher: 07:28:02.905
Dauer: 179 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.740

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

nachher: 07:28:02.795
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.752

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

nachher: 07:28:02.795
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.767

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: 07:28:02.794
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.781

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: 07:28:02.866
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_15.log)

vorher: 07:28:02.794

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: 07:28:02.834
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:02.808

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: 07:28:02.845
Dauer: 38 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_17.log)

vorher: 07:28:02.819

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:28:02.972
Dauer: 152 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/05/_18.log)

vorher: 07:28:02.832

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: 07:28:02.898
Dauer: 66 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 07:28:02.537
nachher: 07:28:02.980
Dauer : 444 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/05//scene_homeOffice_20240405_072802.txt'


syslog

Apr  5 07:25:01 srv4hai CRON[14752]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 07:25:01 srv4hai sntp[14758]: sntp 4.2.8p12@1.3728-o (1)
Apr  5 07:25:01 srv4hai sntp[14758]: 2024-04-05 07:25:01.344318 (-0100) -0.001806 +/- 0.001280 time.google.com 216.239.35.12 s1 no-leap
Apr  5 07:25:21 srv4hai postfix/smtpd[14493]: connect from unknown[87.120.84.171]
Apr  5 07:25:22 srv4hai postfix/smtpd[14493]: warning: unknown[87.120.84.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  5 07:25:22 srv4hai postfix/smtpd[14493]: disconnect from unknown[87.120.84.171] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  5 07:26:01 srv4hai CRON[14787]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 07:26:10 srv4hai ping_SP[19709]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712294770 - 'ping_SP_0'
Apr  5 07:26:10 srv4hai ping_SP[19709]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  5 07:26:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14828, secured, session=
Apr  5 07:26:55 srv4hai dovecot: imap(miglincit)<14828>: Logged out in=665 out=42528 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18438 body_count=0 body_bytes=0
Apr  5 07:27:01 srv4hai CRON[14830]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 07:27:23 srv4hai ping_SP[19709]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712294843 - 'ping_SP_0'
Apr  5 07:27:23 srv4hai ping_SP[19709]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  5 07:27:44 srv4hai postfix/smtpd[14868]: connect from unknown[62.193.105.196]
Apr  5 07:27:45 srv4hai postfix/smtpd[14868]: warning: unknown[62.193.105.196]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  5 07:27:45 srv4hai postfix/smtpd[14868]: disconnect from unknown[62.193.105.196] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr  5 07:27:59 srv4hai dhcpd[5037]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0
Apr  5 07:27:59 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Apr  5 07:27:59 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  5 07:27:59 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.104
Apr  5 07:27:59 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-04
Apr  5 07:27:59 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0
Apr  5 07:27:59 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#39197/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#34281/key rndc-key: signer "rndc-key" approved
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#34281/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#34281/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf"
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#34281/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f931c6302d0 192.168.12.252#34281/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104
Apr  5 07:27:59 srv4hai dhcpd[5037]: Added new forward map from shelly-04.viehai.at to 192.168.12.104
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#39811/key rndc-key: signer "rndc-key" approved
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#39811/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR
Apr  5 07:27:59 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#39811/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.
Apr  5 07:27:59 srv4hai dhcpd[5037]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at
Apr  5 07:27:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-04' - shIP/2:'192.168.12.104'
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104'
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping
Apr  5 07:28:00 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping
Apr  5 07:28:01 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING
Apr  5 07:28:01 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING
Apr  5 07:28:01 srv4hai CRON[14997]: (root) CMD (/etc/linetest/linetest.sh)
Apr  5 07:28:02 srv4hai activate_scenario[15018]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr  5 07:28:02 srv4hai activate_scenario[15018]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished