activate_scenario.sh
Mon Mar 18 07:24:28 CET 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/03/18/_0.log)

vorher: 07:24:28.397

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

nachher: 07:24:28.432
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_1.log)

vorher: 07:24:28.412

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:24:28.474
Dauer: 62 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_2.log)

vorher: 07:24:28.425

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: 07:24:28.468
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_3.log)

vorher: 07:24:28.439

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

nachher: 07:24:28.532
Dauer: 93 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_4.log)

vorher: 07:24:28.451

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:24:28.522
Dauer: 70 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.463

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

nachher: 07:24:28.508
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.479

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:24:28.542
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_7.log)

vorher: 07:24:28.490

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:24:28.520
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.503

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: 07:24:28.571
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.517

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:24:28.606
Dauer: 89 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_10.log)

vorher: 07:24:28.531

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:24:28.610
Dauer: 80 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.545

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

nachher: 07:24:28.585
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.557

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

nachher: 07:24:28.600
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.571

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


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

vorher: 07:24:28.584

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:24:28.811
Dauer: 228 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_15.log)

vorher: 07:24:28.597

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:24:28.765
Dauer: 167 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:24:28.612

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:24:28.694
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_17.log)

vorher: 07:24:28.625

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:24:28.722
Dauer: 97 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/18/_18.log)

vorher: 07:24:28.637

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: 07:24:28.692
Dauer: 55 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 07:24:28.367
nachher: 07:24:28.821
Dauer : 454 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/18//scene_homeOffice_20240318_072428.txt'


syslog

Mar 18 07:21:01 srv4hai CRON[16748]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 07:21:33 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710742893 - 'ping_SP_1'
Mar 18 07:21:33 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 07:21:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16779, secured, session=
Mar 18 07:21:41 srv4hai dovecot: imap(rozumm)<16779>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 07:22:01 srv4hai CRON[16785]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 07:22:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16801, secured, session=
Mar 18 07:22:41 srv4hai dovecot: imap(rozumm)<16801>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 07:22:46 srv4hai dhcpd[5037]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:22:46 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:22:46 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 18 07:22:46 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.5
Mar 18 07:22:46 srv4hai dhcpd[5037]: execute_statement argv[2] = btscan1
Mar 18 07:22:46 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:22:46 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#49511/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#32927/key rndc-key: signer "rndc-key" approved
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#32927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#32927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#32927/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#32927/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Mar 18 07:22:46 srv4hai dhcpd[5037]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Mar 18 07:22:46 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#39033/key rndc-key: signer "rndc-key" approved
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#39033/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Mar 18 07:22:46 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#39033/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Mar 18 07:22:46 srv4hai dhcpd[5037]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Mar 18 07:22:46 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Mar 18 07:22:46 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710742966 - 'ping_SP_1'
Mar 18 07:22:46 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 07:23:01 srv4hai CRON[16826]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 07:23:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 18 07:23:07 srv4hai fetchmail[1651]: 40084 messages (40084 seen) for tmiglinci at mail.akis.at (-981152833 octets).
Mar 18 07:23:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16832, secured, session=
Mar 18 07:23:07 srv4hai dovecot: imap(miglincit)<16832>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 07:23:08 srv4hai fetchmail[1651]: 10015 messages (10015 seen) for srozum at mail.akis.at (1212502723 octets).
Mar 18 07:23:08 srv4hai fetchmail[1651]: 22311 messages (22311 seen) for mrozum at mail.akis.at (-437602245 octets).
Mar 18 07:23:09 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 18 07:23:17 srv4hai postfix/smtpd[16835]: connect from unknown[193.222.96.101]
Mar 18 07:23:17 srv4hai postfix/smtpd[16835]: disconnect from unknown[193.222.96.101] ehlo=1 quit=1 commands=2
Mar 18 07:23:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16841, secured, session=
Mar 18 07:23:41 srv4hai dovecot: imap(rozumm)<16841>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 07:23:49 srv4hai dhcpd[5037]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:23:49 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:23:49 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 18 07:23:49 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.5
Mar 18 07:23:49 srv4hai dhcpd[5037]: execute_statement argv[2] = btscan1
Mar 18 07:23:49 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:23:49 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f931c1490e0 192.168.12.252#39233/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#47217/key rndc-key: signer "rndc-key" approved
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#47217/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#47217/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#47217/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#47217/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Mar 18 07:23:49 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Mar 18 07:23:49 srv4hai dhcpd[5037]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#39795/key rndc-key: signer "rndc-key" approved
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#39795/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Mar 18 07:23:49 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#39795/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Mar 18 07:23:49 srv4hai dhcpd[5037]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Mar 18 07:23:49 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Mar 18 07:23:55 srv4hai activate_scenario[16859]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Mar 18 07:23:55 srv4hai activate_scenario[16859]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Mar 18 07:23:55 srv4hai activate_scenario[16859]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Mar 18 07:23:55 srv4hai activate_scenario[16859]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Mar 18 07:24:00 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710743040 - 'ping_SP_1'
Mar 18 07:24:00 srv4hai ping_SP[1620]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 07:24:01 srv4hai CRON[16941]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 07:24:28 srv4hai activate_scenario[16949]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar 18 07:24:28 srv4hai activate_scenario[16949]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished