activate_scenario.sh
Thu Feb 13 10:08:46 CET 2025
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'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_0.log)

vorher: 10:08:46.296

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

nachher: 10:08:46.313
Dauer: 17 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_1.log)

vorher: 10:08:46.321

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: 10:08:46.391
Dauer: 71 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_2.log)

vorher: 10:08:46.343

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: 10:08:46.390
Dauer: 46 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_3.log)

vorher: 10:08:46.361

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

        

nachher: 10:08:47.795
Dauer: 1434 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_4.log)

vorher: 10:08:46.380

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: 10:08:46.404
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_5.log)

vorher: 10:08:46.401

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: 10:08:46.427
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_6.log)

vorher: 10:08:46.422

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: 10:08:46.479
Dauer: 57 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_7.log)

vorher: 10:08:46.442

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: 10:08:46.505
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_8.log)

vorher: 10:08:46.460

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: 10:08:46.482
Dauer: 22 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_9.log)

vorher: 10:08:46.482

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: 10:08:46.595
Dauer: 114 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_10.log)

vorher: 10:08:46.503

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

nachher: 10:08:46.602
Dauer: 98 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_11.log)

vorher: 10:08:46.526

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

nachher: 10:08:46.598
Dauer: 73 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_12.log)

vorher: 10:08:46.545

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: 10:08:46.587
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_13.log)

vorher: 10:08:46.564

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: 10:08:46.613
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_14.log)

vorher: 10:08:46.583

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: 10:08:46.614
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_15.log)

vorher: 10:08:46.605

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: 10:08:46.701
Dauer: 97 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_16.log)

vorher: 10:08:46.630

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

nachher: 10:08:46.687
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_17.log)

vorher: 10:08:46.649

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: 10:08:46.741
Dauer: 91 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_18.log)

vorher: 10:08:46.668

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: 10:08:46.711
Dauer: 43 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_19.log)

vorher: 10:08:46.687

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

nachher: 10:08:46.722
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/02/13/_20.log)

vorher: 10:08:46.710

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

nachher: 10:08:46.766
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


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

urls : 21
vorher : 10:08:46.261
nachher: 10:08:47.816
Dauer : 1556 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/13//scene_homeOffice_20250213_100846.txt'


syslog

Feb 13 10:05:00 srv4hai common[7894]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:00 srv4hai common[7920]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:00 srv4hai common[7944]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:01 srv4hai CRON[7969]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 10:05:11 srv4hai dhcpd[4995]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 13 10:05:11 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 13 10:05:11 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 13 10:05:11 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.137
Feb 13 10:05:11 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-37
Feb 13 10:05:11 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 13 10:05:11 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#59641/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#35595/key rndc-key: signer "rndc-key" approved
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#35595/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#35595/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#35595/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#35595/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 13 10:05:11 srv4hai dhcpd[4995]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#51715/key rndc-key: signer "rndc-key" approved
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#51715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 13 10:05:11 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#51715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 13 10:05:11 srv4hai dhcpd[4995]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 13 10:05:11 srv4hai common[7980]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 13 10:05:11 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf'
Feb 13 10:05:11 srv4hai mosquitto[29419]: New connection from 192.168.12.137 on port 1883.
Feb 13 10:05:11 srv4hai mosquitto[29419]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt').
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 13 10:05:12 srv4hai common[8005]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Feb 13 10:05:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=20.62&id=shellyht-00B358
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY: usage/name 'TB Klima' already set for '192.168.12.137'
Feb 13 10:05:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-37_20250213.csv'
Feb 13 10:05:12 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20250213.csv' modifed 500s ago - EXIT
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 13 10:05:12 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 13 10:05:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 13 10:05:20 srv4hai fetchmail[1651]: 63546 messages (63545 seen) for tmiglinci at mail.akis.at (914856579 octets).
Feb 13 10:05:20 srv4hai postfix/smtpd[7234]: connect from localhost[127.0.0.1]
Feb 13 10:05:20 srv4hai postfix/smtpd[7234]: 5BB62631BE: client=localhost[127.0.0.1]
Feb 13 10:05:20 srv4hai postfix/cleanup[8115]: 5BB62631BE: message-id=
Feb 13 10:05:20 srv4hai postfix/qmgr[8566]: 5BB62631BE: from=, size=82730, nrcpt=1 (queue active)
Feb 13 10:05:20 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63546 of 63546 (82486 octets) not flushed
Feb 13 10:05:20 srv4hai postfix/smtpd[7234]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 13 10:05:20 srv4hai postfix/local[8118]: 5BB62631BE: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 13 10:05:20 srv4hai postfix/qmgr[8566]: 5BB62631BE: removed
Feb 13 10:05:20 srv4hai fetchmail[1651]: 11537 messages (11537 seen) for srozum at mail.akis.at (1369547725 octets).
Feb 13 10:05:21 srv4hai fetchmail[1651]: 28922 messages (28922 seen) for mrozum at mail.akis.at (655655076 octets).
Feb 13 10:05:21 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 13 10:05:25 srv4hai common[8121]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:25 srv4hai common[8145]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:45 srv4hai common[8178]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 13 10:05:45 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Feb 13 10:05:45 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Feb 13 10:05:45 srv4hai common[8201]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 13 10:05:46 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1739437546-1739437544
Feb 13 10:05:46 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1739437546-1739437544
Feb 13 10:05:59 srv4hai common[8268]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:05:59 srv4hai common[8292]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:06:00 srv4hai common[8316]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:06:01 srv4hai CRON[8341]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 10:06:01 srv4hai mosquitto[29419]: Client shellyht-00B358 disconnected.
Feb 13 10:06:06 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739437566 - 'ping_SP_0'
Feb 13 10:06:06 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 10:06:25 srv4hai common[8370]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:06:25 srv4hai common[8394]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:06:34 srv4hai postfix/smtpd[7234]: connect from unknown[195.211.191.55]
Feb 13 10:06:34 srv4hai postfix/smtpd[7234]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 13 10:06:34 srv4hai postfix/smtpd[7234]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 13 10:07:00 srv4hai common[8432]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:07:00 srv4hai common[8456]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:07:00 srv4hai common[8480]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:07:01 srv4hai CRON[8510]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 10:07:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8522, secured, session=
Feb 13 10:07:08 srv4hai dovecot: imap(miglincit)<8522>: Logged out in=2095 out=166830 deleted=0 expunged=0 trashed=0 hdr_count=258 hdr_bytes=91657 body_count=0 body_bytes=0
Feb 13 10:07:20 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739437640 - 'ping_SP_0'
Feb 13 10:07:20 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 10:07:25 srv4hai common[8547]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:07:25 srv4hai common[8574]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:07:36 srv4hai postfix/anvil[27256]: statistics: max connection rate 1/60s for (smtp:195.211.191.55) at Feb 13 09:58:23
Feb 13 10:07:36 srv4hai postfix/anvil[27256]: statistics: max connection count 1 for (smtp:195.211.191.55) at Feb 13 09:58:23
Feb 13 10:07:36 srv4hai postfix/anvil[27256]: statistics: max cache size 8 at Feb 13 10:02:00
Feb 13 10:08:00 srv4hai common[8612]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:08:00 srv4hai common[8636]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:08:00 srv4hai common[8660]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:08:01 srv4hai CRON[8686]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 10:08:24 srv4hai mosquitto[29419]: Client shelly1-E8DB84D2A141 has exceeded timeout, disconnecting.
Feb 13 10:08:24 srv4hai mosquitto[29419]: Socket error on client shelly1-E8DB84D2A141, disconnecting.
Feb 13 10:08:25 srv4hai common[8712]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:08:25 srv4hai common[8736]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 10:08:34 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739437714 - 'ping_SP_0'
Feb 13 10:08:34 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 10:08:46 srv4hai activate_scenario[8783]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 13 10:08:46 srv4hai activate_scenario[8783]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished