activate_scenario.sh
Wed Apr 23 16:59:23 CEST 2025
scenario: vorraumOn
phoneName: 1
vorher: 16:59:23.472
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": "input" |
nachher: 16:59:23.516
Dauer: 43 msec
phName: 'phoneName:'1''
urls : 1
vorher : 16:59:23.448
nachher: 16:59:23.531
Dauer : 84 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/23//scene_vorraumOn_20250423_165923.txt'
Apr 23 16:56:00 srv4hai mqtt_process[5456]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 23 16:56:00 srv4hai mqtt_process[5482]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:56:00 srv4hai mqtt_process[5507]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:56:01 srv4hai CRON[5534]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 16:56:11 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745420171 - 'ping_SP_0' Apr 23 16:56:11 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 16:56:13 srv4hai kernel: [91398291.715773] CPU5: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715774] CPU3: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715775] CPU6: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715776] CPU2: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715777] CPU4: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715778] CPU1: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715779] CPU0: Package temperature/speed normal Apr 23 16:56:13 srv4hai kernel: [91398291.715780] CPU7: Package temperature/speed normal Apr 23 16:56:23 srv4hai mqtt_process[5560]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:56:23 srv4hai mqtt_process[5585]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:56:59 srv4hai mqtt_process[5628]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:56:59 srv4hai mqtt_process[5653]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:57:00 srv4hai mqtt_process[5678]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 23 16:57:01 srv4hai CRON[5704]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 16:57:08 srv4hai bt_scan[5615]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Apr 23 16:57:08 srv4hai bt_scan[5615]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62' Apr 23 16:57:08 srv4hai ping_SP[5727]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Apr 23 16:57:09 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (ping_SP__bt_scan_existing_IP)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'presence' Apr 23 16:57:09 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.TRY and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.Yes Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (ping_SP__bt_scan_existing_IP)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_1.TRY' for what: 'presence' Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (ping_SP__bt_scan_existing_IP)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/TRY)' - anyPresent: 'true' - otherPresent:'true' Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll) Apr 23 16:57:09 srv4hai check_presence[5748]: SHELLY (ping_SP__bt_scan_existing_IP)-(1)-presence: NOT activate_scenario.shtml: offAll Apr 23 16:57:09 srv4hai ping_SP[5727]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan Apr 23 16:57:09 srv4hai ping_SP[5727]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly/meter/ping_SP_1' @~1745420229 Apr 23 16:57:22 srv4hai ping_SP[5727]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1745420242 - 'ping_SP_1' Apr 23 16:57:23 srv4hai mqtt_process[5863]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:57:23 srv4hai mqtt_process[5888]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:57:24 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745420244 - 'ping_SP_0' Apr 23 16:57:24 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 16:57:26 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll' Apr 23 16:57:26 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs Apr 23 16:57:26 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 23 16:57:26 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 23 16:57:34 srv4hai kernel: [91398373.237805] CPU5: Core temperature above threshold, cpu clock throttled (total events = 790213184) Apr 23 16:57:34 srv4hai kernel: [91398373.237806] CPU1: Core temperature above threshold, cpu clock throttled (total events = 790213184) Apr 23 16:57:48 srv4hai ping_SP[5727]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1745420268 - 'ping_SP_1' Apr 23 16:58:00 srv4hai mqtt_process[6013]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 23 16:58:00 srv4hai mqtt_process[6038]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:58:00 srv4hai mqtt_process[6063]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:58:01 srv4hai CRON[6089]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 16:58:14 srv4hai ping_SP[5727]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1745420294 - 'ping_SP_1' Apr 23 16:58:23 srv4hai mqtt_process[6117]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:58:23 srv4hai mqtt_process[6142]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:58:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6169, secured, session= Apr 23 16:58:23 srv4hai dovecot: imap(miglincit)<6169> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 23 16:58:37 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745420317 - 'ping_SP_0' Apr 23 16:58:37 srv4hai ping_SP[1458]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 23 16:58:40 srv4hai ping_SP[5727]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1745420320 - 'ping_SP_1' Apr 23 16:58:52 srv4hai dhcpd[30231]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:58:52 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:58:52 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 23 16:58:52 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62 Apr 23 16:58:52 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20 Apr 23 16:58:56 srv4hai bt_scan[6211]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No' Apr 23 16:58:56 srv4hai bt_scan[6211]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence Apr 23 16:58:56 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'presence' Apr 23 16:58:56 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.TRY and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_1.TRY' for what: 'presence' Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/TRY)' - anyPresent: 'true' - otherPresent:'true' Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll) Apr 23 16:58:56 srv4hai check_presence[6260]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll Apr 23 16:59:00 srv4hai mqtt_process[6349]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 23 16:59:00 srv4hai mqtt_process[6374]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:59:00 srv4hai mqtt_process[6399]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:59:01 srv4hai CRON[6425]: (root) CMD (/etc/linetest/linetest.sh) Apr 23 16:59:02 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Apr 23 16:59:02 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:02 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:02 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 23 16:59:02 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62 Apr 23 16:59:02 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20 Apr 23 16:59:02 srv4hai ping_SP[6432]: SHELLY ping_SP.sh started from smartphone, user:'root' Apr 23 16:59:06 srv4hai ping_SP[5727]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1745420346 - 'ping_SP_1' Apr 23 16:59:12 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Apr 23 16:59:13 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:13 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:13 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 23 16:59:13 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62 Apr 23 16:59:13 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20 Apr 23 16:59:13 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#47837/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 23 16:59:13 srv4hai ping_SP[6489]: SHELLY ping_SP.sh started from smartphone, user:'root' Apr 23 16:59:13 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'coming' Apr 23 16:59:13 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_1.LIVE' for what: 'coming' Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Apr 23 16:59:13 srv4hai check_presence[6499]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Apr 23 16:59:13 srv4hai activate_scenario[6612]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 23 16:59:13 srv4hai activate_scenario[6612]: SHELLY dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - phoneName:'1' Apr 23 16:59:13 srv4hai activate_scenario[6612]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1' Apr 23 16:59:13 srv4hai activate_scenario[6612]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'' --> '0?turn=on' Apr 23 16:59:13 srv4hai proc_url[6670]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/04/23/_0.log' - shellyUsage:'' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1'' Apr 23 16:59:13 srv4hai activate_scenario[6612]: SHELLY scenario: 'vorraumOn(vorraumon)' took 77 msec, phoneName:'1' Apr 23 16:59:13 srv4hai ping_SP[6432]: SHELLY check_presence.sh coming 1 ping_SP__smartphone Apr 23 16:59:15 srv4hai ping_SP[6432]: SHELLY - running process-id(6432): '5727 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 bt_scan#0126432 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#0126489 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#0126513 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.62 GreteS20' - 'ping_SP_1' - exiting ============== Apr 23 16:59:23 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Apr 23 16:59:23 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:23 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Apr 23 16:59:23 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 23 16:59:23 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62 Apr 23 16:59:23 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20 Apr 23 16:59:23 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#47837/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 23 16:59:23 srv4hai ping_SP[6720]: SHELLY ping_SP.sh started from smartphone, user:'root' Apr 23 16:59:23 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#60955/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 23 16:59:23 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'coming' Apr 23 16:59:23 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly/meter/ping_SP_1.LIVE' for what: 'coming' Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Apr 23 16:59:23 srv4hai check_presence[6723]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Apr 23 16:59:23 srv4hai mqtt_process[6838]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 23 16:59:23 srv4hai activate_scenario[6856]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 23 16:59:23 srv4hai activate_scenario[6856]: SHELLY dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - phoneName:'1'
finished