activate_scenario.sh
Wed Feb 14 21:32:51 CET 2024
scenario: welcomeLight
phoneName: 0
vorher: 21:32:51.875
http://192.168.12.103/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 21:32:51.902
Dauer: 27 msec
phName: 'phoneName:'0''
vorher: 21:32:51.888
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: 21:32:51.916
Dauer: 28 msec
phName: 'phoneName:'0''
vorher: 21:32:51.902
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: 21:32:51.932
Dauer: 34 msec
phName: 'phoneName:'0''
vorher: 21:32:51.917
http://192.168.12.117/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: 21:32:51.963
Dauer: 47 msec
phName: 'phoneName:'0''
vorher: 21:32:51.930
http://192.168.12.117/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: 21:32:52.209
Dauer: 280 msec
phName: 'phoneName:'0''
urls : 5
vorher : 21:32:51.855
nachher: 21:32:52.216
Dauer : 361 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/14//scene_welcomeLight_20240214_213251.txt'
Feb 14 21:29:01 srv4hai CRON[28708]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 21:30:01 srv4hai CRON[28722]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 21:30:01 srv4hai CRON[28723]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Feb 14 21:30:01 srv4hai CRON[28724]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Feb 14 21:30:01 srv4hai meter.sh: SHELLY meter.sh started Feb 14 21:30:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:15 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:40 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:49 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:54 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:56 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:30:59 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:31:01 srv4hai CRON[29233]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 21:31:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 14 21:31:01 srv4hai meter.sh: SHELLY meter.sh ended Feb 14 21:31:01 srv4hai postfix/pickup[24460]: CC2D860245: uid=33 from=Feb 14 21:31:01 srv4hai postfix/cleanup[29251]: CC2D860245: message-id=<20240214203101.CC2D860245@mail.viehai.at> Feb 14 21:31:01 srv4hai postfix/qmgr[28610]: CC2D860245: from= , size=654, nrcpt=1 (queue active) Feb 14 21:31:01 srv4hai postfix/local[29253]: CC2D860245: to= , orig_to= , relay=local, delay=0.05, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 14 21:31:01 srv4hai postfix/qmgr[28610]: CC2D860245: removed Feb 14 21:32:01 srv4hai CRON[29264]: (root) CMD (/etc/linetest/linetest.sh) Feb 14 21:32:36 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0 Feb 14 21:32:36 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 14 21:32:36 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 14 21:32:36 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137 Feb 14 21:32:36 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37 Feb 14 21:32:36 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0 Feb 14 21:32:36 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc3240894a0 192.168.12.252#53233/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#53477/key rndc-key: signer "rndc-key" approved Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101" Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc314035d20 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137 Feb 14 21:32:36 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137 Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40581/key rndc-key: signer "rndc-key" approved Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40581/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR Feb 14 21:32:36 srv4hai named[14530]: client @0x7fc3286414b0 192.168.12.252#40581/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 14 21:32:36 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at Feb 14 21:32:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.38&id=shellyht-00B358 Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 14 21:32:37 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.38° - 41% Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.38°/23.38° - 41%/40% - SAVED Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 14 21:32:37 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-37",#012 "created": "2024-02-14T20:32:37.907Z",#012 "content": {#012 "temp": 22.38,#012 "hum": 41,#012 "batt": 91#012 },#012 "transaction": "110e9600-5432-40e9-b80e-98f82886961c"#012 }#012}'° Feb 14 21:32:41 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Feb 14 21:32:41 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Feb 14 21:32:41 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Feb 14 21:32:41 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61 Feb 14 21:32:41 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas Feb 14 21:32:41 srv4hai common[29514]: SHELLY common.sh inkludiert Feb 14 21:32:41 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Feb 14 21:32:41 srv4hai common[29526]: SHELLY common.sh inkludiert Feb 14 21:32:41 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Feb 14 21:32:41 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#42137/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#36315/key rndc-key: signer "rndc-key" approved Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#36315/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#36315/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#36315/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#36315/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Feb 14 21:32:41 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#58391/key rndc-key: signer "rndc-key" approved Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#58391/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Feb 14 21:32:41 srv4hai named[14530]: client @0x7fc3201073f0 192.168.12.252#58391/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Feb 14 21:32:41 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Feb 14 21:32:41 srv4hai ping_SP[29526]: SHELLY ping_SP.sh started from smartphone Feb 14 21:32:42 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.38&id=shellyht-00B358 Feb 14 21:32:42 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' Feb 14 21:32:42 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 5s ago - EXIT Feb 14 21:32:46 srv4hai activate_scenario[29561]: SHELLY scenario: 'LOG_kommen(log_kommen)' started Feb 14 21:32:46 srv4hai activate_scenario[29561]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer' Feb 14 21:32:46 srv4hai activate_scenario[29561]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer' Feb 14 21:32:46 srv4hai activate_scenario[29561]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 6 msec, shelly-03:'Licht Vorzimmer' Feb 14 21:32:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.38&id=shellyht-00B358 Feb 14 21:32:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' Feb 14 21:32:47 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240214.csv' modifed 10s ago - EXIT Feb 14 21:32:51 srv4hai common[29654]: SHELLY common.sh inkludiert Feb 14 21:32:51 srv4hai check_presence[29654]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No Feb 14 21:32:51 srv4hai check_presence[29654]: SHELLY (0) found and Feb 14 21:32:51 srv4hai check_presence[29654]: SHELLY (0) found and Feb 14 21:32:51 srv4hai check_presence[29654]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Feb 14 21:32:51 srv4hai check_presence[29654]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: welcomeLight Feb 14 21:32:51 srv4hai activate_scenario[29703]: SHELLY scenario: 'welcomeLight(welcomelight)' started Feb 14 21:32:51 srv4hai activate_scenario[29703]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished