activate_scenario.sh
Sat Feb 3 07:02:25 CET 2024
scenario: welcomeLight
phoneName: 0
vorher: 07:02:26.009
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": "http" |
nachher: 07:02:26.044
Dauer: 35 msec
phName: 'phoneName:'0''
vorher: 07:02:26.034
http://192.168.12.116/white/0?turn=on&brightness=25 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 10.31, "overpower": false |
nachher: 07:02:26.184
Dauer: 150 msec
phName: 'phoneName:'0''
vorher: 07:02:26.060
http://192.168.12.116/white/1?turn=on&brightness=25 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 10.31, "overpower": false |
nachher: 07:02:26.184
Dauer: 122 msec
phName: 'phoneName:'0''
vorher: 07:02:26.082
http://192.168.12.117/white/0?turn=on&brightness=25 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 7.13, "overpower": false |
nachher: 07:02:26.122
Dauer: 40 msec
phName: 'phoneName:'0''
vorher: 07:02:26.098
http://192.168.12.117/white/1?turn=on&brightness=25 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 7.13, "overpower": false |
nachher: 07:02:26.142
Dauer: 44 msec
phName: 'phoneName:'0''
urls : 5
vorher : 07:02:25.955
nachher: 07:02:26.194
Dauer : 240 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/03//scene_welcomeLight_20240203_070225.txt'
Feb 3 06:59:00 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-03T05:59:00.067Z",#012 "content": {#012 "temp": 21.75,#012 "hum": 39,#012 "batt": 91#012 },#012 "transaction": "73fbf5b1-6351-4e3e-9543-5515b1ac5ce4"#012 }#012}'° Feb 3 06:59:01 srv4hai CRON[23841]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02' Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=21.75&id=shellyht-00B358 Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY id => macID: '00:B3:58' Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 3 06:59:04 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 39% Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240203.csv' Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/21.75° - 39%/39% - 20240203;06:59/20240203;06:58/64 - NOT SAVED - DUPLICATE Feb 3 06:59:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 3 06:59:05 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-03T05:59:05.092Z",#012 "content": {#012 "temp": 21.75,#012 "hum": 39,#012 "batt": 91#012 },#012 "transaction": "558987c0-0248-404d-a812-fb4f6710e0e7"#012 }#012}'° Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY - working dir '/srv/www/viehai/shelly/wetter/2024/02' Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=21.75&id=shellyht-00B358 Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY id => macID: '00:B3:58' Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 3 06:59:09 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 39% Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240203.csv' Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/21.75° - 39%/39% - 20240203;06:59/20240203;06:58/69 - NOT SAVED - DUPLICATE Feb 3 06:59:09 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 3 06:59:10 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-03T05:59:10.200Z",#012 "content": {#012 "temp": 21.75,#012 "hum": 39,#012 "batt": 91#012 },#012 "transaction": "9bbebf99-0f8e-4b79-bc5f-a49772ee0bb3"#012 }#012}'° Feb 3 06:59:15 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706939955 - 'ping_SP_0' Feb 3 06:59:15 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 06:59:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24125, secured, session= Feb 3 06:59:22 srv4hai dovecot: imap(miglincit)<24125> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 3 06:59:26 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706939966 - 'ping_SP_0' Feb 3 06:59:26 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 06:59:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706939986 - 'ping_SP_0' Feb 3 06:59:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 06:59:46 srv4hai named[14530]: resolver priming query complete Feb 3 06:59:56 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706939996 - 'ping_SP_0' Feb 3 06:59:56 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:00:01 srv4hai CRON[24183]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 07:00:01 srv4hai CRON[24184]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Feb 3 07:00:01 srv4hai meter.sh: SHELLY meter.sh started Feb 3 07:00:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940016 - 'ping_SP_0' Feb 3 07:00:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:00:17 srv4hai trace_events[24413]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:00:17 srv4hai bt_scan[24413]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes' Feb 3 07:00:17 srv4hai named[14530]: resolver priming query complete Feb 3 07:00:18 srv4hai bt_scan[24413]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Feb 3 07:00:18 srv4hai trace_events[24440]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:00:18 srv4hai ping_SP[24440]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_24440.txt' Feb 3 07:00:18 srv4hai trace_events[24449]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:00:18 srv4hai check_presence[24449]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Feb 3 07:00:18 srv4hai check_presence[24449]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight Feb 3 07:00:18 srv4hai trace_events[24469]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY scenario: 'welcomeLight(welcomelight)' started Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0' Feb 3 07:00:18 srv4hai postfix/pickup[11009]: 267EC60244: uid=33 from= Feb 3 07:00:18 srv4hai postfix/cleanup[24521]: 267EC60244: message-id=<20240203060018.267EC60244@mail.viehai.at> Feb 3 07:00:18 srv4hai postfix/qmgr[28610]: 267EC60244: from= , size=66888, nrcpt=1 (queue active) Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Feb 3 07:00:18 srv4hai proc_url[24538]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/03/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=25' Feb 3 07:00:18 srv4hai proc_url[24549]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/03/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=25' - phName:'phoneName:'0'' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=25' Feb 3 07:00:18 srv4hai proc_url[24560]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/03/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=25' - phName:'phoneName:'0'' Feb 3 07:00:18 srv4hai named[14530]: resolver priming query complete Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=25' Feb 3 07:00:18 srv4hai proc_url[24571]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/03/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=25' - phName:'phoneName:'0'' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=25' Feb 3 07:00:18 srv4hai proc_url[24582]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/03/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=25' - phName:'phoneName:'0'' Feb 3 07:00:18 srv4hai activate_scenario[24469]: SHELLY scenario: 'welcomeLight(welcomelight)' took 170 msec, phoneName:'0' Feb 3 07:00:18 srv4hai ping_SP[24440]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Feb 3 07:00:18 srv4hai ping_SP[24440]: SHELLY - running process-id(24440): '10492 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan Feb 3 07:00:18 srv4hai ping_SP[24440]: 14497 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone Feb 3 07:00:18 srv4hai ping_SP[24440]: 24440 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan Feb 3 07:00:18 srv4hai ping_SP[24440]: 24669 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Feb 3 07:00:19 srv4hai postfix/relay/smtp[24534]: 267EC60244: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=1.1, delays=0.03/0.01/0.54/0.54, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C33A6200C7) Feb 3 07:00:19 srv4hai postfix/qmgr[28610]: 267EC60244: removed Feb 3 07:00:26 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940026 - 'ping_SP_0' Feb 3 07:00:26 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:00:44 srv4hai named[14530]: resolver priming query complete Feb 3 07:00:45 srv4hai named[14530]: resolver priming query complete Feb 3 07:00:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940046 - 'ping_SP_0' Feb 3 07:00:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:00:57 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940057 - 'ping_SP_0' Feb 3 07:00:57 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:01:01 srv4hai CRON[24861]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 07:01:08 srv4hai meter.sh: SHELLY meter.sh ended Feb 3 07:01:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940076 - 'ping_SP_0' Feb 3 07:01:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:01:23 srv4hai named[14530]: resolver priming query complete Feb 3 07:01:27 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940087 - 'ping_SP_0' Feb 3 07:01:27 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:01:45 srv4hai named[14530]: resolver priming query complete Feb 3 07:01:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940106 - 'ping_SP_0' Feb 3 07:01:46 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:01:57 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940117 - 'ping_SP_0' Feb 3 07:01:57 srv4hai ping_SP[10492]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:02:01 srv4hai CRON[24962]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 07:02:07 srv4hai trace_events[24969]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:07 srv4hai bt_scan[24969]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No' Feb 3 07:02:07 srv4hai named[14530]: resolver priming query complete Feb 3 07:02:07 srv4hai bt_scan[24969]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Feb 3 07:02:07 srv4hai trace_events[24997]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:07 srv4hai check_presence[24997]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Feb 3 07:02:07 srv4hai check_presence[24997]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll Feb 3 07:02:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706940136 - 'ping_SP_0' Feb 3 07:02:16 srv4hai ping_SP[14497]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 07:02:22 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=25033, secured, session= Feb 3 07:02:22 srv4hai dovecot: imap(miglincit)<25033> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 3 07:02:25 srv4hai trace_events[25036]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:25 srv4hai bt_scan[25036]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes' Feb 3 07:02:25 srv4hai bt_scan[25036]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Feb 3 07:02:25 srv4hai trace_events[25063]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:25 srv4hai ping_SP[25063]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_25063.txt' Feb 3 07:02:25 srv4hai trace_events[25072]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:25 srv4hai check_presence[25072]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Feb 3 07:02:25 srv4hai check_presence[25072]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight Feb 3 07:02:25 srv4hai trace_events[25092]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240203.txt' Feb 3 07:02:25 srv4hai activate_scenario[25092]: SHELLY scenario: 'welcomeLight(welcomelight)' started Feb 3 07:02:25 srv4hai activate_scenario[25092]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished