activate_scenario.sh
Sun Feb 18 16:18:18 CET 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 16:18:18.439
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 16:18:18.539
Dauer: 99 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.463
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: 16:18:18.493
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.481
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: 16:18:18.553
Dauer: 71 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.501
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: 16:18:18.563
Dauer: 62 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.515
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: 16:18:18.549
Dauer: 34 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.532
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: 16:18:18.564
Dauer: 31 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.551
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: 16:18:18.595
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.567
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: 16:18:18.593
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.581
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: 16:18:18.624
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.592
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: 16:18:18.632
Dauer: 39 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.606
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: 16:18:18.646
Dauer: 39 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.622
http://192.168.12.116/white/0?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 17.52, "overpower": false |
nachher: 16:18:18.744
Dauer: 123 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.640
http://192.168.12.116/white/1?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 17.52, "overpower": false |
nachher: 16:18:18.762
Dauer: 121 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.654
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": 13.21, "overpower": false |
nachher: 16:18:18.747
Dauer: 91 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.670
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": 13.21, "overpower": false |
nachher: 16:18:18.767
Dauer: 96 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.685
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: 16:18:18.754
Dauer: 69 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.698
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: 16:18:18.760
Dauer: 62 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.710
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: 16:18:18.761
Dauer: 52 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:18:18.722
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: 16:18:18.763
Dauer: 41 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 16:18:18.377
nachher: 16:18:18.779
Dauer : 403 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/18//scene_homeOffice_20240218_161818.txt'
Feb 18 16:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 51 to 52 Feb 18 16:15:01 srv4hai CRON[19998]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 16:15:06 srv4hai named[14530]: resolver priming query complete Feb 18 16:15:29 srv4hai named[14530]: resolver priming query complete Feb 18 16:15:45 srv4hai postfix/anvil[19915]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 18 16:12:24 Feb 18 16:15:45 srv4hai postfix/anvil[19915]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 18 16:12:24 Feb 18 16:15:45 srv4hai postfix/anvil[19915]: statistics: max cache size 1 at Feb 18 16:12:24 Feb 18 16:15:47 srv4hai named[14530]: resolver priming query complete Feb 18 16:15:53 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708269353 - 'ping_SP_0' Feb 18 16:15:53 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 18 16:16:01 srv4hai CRON[20035]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 16:16:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20046, secured, session= Feb 18 16:16:20 srv4hai dovecot: imap(miglincit)<20046> : Logged out in=476 out=39600 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15933 body_count=0 body_bytes=0 Feb 18 16:16:49 srv4hai named[14530]: resolver priming query complete Feb 18 16:17:01 srv4hai CRON[20058]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 18 16:17:01 srv4hai CRON[20059]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 16:17:06 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708269426 - 'ping_SP_0' Feb 18 16:17:06 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 18 16:17:14 srv4hai named[14530]: resolver priming query complete Feb 18 16:17:16 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0 Feb 18 16:17:16 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 18 16:17:16 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 18 16:17:16 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137 Feb 18 16:17:16 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37 Feb 18 16:17:16 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0 Feb 18 16:17:16 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc328166000 192.168.12.252#60799/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#59257/key rndc-key: signer "rndc-key" approved Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#59257/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#59257/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101" Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#59257/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc3240aa080 192.168.12.252#59257/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137 Feb 18 16:17:16 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137 Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#48607/key rndc-key: signer "rndc-key" approved Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#48607/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR Feb 18 16:17:16 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#48607/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 18 16:17:16 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at Feb 18 16:17:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 18 16:17:17 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:17 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 18 16:17:17 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 18 16:17:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.5° - 39% Feb 18 16:17:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.5°/23.75° - 39%/38% - SAVED Feb 18 16:17:17 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 18 16:17:17 srv4hai named[14530]: resolver priming query complete Feb 18 16:17:18 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-18T15:17:18.381Z",#012 "content": {#012 "temp": 23.5,#012 "hum": 39,#012 "batt": 91#012 },#012 "transaction": "30924d46-2ab0-4476-9367-ecd4acc0e6a2"#012 }#012}'° Feb 18 16:17:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:22 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 5s ago - EXIT Feb 18 16:17:27 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:27 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:27 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 10s ago - EXIT Feb 18 16:17:32 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:32 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 15s ago - EXIT Feb 18 16:17:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:38 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 21s ago - EXIT Feb 18 16:17:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.50&id=shellyht-00B358 Feb 18 16:17:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' Feb 18 16:17:43 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 26s ago - EXIT Feb 18 16:17:57 srv4hai named[14530]: resolver priming query complete Feb 18 16:18:01 srv4hai CRON[20415]: (root) CMD (/etc/linetest/linetest.sh) Feb 18 16:18:03 srv4hai named[14530]: resolver priming query complete Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY scenario: 'buero_UM(buero_um)' started Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Feb 18 16:18:15 srv4hai postfix/pickup[18982]: 3C46A60244: uid=33 from= Feb 18 16:18:15 srv4hai postfix/cleanup[20480]: 3C46A60244: message-id=<20240218151815.3C46A60244@mail.viehai.at> Feb 18 16:18:15 srv4hai postfix/qmgr[28610]: 3C46A60244: from= , size=10211, nrcpt=1 (queue active) Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Feb 18 16:18:15 srv4hai postfix/local[20493]: 3C46A60244: to= , orig_to= , relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Feb 18 16:18:15 srv4hai postfix/cleanup[20480]: 4959F60245: message-id=<20240218151815.4959F60245@mail.viehai.at> Feb 18 16:18:15 srv4hai proc_url[20498]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/18/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Feb 18 16:18:15 srv4hai postfix/bounce[20494]: 3C46A60244: sender non-delivery notification: 4959F60245 Feb 18 16:18:15 srv4hai postfix/qmgr[28610]: 4959F60245: from=<>, size=12130, nrcpt=1 (queue active) Feb 18 16:18:15 srv4hai postfix/qmgr[28610]: 3C46A60244: removed Feb 18 16:18:15 srv4hai postfix/local[20493]: 4959F60245: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 18 16:18:15 srv4hai postfix/qmgr[28610]: 4959F60245: removed Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Feb 18 16:18:15 srv4hai proc_url[20510]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/18/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Feb 18 16:18:15 srv4hai activate_scenario[20427]: SHELLY scenario: 'buero_UM(buero_um)' took 114 msec, shelly-40:'Thomas Büro Licht' Feb 18 16:18:18 srv4hai activate_scenario[20551]: SHELLY scenario: 'homeOffice(homeoffice)' started Feb 18 16:18:18 srv4hai activate_scenario[20551]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished