activate_scenario.sh
Wed Mar 12 18:09:12 CET 2025
scenario: homeOffice
source: 192.168.12.140
vorher: 18:09:12.520
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: 18:09:12.548
Dauer: 28 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.568
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: 18:09:12.630
Dauer: 62 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.629
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: 18:09:12.662
Dauer: 32 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.680
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: 18:09:12.723
Dauer: 42 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.708
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: 18:09:12.804
Dauer: 96 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.746
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: 18:09:13.820
Dauer: 1074 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.785
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: 18:09:12.836
Dauer: 52 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.825
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: 18:09:12.862
Dauer: 37 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.862
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: 18:09:13.006
Dauer: 141 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.906
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: 18:09:12.961
Dauer: 55 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.943
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: 18:09:13.034
Dauer: 92 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:12.982
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: 18:09:13.027
Dauer: 46 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.039
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: 18:09:13.079
Dauer: 38 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.089
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: 18:09:13.129
Dauer: 40 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.112
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: 18:09:13.146
Dauer: 33 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.159
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: 18:09:13.409
Dauer: 246 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.199
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: 18:09:13.324
Dauer: 124 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.236
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: 18:09:13.277
Dauer: 41 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.267
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: 18:09:13.316
Dauer: 49 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.307
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: 18:09:13.351
Dauer: 46 msec
phName: 'shelly-40:'TB Licht''
vorher: 18:09:13.346
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: 18:09:13.428
Dauer: 74 msec
phName: 'shelly-40:'TB Licht''
urls : 21
vorher : 18:09:12.461
nachher: 18:09:13.853
Dauer : 1391 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/12//scene_homeOffice_20250312_180912.txt'
Mar 12 18:06:00 srv4hai common[14455]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:06:00 srv4hai common[14479]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:06:00 srv4hai common[14503]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:06:01 srv4hai CRON[14530]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 18:06:06 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Mar 12 18:06:06 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Mar 12 18:06:06 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Mar 12 18:06:06 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122 Mar 12 18:06:06 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22 Mar 12 18:06:06 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Mar 12 18:06:06 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Mar 12 18:06:06 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#36837/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 12 18:06:06 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44109/key rndc-key: signer "rndc-key" approved Mar 12 18:06:06 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44109/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Mar 12 18:06:06 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44109/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Mar 12 18:06:06 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44109/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Mar 12 18:06:06 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44109/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Mar 12 18:06:06 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Mar 12 18:06:06 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56513/key rndc-key: signer "rndc-key" approved Mar 12 18:06:06 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56513/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Mar 12 18:06:06 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#56513/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. Mar 12 18:06:06 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Mar 12 18:06:06 srv4hai common[14538]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Mar 12 18:06:06 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf' Mar 12 18:06:07 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883. Mar 12 18:06:07 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection. Mar 12 18:06:07 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Mar 12 18:06:07 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt'). Mar 12 18:06:07 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122' Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Mar 12 18:06:08 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Mar 12 18:06:24 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741799184 - 'ping_SP_0' Mar 12 18:06:24 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 12 18:06:50 srv4hai common[14692]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:06:50 srv4hai common[14716]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:00 srv4hai common[14746]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:00 srv4hai common[14771]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:00 srv4hai common[14795]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:01 srv4hai CRON[14820]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 18:07:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14833, secured, session=<0F97PCgwZL0AAAAAAAAAAAAAAAAAAAAB> Mar 12 18:07:11 srv4hai dovecot: imap(miglincit)<14833><0F97PCgwZL0AAAAAAAAAAAAAAAAAAAAB>: 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 12 18:07:19 srv4hai postfix/anvil[14017]: statistics: max connection rate 1/60s for (smtp:213.209.150.124) at Mar 12 17:59:03 Mar 12 18:07:19 srv4hai postfix/anvil[14017]: statistics: max connection count 1 for (smtp:213.209.150.124) at Mar 12 17:59:03 Mar 12 18:07:19 srv4hai postfix/anvil[14017]: statistics: max cache size 3 at Mar 12 18:02:39 Mar 12 18:07:37 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741799257 - 'ping_SP_0' Mar 12 18:07:37 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 12 18:07:37 srv4hai postfix/smtpd[14867]: connect from unknown[213.209.150.124] Mar 12 18:07:38 srv4hai postfix/smtpd[14867]: warning: unknown[213.209.150.124]: SASL LOGIN authentication failed: Invalid authentication mechanism Mar 12 18:07:38 srv4hai postfix/smtpd[14867]: lost connection after AUTH from unknown[213.209.150.124] Mar 12 18:07:38 srv4hai postfix/smtpd[14867]: disconnect from unknown[213.209.150.124] ehlo=1 auth=0/1 commands=1/2 Mar 12 18:07:50 srv4hai common[14879]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:50 srv4hai common[14903]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:07:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Mar 12 18:07:55 srv4hai fetchmail[1651]: 65553 messages (65553 seen) for tmiglinci at mail.akis.at (1071431755 octets). Mar 12 18:07:56 srv4hai fetchmail[1651]: 11676 messages (11676 seen) for srozum at mail.akis.at (1381407980 octets). Mar 12 18:07:56 srv4hai fetchmail[1651]: 29524 messages (29524 seen) for mrozum at mail.akis.at (779897201 octets). Mar 12 18:07:57 srv4hai fetchmail[1651]: 1165 messages (1165 seen) for admin@bastelstube.wien at pop3.world4you.com (52250978 octets). Mar 12 18:08:00 srv4hai common[14934]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:08:00 srv4hai common[14961]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:08:00 srv4hai common[14985]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:08:01 srv4hai CRON[15010]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 18:08:05 srv4hai kernel: [87777360.754164] CPU0: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754165] CPU6: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754167] CPU3: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754168] CPU7: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754169] CPU5: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754170] CPU1: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754171] CPU2: Package temperature/speed normal Mar 12 18:08:05 srv4hai kernel: [87777360.754172] CPU4: Package temperature/speed normal Mar 12 18:08:08 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting. Mar 12 18:08:08 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Mar 12 18:08:50 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741799330 - 'ping_SP_0' Mar 12 18:08:50 srv4hai ping_SP[25974]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 12 18:08:50 srv4hai common[15070]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:08:50 srv4hai common[15094]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:09:00 srv4hai common[15124]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:09:00 srv4hai common[15149]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:09:00 srv4hai common[15173]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 12 18:09:01 srv4hai systemd[1]: Starting Clean php session files... Mar 12 18:09:01 srv4hai CRON[15224]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 18:09:01 srv4hai CRON[15225]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Mar 12 18:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Mar 12 18:09:01 srv4hai systemd[1]: Started Clean php session files. Mar 12 18:09:12 srv4hai activate_scenario[15303]: SHELLY scenario: 'homeOffice(homeoffice)' started Mar 12 18:09:12 srv4hai activate_scenario[15303]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished