activate_scenario.sh
Sat Dec 28 22:23:32 CET 2024
scenario: offDownstairs
source: 192.168.12.123
vorher: 22:23:32.666
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started_at": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 22:23:32.693
Dauer: 28 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.685
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: 22:23:32.729
Dauer: 44 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.705
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": "input" |
nachher: 22:23:32.746
Dauer: 41 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.722
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: 22:23:32.784
Dauer: 61 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.737
http://192.168.12.106/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 22:23:32.779
Dauer: 42 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.752
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 22:23:32.849
Dauer: 98 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.768
http://192.168.12.116/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: 22:23:32.793
Dauer: 25 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.782
http://192.168.12.116/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: 22:23:32.872
Dauer: 91 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.798
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: 22:23:32.845
Dauer: 44 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.811
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: 22:23:32.854
Dauer: 43 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.824
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: 22:23:32.850
Dauer: 27 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.839
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: 22:23:32.911
Dauer: 73 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.853
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 22:23:32.956
Dauer: 102 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.868
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: 22:23:32.953
Dauer: 86 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 22:23:32.881
http://192.168.12.152/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started_at": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 22:23:32.900
Dauer: 19 msec
phName: 'shelly-23:'WZ Licht Sofa''
urls : 15
vorher : 22:23:32.637
nachher: 22:23:32.965
Dauer : 328 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/28//scene_offDownstairs_20241228_222332.txt'
Dec 28 22:20:01 srv4hai CRON[21267]: (root) CMD (/etc/linetest/linetest.sh) Dec 28 22:20:01 srv4hai CRON[21268]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Dec 28 22:20:01 srv4hai common[21270]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Dec 28 22:20:01 srv4hai meter.sh: SHELLY meter.sh started Dec 28 22:20:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Dec 28 22:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Dec 28 22:20:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Dec 28 22:20:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 28 22:16:47 Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 28 22:16:47 Dec 28 22:20:10 srv4hai postfix/anvil[21107]: statistics: max cache size 1 at Dec 28 22:16:47 Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Dec 28 22:20:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735420812 - 'ping_SP_0' Dec 28 22:20:12 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Dec 28 22:20:12 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Dec 28 22:20:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 28 22:20:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Dec 28 22:20:15 srv4hai common[22285]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Dec 28 22:20:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM' Dec 28 22:20:15 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs Dec 28 22:20:15 srv4hai meter.sh: SHELLY meter.sh ended Dec 28 22:20:19 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735420819 - 'ping_SP_1' Dec 28 22:20:19 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 28 22:20:43 srv4hai postfix/smtpd[22326]: connect from unknown[80.94.95.239] Dec 28 22:20:46 srv4hai postfix/smtpd[22326]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 28 22:20:47 srv4hai postfix/smtpd[22326]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 28 22:20:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Dec 28 22:20:50 srv4hai fetchmail[1651]: 60318 messages (60317 seen) for tmiglinci at mail.akis.at (660351144 octets). Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: connect from localhost[127.0.0.1] Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: 543976004E: client=localhost[127.0.0.1] Dec 28 22:20:50 srv4hai postfix/cleanup[22330]: 543976004E: message-id=<010201940f22463e-981fd4df-ef45-4b38-b048-64b97ccca8d3-000000@eu-west-1.amazonses.com> Dec 28 22:20:50 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:60318 of 60318 (19428 octets) not flushed Dec 28 22:20:50 srv4hai postfix/qmgr[8566]: 543976004E: from=, size=19649, nrcpt=1 (queue active) Dec 28 22:20:50 srv4hai postfix/smtpd[22326]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Dec 28 22:20:50 srv4hai postfix/local[22331]: 543976004E: to= , relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 28 22:20:50 srv4hai postfix/qmgr[8566]: 543976004E: removed Dec 28 22:20:50 srv4hai fetchmail[1651]: 11302 messages (11302 seen) for srozum at mail.akis.at (1353284079 octets). Dec 28 22:20:51 srv4hai fetchmail[1651]: 28078 messages (28078 seen) for mrozum at mail.akis.at (525022469 octets). Dec 28 22:20:51 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Dec 28 22:21:01 srv4hai CRON[22338]: (root) CMD (/etc/linetest/linetest.sh) Dec 28 22:21:09 srv4hai common[22345]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh Dec 28 22:21:09 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM' Dec 28 22:21:09 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs Dec 28 22:21:09 srv4hai common[22368]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh Dec 28 22:21:10 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'15'=1735420870-1735420855 Dec 28 22:21:10 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'15'=1735420870-1735420855 Dec 28 22:21:25 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735420885 - 'ping_SP_0' Dec 28 22:21:25 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 28 22:21:33 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735420893 - 'ping_SP_1' Dec 28 22:21:33 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 28 22:22:01 srv4hai CRON[22479]: (root) CMD (/etc/linetest/linetest.sh) Dec 28 22:22:07 srv4hai systemd[1]: session-1582672.scope: Succeeded. Dec 28 22:22:38 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1735420958 - 'ping_SP_0' Dec 28 22:22:38 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 28 22:22:39 srv4hai common[22513]: SHELLY common.sh inkludiert von ./bt_scan.sh Dec 28 22:22:46 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1735420966 - 'ping_SP_1' Dec 28 22:22:46 srv4hai ping_SP[976]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Dec 28 22:22:49 srv4hai bt_scan[22513]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Dec 28 22:22:49 srv4hai bt_scan[22513]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62' Dec 28 22:22:51 srv4hai common[22562]: SHELLY common.sh inkludiert von ./bt_scan.sh Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY last scenario: 'buero_UM' @ '203325' from 'scene_buero_UM_20241228_203325.txt' - delta=-33 Dec 28 22:22:58 srv4hai activate_scenario[22579]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20241228222258 20241228203325 -f '%S' Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY new scenario: 'bedlight_tom' different - GO ON Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht' Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'SZ Licht' Dec 28 22:22:58 srv4hai postfix/pickup[19257]: 8E92163463: uid=33 from= Dec 28 22:22:58 srv4hai postfix/cleanup[22644]: 8E92163463: message-id=<20241228212258.8E92163463@mail.viehai.at> Dec 28 22:22:58 srv4hai postfix/qmgr[8566]: 8E92163463: from= , size=9834, nrcpt=1 (queue active) Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'SZ Nachtkästchen Thomas' --> '0?turn=toggle' Dec 28 22:22:58 srv4hai proc_url[22662]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/28/_0.log' - shellyUsage:'SZ Nachtkästchen Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'SZ Licht'' Dec 28 22:22:58 srv4hai postfix/local[22657]: 8E92163463: to= , orig_to= , relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Dec 28 22:22:58 srv4hai postfix/cleanup[22644]: 973CD63464: message-id=<20241228212258.973CD63464@mail.viehai.at> Dec 28 22:22:58 srv4hai postfix/bounce[22658]: 8E92163463: sender non-delivery notification: 973CD63464 Dec 28 22:22:58 srv4hai postfix/qmgr[8566]: 973CD63464: from=<>, size=11713, nrcpt=1 (queue active) Dec 28 22:22:58 srv4hai postfix/qmgr[8566]: 8E92163463: removed Dec 28 22:22:58 srv4hai postfix/local[22657]: 973CD63464: to= , relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 28 22:22:58 srv4hai postfix/qmgr[8566]: 973CD63464: removed Dec 28 22:22:58 srv4hai activate_scenario[22579]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 76 msec, shelly-12:'SZ Licht' Dec 28 22:23:01 srv4hai CRON[22690]: (root) CMD (/etc/linetest/linetest.sh) Dec 28 22:23:01 srv4hai bt_scan[22562]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Dec 28 22:23:01 srv4hai bt_scan[22562]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Dec 28 22:23:01 srv4hai common[22712]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Dec 28 22:23:02 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1735420982-1735420971 Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Dec 28 22:23:02 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1735420982-1735420971 Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true' Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_bedlight_tom) - sceneOFF(offAll) Dec 28 22:23:02 srv4hai check_presence[22712]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Dec 28 22:23:32 srv4hai activate_scenario[22839]: SHELLY last scenario: 'bedlight_tom' @ '222258' from 'scene_bedlight_tom_20241228_222258.txt' - delta=26 Dec 28 22:23:32 srv4hai activate_scenario[22839]: dateutils.ddiff -i '%Y%m%d%H%M%s' 20241228222332 20241228222258 -f '%S' Dec 28 22:23:32 srv4hai activate_scenario[22839]: SHELLY new scenario: 'offDownstairs' different - GO ON Dec 28 22:23:32 srv4hai activate_scenario[22839]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Dec 28 22:23:32 srv4hai activate_scenario[22839]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'
finished