activate_scenario.sh
Thu Feb 20 07:09:15 CET 2025
scenario: homeOffice
source: 192.168.12.140
vorher: 07:09:15.486
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: 07:09:15.510
Dauer: 24 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.508
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:09:15.566
Dauer: 58 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.533
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: 07:09:15.565
Dauer: 33 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.557
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: 07:09:15.584
Dauer: 28 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.579
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: 07:09:15.612
Dauer: 33 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.598
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:09:15.647
Dauer: 49 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.618
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:09:15.657
Dauer: 39 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.639
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:09:15.683
Dauer: 43 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.660
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: 07:09:15.681
Dauer: 21 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.681
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:09:15.736
Dauer: 55 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.701
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: 07:09:15.731
Dauer: 31 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.723
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: 07:09:15.767
Dauer: 44 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.744
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:09:15.766
Dauer: 23 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.762
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:09:15.806
Dauer: 44 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.784
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: 07:09:15.818
Dauer: 34 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.803
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:09:15.829
Dauer: 27 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.823
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:09:15.874
Dauer: 52 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.842
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: 07:09:15.950
Dauer: 108 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.860
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:09:15.887
Dauer: 26 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.882
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: 07:09:15.937
Dauer: 56 msec
phName: 'shelly-40:'TB Licht''
vorher: 07:09:15.903
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: 07:09:19.247
Dauer: 3343 msec
phName: 'shelly-40:'TB Licht''
urls : 21
vorher : 07:09:15.433
nachher: 07:09:19.253
Dauer : 3823 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/20//scene_homeOffice_20250220_070915.txt'
Feb 20 07:06:00 srv4hai common[12524]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:00 srv4hai common[12548]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:00 srv4hai common[12572]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:01 srv4hai CRON[12597]: (root) CMD (/etc/linetest/linetest.sh) Feb 20 07:06:28 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1740031588 - 'ping_SP_0' Feb 20 07:06:28 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 20 07:06:33 srv4hai common[12633]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:33 srv4hai common[12657]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:40 srv4hai named[30406]: resolver priming query complete Feb 20 07:06:46 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1740031606 - 'ping_SP_1' Feb 20 07:06:46 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0 Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122 Feb 20 07:06:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22 Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0 Feb 20 07:06:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0 Feb 20 07:06:53 srv4hai named[30406]: client @0x7f9338013780 192.168.12.252#56063/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: signer "rndc-key" approved Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2" Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#50575/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122 Feb 20 07:06:53 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122 Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/key rndc-key: signer "rndc-key" approved Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR Feb 20 07:06:53 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43767/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. Feb 20 07:06:53 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at Feb 20 07:06:53 srv4hai common[12702]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 20 07:06:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf' Feb 20 07:06:54 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883. Feb 20 07:06:54 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection. Feb 20 07:06:54 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting. Feb 20 07:06:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt'). Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-22' - shIP/2:'192.168.12.122' Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122' Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping Feb 20 07:06:54 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping Feb 20 07:06:55 srv4hai named[30406]: resolver priming query complete Feb 20 07:06:59 srv4hai common[12811]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:06:59 srv4hai common[12835]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:07:00 srv4hai common[12859]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:07:01 srv4hai CRON[12884]: (root) CMD (/etc/linetest/linetest.sh) Feb 20 07:07:13 srv4hai named[30406]: resolver priming query complete Feb 20 07:07:30 srv4hai named[30406]: resolver priming query complete Feb 20 07:07:33 srv4hai common[12903]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:07:33 srv4hai common[12927]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:07:41 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1740031661 - 'ping_SP_0' Feb 20 07:07:41 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 20 07:07:59 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1740031679 - 'ping_SP_1' Feb 20 07:07:59 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 20 07:08:00 srv4hai common[12990]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:00 srv4hai common[13014]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:00 srv4hai common[13038]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:01 srv4hai CRON[13063]: (root) CMD (/etc/linetest/linetest.sh) Feb 20 07:08:03 srv4hai named[30406]: resolver priming query complete Feb 20 07:08:33 srv4hai common[13076]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:33 srv4hai common[13110]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:35 srv4hai named[30406]: resolver priming query complete Feb 20 07:08:55 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1740031735 - 'ping_SP_0' Feb 20 07:08:55 srv4hai ping_SP[10224]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 20 07:08:59 srv4hai common[13162]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:59 srv4hai common[13186]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:08:59 srv4hai named[30406]: resolver priming query complete Feb 20 07:09:00 srv4hai named[30406]: resolver priming query complete Feb 20 07:09:00 srv4hai common[13210]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 20 07:09:01 srv4hai CRON[13237]: (root) CMD (/etc/linetest/linetest.sh) Feb 20 07:09:01 srv4hai CRON[13238]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Feb 20 07:09:01 srv4hai systemd[1]: Starting Clean php session files... Feb 20 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Feb 20 07:09:01 srv4hai systemd[1]: Started Clean php session files. Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY scenario: 'buero_UM(buero_um)' started Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht' Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht' Feb 20 07:09:12 srv4hai postfix/pickup[12063]: 4381F63463: uid=33 from=Feb 20 07:09:12 srv4hai postfix/cleanup[13393]: 4381F63463: message-id=<20250220060912.4381F63463@mail.viehai.at> Feb 20 07:09:12 srv4hai postfix/qmgr[8566]: 4381F63463: from= , size=8663, nrcpt=1 (queue active) Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle' Feb 20 07:09:12 srv4hai proc_url[13411]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/20/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Feb 20 07:09:12 srv4hai postfix/local[13406]: 4381F63463: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Feb 20 07:09:12 srv4hai postfix/cleanup[13393]: 4B6F063464: message-id=<20250220060912.4B6F063464@mail.viehai.at> Feb 20 07:09:12 srv4hai postfix/bounce[13407]: 4381F63463: sender non-delivery notification: 4B6F063464 Feb 20 07:09:12 srv4hai postfix/qmgr[8566]: 4B6F063464: from=<>, size=10542, nrcpt=1 (queue active) Feb 20 07:09:12 srv4hai postfix/qmgr[8566]: 4381F63463: removed Feb 20 07:09:12 srv4hai postfix/local[13406]: 4B6F063464: to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 20 07:09:12 srv4hai postfix/qmgr[8566]: 4B6F063464: removed Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle' Feb 20 07:09:12 srv4hai proc_url[13423]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/20/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Feb 20 07:09:12 srv4hai activate_scenario[13339]: SHELLY scenario: 'buero_UM(buero_um)' took 93 msec, shelly-40:'TB Licht' Feb 20 07:09:13 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1740031753 - 'ping_SP_1' Feb 20 07:09:13 srv4hai ping_SP[18829]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 20 07:09:15 srv4hai activate_scenario[13479]: SHELLY scenario: 'homeOffice(homeoffice)' started Feb 20 07:09:15 srv4hai activate_scenario[13479]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished