activate_scenario.sh
Mon Jul 8 08:05:36 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/07/08/_0.log)

vorher: 08:05:36.517

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


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

vorher: 08:05:36.532

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: 08:05:36.564
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.544

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: 08:05:36.587
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.556

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: 08:05:36.586
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.570

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: 08:05:36.596
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.582

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


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

vorher: 08:05:36.598

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: 08:05:36.652
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/08/_7.log)

vorher: 08:05:36.612

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

nachher: 08:05:36.666
Dauer: 54 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.626

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: 08:05:36.676
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.638

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


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/08/_10.log)

vorher: 08:05:36.652

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: 08:05:36.712
Dauer: 60 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.665

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

nachher: 08:05:36.689
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.678

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

nachher: 08:05:36.705
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.691

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


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

vorher: 08:05:36.703

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: 08:05:36.730
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/08/_15.log)

vorher: 08:05:36.717

http://192.168.12.119/relay/0?turn=off

        

nachher: 08:05:39.795
Dauer: 3079 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 08:05:36.731

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: 08:05:36.762
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/07/08/_17.log)

vorher: 08:05:36.744

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: 08:05:36.788
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/08/_18.log)

vorher: 08:05:36.757

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: 08:05:36.806
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 08:05:36.499
nachher: 08:05:39.805
Dauer : 3305 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/08//scene_homeOffice_20240708_080536.txt'


syslog

Jul  8 08:02:01 srv4hai CRON[3812]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 08:02:15 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting.
Jul  8 08:02:15 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Jul  8 08:02:39 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720418559 - 'ping_SP_0'
Jul  8 08:02:39 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 08:02:39 srv4hai postfix/anvil[2811]: statistics: max connection rate 1/60s for (smtp:178.215.236.184) at Jul  8 07:59:11
Jul  8 08:02:39 srv4hai postfix/anvil[2811]: statistics: max connection count 1 for (smtp:178.215.236.184) at Jul  8 07:59:11
Jul  8 08:02:39 srv4hai postfix/anvil[2811]: statistics: max cache size 1 at Jul  8 07:59:11
Jul  8 08:03:01 srv4hai CRON[3839]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 08:03:34 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Jul  8 08:03:34 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jul  8 08:03:34 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  8 08:03:34 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.122
Jul  8 08:03:34 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-22
Jul  8 08:03:34 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Jul  8 08:03:34 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#55927/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#41623/key rndc-key: signer "rndc-key" approved
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#41623/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#41623/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#41623/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f935063c890 192.168.12.252#41623/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Jul  8 08:03:34 srv4hai dhcpd[30731]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#40085/key rndc-key: signer "rndc-key" approved
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#40085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Jul  8 08:03:34 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#40085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Jul  8 08:03:34 srv4hai dhcpd[30731]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Jul  8 08:03:34 srv4hai common[3849]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  8 08:03:34 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Jul  8 08:03:34 srv4hai grab_shelly.sh: SHELLY 'shelly-22':  OFFLINE, resp. not answering within timeout 1.500000s
Jul  8 08:03:35 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Jul  8 08:03:35 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Jul  8 08:03:43 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720418623 - 'ping_SP_0'
Jul  8 08:03:43 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 08:04:01 srv4hai CRON[3891]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 08:04:20 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  8 08:04:21 srv4hai fetchmail[1651]: 48203 messages (48201 seen) for tmiglinci at mail.akis.at (-315685349 octets).
Jul  8 08:04:21 srv4hai postfix/smtpd[3899]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  8 08:04:21 srv4hai postfix/smtpd[3899]: connect from localhost[127.0.0.1]
Jul  8 08:04:21 srv4hai postfix/smtpd[3899]: 786826000F: client=localhost[127.0.0.1]
Jul  8 08:04:21 srv4hai postfix/cleanup[3902]: 786826000F: message-id=
Jul  8 08:04:21 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48202 of 48203 (65108 octets) not flushed
Jul  8 08:04:21 srv4hai postfix/qmgr[8566]: 786826000F: from=, size=65356, nrcpt=1 (queue active)
Jul  8 08:04:21 srv4hai postfix/local[3903]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  8 08:04:21 srv4hai postfix/local[3903]: 786826000F: to=, relay=local, delay=0.1, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  8 08:04:21 srv4hai postfix/qmgr[8566]: 786826000F: removed
Jul  8 08:04:21 srv4hai postfix/smtpd[3899]: 924BB6000F: client=localhost[127.0.0.1]
Jul  8 08:04:21 srv4hai postfix/cleanup[3902]: 924BB6000F: message-id=<0.0.6.399.1DAD0FC31EB7460.0@uspmta121024.emsmtp.com>
Jul  8 08:04:21 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48203 of 48203 (66422 octets) not flushed
Jul  8 08:04:21 srv4hai postfix/qmgr[8566]: 924BB6000F: from=, size=66701, nrcpt=1 (queue active)
Jul  8 08:04:21 srv4hai postfix/smtpd[3899]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jul  8 08:04:21 srv4hai postfix/local[3903]: 924BB6000F: to=, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  8 08:04:21 srv4hai postfix/qmgr[8566]: 924BB6000F: removed
Jul  8 08:04:22 srv4hai fetchmail[1651]: 10421 messages (10421 seen) for srozum at mail.akis.at (1251134706 octets).
Jul  8 08:04:22 srv4hai fetchmail[1651]: 24615 messages (24614 seen) for mrozum at mail.akis.at (16008364 octets).
Jul  8 08:04:22 srv4hai postfix/smtpd[3899]: connect from localhost[127.0.0.1]
Jul  8 08:04:22 srv4hai postfix/smtpd[3899]: E22AD6000F: client=localhost[127.0.0.1]
Jul  8 08:04:22 srv4hai postfix/cleanup[3902]: E22AD6000F: message-id=<013e01dad0fc$06726ff0$13574fd0$@aon.at>
Jul  8 08:04:22 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:24615 of 24615 (4983 octets) not flushed
Jul  8 08:04:22 srv4hai postfix/qmgr[8566]: E22AD6000F: from=, size=5258, nrcpt=1 (queue active)
Jul  8 08:04:22 srv4hai postfix/local[3903]: E22AD6000F: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  8 08:04:22 srv4hai postfix/qmgr[8566]: E22AD6000F: removed
Jul  8 08:04:22 srv4hai postfix/smtpd[3899]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul  8 08:04:23 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  8 08:04:47 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720418687 - 'ping_SP_0'
Jul  8 08:04:47 srv4hai ping_SP[18390]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  8 08:05:02 srv4hai CRON[3931]: (root) CMD (/etc/linetest/linetest.sh)
Jul  8 08:05:06 srv4hai postfix/smtpd[3899]: connect from unknown[178.215.236.184]
Jul  8 08:05:06 srv4hai postfix/smtpd[3899]: warning: unknown[178.215.236.184]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  8 08:05:06 srv4hai postfix/smtpd[3899]: disconnect from unknown[178.215.236.184] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  8 08:05:36 srv4hai activate_scenario[3943]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jul  8 08:05:36 srv4hai activate_scenario[3943]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished