activate_scenario.sh
Thu Feb 20 12:58:08 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/20/_0.log)

vorher: 12:58:08.915

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: 12:58:08.953
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:08.942

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: 12:58:09.009
Dauer: 66 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:08.970

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: 12:58:09.008
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:08.993

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: 12:58:09.030
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.016

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: 12:58:09.053
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.037

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: 12:58:09.067
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.058

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: 12:58:09.091
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.079

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: 12:58:09.225
Dauer: 147 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.098

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: 12:58:09.309
Dauer: 211 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.117

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: 12:58:09.145
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.135

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

nachher: 12:58:09.215
Dauer: 80 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.154

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

nachher: 12:58:09.215
Dauer: 60 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.173

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: 12:58:09.207
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.191

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: 12:58:09.223
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.211

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: 12:58:09.313
Dauer: 102 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.237

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: 12:58:09.275
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.255

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: 12:58:09.316
Dauer: 61 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.275

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: 12:58:09.327
Dauer: 53 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.296

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: 12:58:09.331
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.316

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: 12:58:09.340
Dauer: 24 msec phName: 'shelly-40:'TB Licht''


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

vorher: 12:58:09.336

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: 12:58:09.371
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


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

urls : 21
vorher : 12:58:08.879
nachher: 12:58:09.379
Dauer : 499 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/20//scene_homeOffice_20250220_125808.txt'


syslog

Feb 20 12:55:00 srv4hai common[14453]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:55:00 srv4hai common[14480]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:55:00 srv4hai common[14504]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:55:01 srv4hai CRON[14529]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 12:55:10 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740052510 - 'ping_SP_1'
Feb 20 12:55:10 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 20 12:55:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14555, secured, session=
Feb 20 12:55:11 srv4hai dovecot: imap(rozumm)<14555>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 20 12:55:12 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740052512 - 'ping_SP_0'
Feb 20 12:55:12 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 12:55:33 srv4hai common[14573]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:55:33 srv4hai common[14598]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:55:35 srv4hai postfix/anvil[13489]: statistics: max connection rate 1/60s for (smtp:23.94.94.150) at Feb 20 12:51:03
Feb 20 12:55:35 srv4hai postfix/anvil[13489]: statistics: max connection count 1 for (smtp:23.94.94.150) at Feb 20 12:51:03
Feb 20 12:55:35 srv4hai postfix/anvil[13489]: statistics: max cache size 1 at Feb 20 12:51:03
Feb 20 12:56:00 srv4hai common[14633]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:56:00 srv4hai common[14657]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:56:01 srv4hai common[14681]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:56:01 srv4hai CRON[14706]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 12:56:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14717, secured, session=
Feb 20 12:56:11 srv4hai dovecot: imap(rozumm)<14717>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 20 12:56:23 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740052583 - 'ping_SP_1'
Feb 20 12:56:23 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 20 12:56:25 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740052585 - 'ping_SP_0'
Feb 20 12:56:25 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 12:56:33 srv4hai common[14761]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:56:33 srv4hai common[14785]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:56:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14812, secured, session=
Feb 20 12:56:42 srv4hai dovecot: imap(miglincit)<14812>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 20 12:57:00 srv4hai common[14816]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:00 srv4hai common[14840]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:00 srv4hai common[14864]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:01 srv4hai CRON[14890]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 12:57:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14900, secured, session=
Feb 20 12:57:12 srv4hai dovecot: imap(rozumm)<14900>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 20 12:57:33 srv4hai common[14915]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:33 srv4hai common[14940]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:36 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 20 12:57:36 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 20 12:57:36 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 20 12:57:36 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 20 12:57:36 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 20 12:57:36 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 20 12:57:36 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f934c090ff0 192.168.12.252#56835/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#59661/key rndc-key: signer "rndc-key" approved
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#59661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#59661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#59661/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#59661/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 20 12:57:36 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#32961/key rndc-key: signer "rndc-key" approved
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#32961/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 20 12:57:36 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#32961/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Feb 20 12:57:36 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 20 12:57:36 srv4hai common[14965]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 20 12:57:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 20 12:57:37 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740052657 - 'ping_SP_1'
Feb 20 12:57:37 srv4hai ping_SP[21238]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 20 12:57:37 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 20 12:57:37 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 20 12:57:37 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 20 12:57:37 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 20 12:57:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 20 12:57:37 srv4hai common[15002]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 20 12:57:37 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 20 12:57:37 srv4hai common[15047]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:57:37 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 20 12:57:37 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 20 12:57:38 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740052658 - 'ping_SP_0'
Feb 20 12:57:38 srv4hai ping_SP[18973]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 12:58:00 srv4hai common[15127]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:58:00 srv4hai common[15151]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:58:00 srv4hai common[15175]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 20 12:58:01 srv4hai CRON[15200]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 12:58:08 srv4hai activate_scenario[15209]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 20 12:58:08 srv4hai activate_scenario[15209]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished