activate_scenario.sh
Sat Jun 1 07:59:02 CEST 2024
scenario: vorraumOff
source: 192.168.12.125
vorher: 07:59:02.744
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:59:02.779
Dauer: 35 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.759
http://192.168.12.116/white/0?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 0, "overpower": false |
nachher: 07:59:02.785
Dauer: 26 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.775
http://192.168.12.116/white/1?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 0, "overpower": false |
nachher: 07:59:02.824
Dauer: 49 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.792
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:59:02.831
Dauer: 39 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.805
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:59:02.866
Dauer: 61 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.819
http://192.168.12.122/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 07:59:02.994
Dauer: 174 msec
phName: 'shelly-25:'Küchenlicht''
vorher: 07:59:02.832
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:59:02.872
Dauer: 40 msec
phName: 'shelly-25:'Küchenlicht''
urls : 7
vorher : 07:59:02.705
nachher: 07:59:03.002
Dauer : 298 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/01//scene_vorraumOff_20240601_075902.txt'
Jun 1 07:56:01 srv4hai CRON[25567]: (root) CMD (/etc/linetest/linetest.sh) Jun 1 07:56:27 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717221387 - 'ping_SP_0' Jun 1 07:56:27 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 1 07:57:01 srv4hai CRON[25599]: (root) CMD (/etc/linetest/linetest.sh) Jun 1 07:57:40 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717221460 - 'ping_SP_0' Jun 1 07:57:40 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 1 07:58:01 srv4hai CRON[25634]: (root) CMD (/etc/linetest/linetest.sh) Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY scenario: 'buero_UM(buero_um)' started Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Jun 1 07:58:17 srv4hai postfix/pickup[20670]: 1B26060197: uid=33 from=Jun 1 07:58:17 srv4hai postfix/cleanup[25697]: 1B26060197: message-id=<20240601055817.1B26060197@mail.viehai.at> Jun 1 07:58:17 srv4hai postfix/qmgr[31004]: 1B26060197: from= , size=3383, nrcpt=1 (queue active) Jun 1 07:58:17 srv4hai postfix/local[25710]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Jun 1 07:58:17 srv4hai proc_url[25715]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/01/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Jun 1 07:58:17 srv4hai postfix/local[25710]: 1B26060197: to= , orig_to= , relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jun 1 07:58:17 srv4hai postfix/cleanup[25697]: 27994601BE: message-id=<20240601055817.27994601BE@mail.viehai.at> Jun 1 07:58:17 srv4hai postfix/bounce[25711]: 1B26060197: sender non-delivery notification: 27994601BE Jun 1 07:58:17 srv4hai postfix/qmgr[31004]: 27994601BE: from=<>, size=5305, nrcpt=1 (queue active) Jun 1 07:58:17 srv4hai postfix/qmgr[31004]: 1B26060197: removed Jun 1 07:58:17 srv4hai postfix/local[25710]: 27994601BE: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jun 1 07:58:17 srv4hai postfix/qmgr[31004]: 27994601BE: removed Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Jun 1 07:58:17 srv4hai proc_url[25727]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/01/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Jun 1 07:58:17 srv4hai activate_scenario[25644]: SHELLY scenario: 'buero_UM(buero_um)' took 308 msec, shelly-40:'Thomas Büro Licht' Jun 1 07:58:31 srv4hai dhcpd[30731]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0 Jun 1 07:58:31 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Jun 1 07:58:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 1 07:58:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.137 Jun 1 07:58:31 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-37 Jun 1 07:58:31 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0 Jun 1 07:58:31 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Jun 1 07:58:31 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#38963/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44457/key rndc-key: signer "rndc-key" approved Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44457/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44457/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101" Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44457/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#44457/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137 Jun 1 07:58:31 srv4hai dhcpd[30731]: Added new forward map from shelly-37.viehai.at to 192.168.12.137 Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#55475/key rndc-key: signer "rndc-key" approved Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#55475/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR Jun 1 07:58:31 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#55475/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. Jun 1 07:58:31 srv4hai dhcpd[30731]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at Jun 1 07:58:31 srv4hai common[25769]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 1 07:58:31 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf' Jun 1 07:58:32 srv4hai mosquitto[18551]: New connection from 192.168.12.137 on port 1883. Jun 1 07:58:32 srv4hai mosquitto[18551]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt'). Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Jun 1 07:58:32 srv4hai common[25788]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:32 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137' Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137' Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Jun 1 07:58:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Jun 1 07:58:33 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Jun 1 07:58:33 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 23.38° - 46% Jun 1 07:58:33 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 23.38°/24.38° - 46%/44% - SAVED Jun 1 07:58:33 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: batt='91'° Jun 1 07:58:33 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-37",#012 "created": "2024-06-01T05:58:33.672Z",#012 "content": {#012 "temp": 23.38,#012 "hum": 46,#012 "batt": 91,#012 "csvF": "shelly-37_20240601.csv"#012 },#012 "transaction": "9e63130f-3d05-4ee8-9c83-b6df2f8299d5"#012 }#012}'° Jun 1 07:58:37 srv4hai common[26018]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:38 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240601.csv' modifed 5s ago - EXIT Jun 1 07:58:43 srv4hai common[26045]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:43 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240601.csv' modifed 10s ago - EXIT Jun 1 07:58:43 srv4hai postfix/anvil[25562]: statistics: max connection rate 1/60s for (smtp:185.196.10.27) at Jun 1 07:55:23 Jun 1 07:58:43 srv4hai postfix/anvil[25562]: statistics: max connection count 1 for (smtp:185.196.10.27) at Jun 1 07:55:23 Jun 1 07:58:43 srv4hai postfix/anvil[25562]: statistics: max cache size 1 at Jun 1 07:55:23 Jun 1 07:58:48 srv4hai common[26073]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:48 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240601.csv' modifed 15s ago - EXIT Jun 1 07:58:53 srv4hai common[26099]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:53 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240601.csv' modifed 20s ago - EXIT Jun 1 07:58:54 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717221534 - 'ping_SP_0' Jun 1 07:58:54 srv4hai ping_SP[24304]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 1 07:58:58 srv4hai common[26138]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 1 07:58:58 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=23.38&id=shellyht-00B358 Jun 1 07:58:58 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240601.csv' Jun 1 07:58:58 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240601.csv' modifed 25s ago - EXIT Jun 1 07:59:01 srv4hai CRON[26163]: (root) CMD (/etc/linetest/linetest.sh) Jun 1 07:59:02 srv4hai activate_scenario[26169]: SHELLY scenario: 'vorraumOff(vorraumoff)' started Jun 1 07:59:02 srv4hai activate_scenario[26169]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'
finished