activate_scenario.sh
Wed Jan 31 22:41:53 CET 2024
scenario: welcomeLight
phoneName: 0
vorher: 22:41:53.255
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: 22:41:53.290
Dauer: 36 msec
phName: 'phoneName:'0''
vorher: 22:41:53.269
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": 12.72, "overpower": false |
nachher: 22:41:53.323
Dauer: 53 msec
phName: 'phoneName:'0''
vorher: 22:41:53.283
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": 12.72, "overpower": false |
nachher: 22:41:53.323
Dauer: 39 msec
phName: 'phoneName:'0''
vorher: 22:41:53.299
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: 22:41:53.330
Dauer: 31 msec
phName: 'phoneName:'0''
vorher: 22:41:53.313
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: 22:41:53.388
Dauer: 74 msec
phName: 'phoneName:'0''
urls : 5
vorher : 22:41:53.232
nachher: 22:41:53.394
Dauer : 163 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/31//scene_welcomeLight_20240131_224153.txt'
Jan 31 22:38:01 srv4hai CRON[6991]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 22:38:02 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737082 - 'ping_SP_0' Jan 31 22:38:02 srv4hai check_presence[7009]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:38:02 srv4hai check_presence[7009]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:38:02 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:38:09 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737089 - 'ping_SP_1' Jan 31 22:38:09 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:38:32 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737112 - 'ping_SP_0' Jan 31 22:38:32 srv4hai check_presence[7067]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:38:32 srv4hai check_presence[7067]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:38:32 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:38:39 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737119 - 'ping_SP_1' Jan 31 22:38:39 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:38:43 srv4hai bt_scan[7108]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No' Jan 31 22:38:43 srv4hai bt_scan[7108]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jan 31 22:38:43 srv4hai check_presence[7132]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:38:43 srv4hai check_presence[7132]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:38:56 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs Jan 31 22:39:01 srv4hai CRON[7161]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Jan 31 22:39:01 srv4hai CRON[7162]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 22:39:01 srv4hai systemd[1]: Starting Clean php session files... Jan 31 22:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Jan 31 22:39:02 srv4hai systemd[1]: Started Clean php session files. Jan 31 22:39:02 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737142 - 'ping_SP_0' Jan 31 22:39:02 srv4hai check_presence[7268]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:39:02 srv4hai check_presence[7268]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:39:02 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:39:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737150 - 'ping_SP_1' Jan 31 22:39:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:39:31 srv4hai bt_scan[7308]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes' Jan 31 22:39:31 srv4hai bt_scan[7308]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Jan 31 22:39:31 srv4hai ping_SP[7331]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_7331.txt' Jan 31 22:39:31 srv4hai check_presence[7336]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:39:31 srv4hai check_presence[7336]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY scenario: 'welcomeLight(welcomelight)' started Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0' Jan 31 22:39:31 srv4hai postfix/pickup[25461]: 870FA60244: uid=33 from=Jan 31 22:39:31 srv4hai postfix/cleanup[7400]: 870FA60244: message-id=<20240131213931.870FA60244@mail.viehai.at> Jan 31 22:39:31 srv4hai postfix/qmgr[28610]: 870FA60244: from= , size=16755, nrcpt=1 (queue active) Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jan 31 22:39:31 srv4hai proc_url[7417]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/31/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=25' Jan 31 22:39:31 srv4hai proc_url[7428]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/31/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=25' - phName:'phoneName:'0'' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=25' Jan 31 22:39:31 srv4hai proc_url[7439]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/31/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=25' - phName:'phoneName:'0'' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=25' Jan 31 22:39:31 srv4hai proc_url[7460]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/31/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=25' - phName:'phoneName:'0'' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=25' Jan 31 22:39:31 srv4hai proc_url[7471]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/01/31/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=25' - phName:'phoneName:'0'' Jan 31 22:39:31 srv4hai activate_scenario[7353]: SHELLY scenario: 'welcomeLight(welcomelight)' took 181 msec, phoneName:'0' Jan 31 22:39:31 srv4hai ping_SP[7331]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Jan 31 22:39:31 srv4hai ping_SP[7331]: SHELLY - running process-id(7331): '4113 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone Jan 31 22:39:31 srv4hai ping_SP[7331]: 7331 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan Jan 31 22:39:31 srv4hai ping_SP[7331]: 7548 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jan 31 22:39:32 srv4hai postfix/relay/smtp[7413]: 870FA60244: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=0.76, delays=0.05/0.02/0.33/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 006F8201C3) Jan 31 22:39:32 srv4hai postfix/qmgr[28610]: 870FA60244: removed Jan 31 22:39:32 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737172 - 'ping_SP_0' Jan 31 22:39:33 srv4hai check_presence[7564]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:39:33 srv4hai check_presence[7564]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:39:33 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:39:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737180 - 'ping_SP_1' Jan 31 22:39:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:40:01 srv4hai CRON[7610]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 22:40:01 srv4hai CRON[7611]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Jan 31 22:40:01 srv4hai meter.sh: SHELLY meter.sh started Jan 31 22:40:03 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737203 - 'ping_SP_0' Jan 31 22:40:03 srv4hai check_presence[7716]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:40:03 srv4hai check_presence[7716]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:40:03 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:40:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737210 - 'ping_SP_1' Jan 31 22:40:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:40:29 srv4hai postfix/anvil[6545]: statistics: max connection rate 1/60s for (smtp:193.222.96.101) at Jan 31 22:36:46 Jan 31 22:40:29 srv4hai postfix/anvil[6545]: statistics: max connection count 1 for (smtp:193.222.96.101) at Jan 31 22:36:46 Jan 31 22:40:29 srv4hai postfix/anvil[6545]: statistics: max cache size 1 at Jan 31 22:36:46 Jan 31 22:40:33 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737233 - 'ping_SP_0' Jan 31 22:40:33 srv4hai check_presence[7941]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:40:33 srv4hai check_presence[7941]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:40:33 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:40:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737240 - 'ping_SP_1' Jan 31 22:40:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:41:01 srv4hai CRON[8054]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 22:41:02 srv4hai bt_scan[8064]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No' Jan 31 22:41:02 srv4hai bt_scan[8064]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jan 31 22:41:02 srv4hai check_presence[8088]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:41:02 srv4hai check_presence[8088]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:41:03 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737263 - 'ping_SP_0' Jan 31 22:41:03 srv4hai check_presence[8113]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:41:03 srv4hai check_presence[8113]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:41:03 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:41:08 srv4hai meter.sh: SHELLY meter.sh ended Jan 31 22:41:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737270 - 'ping_SP_1' Jan 31 22:41:10 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:41:33 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706737293 - 'ping_SP_0' Jan 31 22:41:33 srv4hai check_presence[8185]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:41:33 srv4hai check_presence[8185]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 22:41:33 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 22:41:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1706737300 - 'ping_SP_1' Jan 31 22:41:40 srv4hai ping_SP[15725]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 31 22:41:53 srv4hai bt_scan[8229]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'Yes' Jan 31 22:41:53 srv4hai bt_scan[8229]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Jan 31 22:41:53 srv4hai ping_SP[8252]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_8252.txt' Jan 31 22:41:53 srv4hai check_presence[8257]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 22:41:53 srv4hai check_presence[8257]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight Jan 31 22:41:53 srv4hai activate_scenario[8274]: SHELLY scenario: 'welcomeLight(welcomelight)' started Jan 31 22:41:53 srv4hai activate_scenario[8274]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished