activate_scenario.sh
Fri Jan 12 16:25:41 CET 2024
scenario: homeOffice
vorher: 16:25:41.803
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:25:41.832
Dauer: 29 msec
vorher: 16:25:41.819
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:25:42.869
Dauer: 1049 msec
vorher: 16:25:41.835
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:25:41.894
Dauer: 59 msec
vorher: 16:25:41.847
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:25:41.895
Dauer: 48 msec
vorher: 16:25:41.859
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:25:42.037
Dauer: 178 msec
vorher: 16:25:41.870
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:25:41.911
Dauer: 40 msec
vorher: 16:25:41.882
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:25:42.050
Dauer: 167 msec
vorher: 16:25:41.894
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:25:41.943
Dauer: 50 msec
vorher: 16:25:41.907
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: 16:25:41.958
Dauer: 50 msec
vorher: 16:25:41.919
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:25:41.982
Dauer: 62 msec
vorher: 16:25:41.931
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:25:42.039
Dauer: 107 msec
vorher: 16:25:41.944
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": 0, "overpower": false |
nachher: 16:25:42.018
Dauer: 75 msec
vorher: 16:25:41.956
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": 0, "overpower": false |
nachher: 16:25:42.039
Dauer: 83 msec
vorher: 16:25:41.968
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: 16:25:42.039
Dauer: 71 msec
vorher: 16:25:41.980
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: 16:25:42.086
Dauer: 106 msec
vorher: 16:25:41.993
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 16:25:42.041
Dauer: 48 msec
vorher: 16:25:42.005
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:25:42.071
Dauer: 67 msec
vorher: 16:25:42.016
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: 16:25:42.066
Dauer: 50 msec
vorher: 16:25:42.030
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:25:42.065
Dauer: 35 msec
urls : 19
vorher : 16:25:41.756
nachher: 16:25:42.891
Dauer : 1136 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/12//scene_homeOffice_20240112_162541.txt'
Jan 12 16:23:01 srv4hai CRON[31603]: (root) CMD (/etc/linetest/linetest.sh) Jan 12 16:23:02 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705072982 - 'ping_SP_0' Jan 12 16:23:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31620, secured, session= Jan 12 16:23:15 srv4hai dovecot: imap(miglincit)<31620> : Logged out in=742 out=41693 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18463 body_count=0 body_bytes=0 Jan 12 16:23:16 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=31624, secured, session=<3hVNPsEO+oMAAAAAAAAAAAAAAAAAAAAB> Jan 12 16:23:17 srv4hai dovecot: imap(miglincit)<31624><3hVNPsEO+oMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=742 out=41678 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18463 body_count=0 body_bytes=0 Jan 12 16:23:32 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705073012 - 'ping_SP_0' Jan 12 16:23:34 srv4hai dhcpd[1107]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0 Jan 12 16:23:34 srv4hai dhcpd[1107]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0 Jan 12 16:23:34 srv4hai postfix/smtpd[31639]: connect from unknown[95.214.24.9] Jan 12 16:23:34 srv4hai postfix/smtpd[31639]: warning: unknown[95.214.24.9]: SASL LOGIN authentication failed: Invalid authentication mechanism Jan 12 16:23:34 srv4hai postfix/smtpd[31639]: disconnect from unknown[95.214.24.9] ehlo=1 auth=0/1 quit=1 commands=2/3 Jan 12 16:24:01 srv4hai CRON[31650]: (root) CMD (/etc/linetest/linetest.sh) Jan 12 16:24:03 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705073043 - 'ping_SP_0' Jan 12 16:24:31 srv4hai bt_scan.sh: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' Jan 12 16:24:33 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705073073 - 'ping_SP_0' Jan 12 16:24:38 srv4hai dhcpd[1107]: DHCPDISCOVER from 00:22:61:a1:fb:40 via enp2s0 Jan 12 16:24:38 srv4hai dhcpd[1107]: DHCPOFFER on 192.168.12.17 to 00:22:61:a1:fb:40 via enp2s0 Jan 12 16:25:01 srv4hai sntp[31710]: sntp 4.2.8p12@1.3728-o (1) Jan 12 16:25:01 srv4hai CRON[31713]: (root) CMD (/etc/linetest/linetest.sh) Jan 12 16:25:01 srv4hai sntp[31710]: 2024-01-12 16:25:01.678408 (-0100) -0.002097 +/- 0.001504 time.google.com 216.239.35.4 s1 no-leap Jan 12 16:25:03 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705073103 - 'ping_SP_0' Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY scenario: 'vorraumOff(vorraumoff)' TO BE EXECUTED Jan 12 16:25:27 srv4hai postfix/pickup[26795]: D30C760244: uid=33 from= Jan 12 16:25:27 srv4hai postfix/cleanup[31776]: D30C760244: message-id=<20240112152527.D30C760244@mail.viehai.at> Jan 12 16:25:27 srv4hai postfix/qmgr[28610]: D30C760244: from= , size=3211, nrcpt=1 (queue active) Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-03'-'Licht Vorzimmer' --> '0?turn=off' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'noHandy' Jan 12 16:25:27 srv4hai postfix/local[31790]: D30C760244: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jan 12 16:25:27 srv4hai postfix/cleanup[31776]: D930260245: message-id=<20240112152527.D930260245@mail.viehai.at> Jan 12 16:25:27 srv4hai postfix/bounce[31791]: D30C760244: sender non-delivery notification: D930260245 Jan 12 16:25:27 srv4hai postfix/qmgr[28610]: D930260245: from=<>, size=5090, nrcpt=1 (queue active) Jan 12 16:25:27 srv4hai postfix/qmgr[28610]: D30C760244: removed Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'noHandy' Jan 12 16:25:27 srv4hai postfix/local[31790]: D930260245: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jan 12 16:25:27 srv4hai postfix/qmgr[28610]: D930260245: removed Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'noHandy' Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'noHandy' Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'noHandy' Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-22'-'WC' --> '0?turn=off' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_5.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'noHandy' Jan 12 16:25:27 srv4hai activate_scenario.sh: SHELLY: 'shelly-25'-'Küchenlicht' --> '0?turn=off' Jan 12 16:25:27 srv4hai proc_url.sh: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/12/_6.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'noHandy' Jan 12 16:25:28 srv4hai activate_scenario.sh: SHELLY scenario: 'vorraumOff(vorraumoff)' took 144 msec Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.103/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.103","rssi":-50},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"E09806AA0824","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"overpower":false,"source":"http"}],"meters":[{"power":0.00,"overpower":0.00,"is_valid":true,"timestamp":1705076728,"counters":[0.000, 0.000, 0.000],"total":650880}],"inputs":[{"input":0,"event":"","event_cnt":570}],"temperature":30.03,"overtemperature":false,"tmp":{"tC":30.03,"tF":86.06, "is_valid":true},"temperature_status":"Normal","ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20230913-113709/v1.14.0-gcb84623","old_version":"20230913-113709/v1.14.0-gcb84623","beta_version":"20231107-164450/v1.14.1-rc1-g0617c15"},"ram_total":42960,"ram_free" Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.117/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.117","rssi":-74},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"E8DB84A891C9","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"mode":"white","input":0,"total_power":0.00,"lights":[{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"wh Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.116/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.116","rssi":-54},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"C45BBE4B848E","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"mode":"white","input":0,"total_power":22.55,"lights":[{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":70,"transition":0,"power":11.28,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":70,"transition":0,"power":11.28,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode": Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.122/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.116/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.122","rssi":-60},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073127,"serial":1,"has_update":true,"mac":"98CDAC2E1CDA","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"input"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":0,"event":"","event_cnt":0}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"pending","has_update":true,"new_version":"20230913-112003/v1.14.0-gcb84623","old_version":"20230503-095514/v1.13.0-g9aed950","beta_version":"20231107-162940/v1.14.1-rc1-g0617c15"},"ram_total":51688,"ram_free":40668,"fs_size":233681,"fs_free":150851,"uptime":940073}' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.116","rssi":-54},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"C45BBE4B848E","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"mode":"white","input":0,"total_power":22.55,"lights":[{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":70,"transition":0,"power":11.28,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":70,"transition":0,"power":11.28,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode": Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.125/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.125","rssi":-64},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"98CDAC2DB6DB","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"relays":[{"ison":false,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"http"}],"meters":[{"power":0.00,"is_valid":true}],"inputs":[{"input":1,"event":"L","event_cnt":350}],"ext_sensors":{},"ext_temperature":{},"ext_humidity":{},"update":{"status":"idle","has_update":false,"new_version":"20230913-112003/v1.14.0-gcb84623","old_version":"20230913-112003/v1.14.0-gcb84623","beta_version":"20231107-162940/v1.14.1-rc1-g0617c15"},"ram_total":51688,"ram_free":37804,"fs_size":233681,"fs_free":150098,"uptime":6141259}' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: grab status via - 'http://192.168.12.117/status' Jan 12 16:25:28 srv4hai proc_url.sh: SHELLY: status: '{"wifi_sta":{"connected":true,"ssid":"viehai","ip":"192.168.12.117","rssi":-74},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"16:25","unixtime":1705073128,"serial":1,"has_update":false,"mac":"E8DB84A891C9","cfg_changed_cnt":0,"actions_stats":{"skipped":0},"mode":"white","input":0,"total_power":0.00,"lights":[{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":50,"transition":0,"power":0.00,"overpower":false},{"ison":false,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"wh Jan 12 16:25:33 srv4hai ping_SP.sh: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1705073133 - 'ping_SP_0'
finished