activate_scenario.sh
Thu Sep 26 23:17:09 CEST 2024
scenario: offDownstairs
source: 192.168.12.123
vorher: 23:17:09.105
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: 23:17:09.195
Dauer: 90 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.123
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: 23:17:09.162
Dauer: 39 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.142
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: 23:17:09.172
Dauer: 30 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.160
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 23:17:09.203
Dauer: 43 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.176
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: 23:17:09.208
Dauer: 32 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.191
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: 23:17:09.272
Dauer: 81 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.206
http://192.168.12.116/white/0?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 0, "overpower": false |
nachher: 23:17:09.238
Dauer: 32 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.219
http://192.168.12.116/white/1?turn=off&brightness=70 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 0, "overpower": false |
nachher: 23:17:09.257
Dauer: 39 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.232
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: 23:17:09.272
Dauer: 40 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.245
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: 23:17:09.286
Dauer: 40 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.258
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: 23:17:09.315
Dauer: 57 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.272
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: 23:17:09.312
Dauer: 41 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.286
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: 23:17:09.322
Dauer: 36 msec
phName: 'shelly-23:'Licht Sekretär''
vorher: 23:17:09.300
http://192.168.12.125/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 23:17:09.347
Dauer: 47 msec
phName: 'shelly-23:'Licht Sekretär''
urls : 14
vorher : 23:17:09.077
nachher: 23:17:09.354
Dauer : 277 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/26//scene_offDownstairs_20240926_231709.txt'
Sep 26 23:14:01 srv4hai CRON[24852]: (root) CMD (/etc/linetest/linetest.sh) Sep 26 23:14:09 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1727385249 - 'ping_SP_1' Sep 26 23:14:09 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 26 23:14:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24874, secured, session=<85riOAwjZJoAAAAAAAAAAAAAAAAAAAAB> Sep 26 23:14:21 srv4hai dovecot: imap(miglincit)<24874><85riOAwjZJoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 26 23:14:51 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:65:28 via enp2s0 Sep 26 23:14:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0 Sep 26 23:14:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Sep 26 23:14:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.113 Sep 26 23:14:51 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-13 Sep 26 23:14:51 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.113 (192.168.12.252) from 98:cd:ac:1e:65:28 via enp2s0 Sep 26 23:14:51 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.113 to 98:cd:ac:1e:65:28 via enp2s0 Sep 26 23:14:51 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#48937/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-13.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53367/key rndc-key: signer "rndc-key" approved Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' TXT Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' TXT "00003d87d7ce132fb28c24bab993e73221" Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-13.viehai.at' A Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#53367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-13.viehai.at' A 192.168.12.113 Sep 26 23:14:51 srv4hai dhcpd[30731]: Added new forward map from shelly-13.viehai.at to 192.168.12.113 Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#60603/key rndc-key: signer "rndc-key" approved Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#60603/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '113.12.168.192.in-addr.arpa' PTR Sep 26 23:14:51 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#60603/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '113.12.168.192.in-addr.arpa' PTR shelly-13.viehai.at. Sep 26 23:14:51 srv4hai dhcpd[30731]: Added reverse map from 113.12.168.192.in-addr.arpa. to shelly-13.viehai.at Sep 26 23:14:51 srv4hai common[24882]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Sep 26 23:14:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-13' - shIP/2:'' perform:'conf' Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-13' - shIP/2:'192.168.12.113' Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Thomas Taster' already set for '192.168.12.113' Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(0)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(1)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(2)' - IGNORED Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(3)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(4)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(5)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(6)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(7)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(8)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(9)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-13' 'conf(10)' - allready transmitted - skipping Sep 26 23:14:52 srv4hai ag: grab_shelly.sh SHELLY shelly-13 - (shelly-BTN): 58% - 3.82V Sep 26 23:14:55 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727385295 - 'ping_SP_0' Sep 26 23:14:55 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 26 23:15:01 srv4hai CRON[25104]: (root) CMD (/etc/linetest/linetest.sh) Sep 26 23:15:03 srv4hai activate_scenario[25110]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Sep 26 23:15:03 srv4hai activate_scenario[25110]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht' Sep 26 23:15:03 srv4hai activate_scenario[25110]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht' Sep 26 23:15:03 srv4hai postfix/pickup[16037]: 4394863463: uid=33 from= Sep 26 23:15:03 srv4hai postfix/cleanup[25163]: 4394863463: message-id=<20240926211503.4394863463@mail.viehai.at> Sep 26 23:15:03 srv4hai postfix/qmgr[8566]: 4394863463: from= , size=7745, nrcpt=1 (queue active) Sep 26 23:15:03 srv4hai activate_scenario[25110]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle' Sep 26 23:15:03 srv4hai proc_url[25181]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/26/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht'' Sep 26 23:15:03 srv4hai postfix/local[25176]: 4394863463: to= , orig_to= , relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Sep 26 23:15:03 srv4hai postfix/cleanup[25163]: 4F3C163465: message-id=<20240926211503.4F3C163465@mail.viehai.at> Sep 26 23:15:03 srv4hai postfix/bounce[25177]: 4394863463: sender non-delivery notification: 4F3C163465 Sep 26 23:15:03 srv4hai postfix/qmgr[8566]: 4F3C163465: from=<>, size=9627, nrcpt=1 (queue active) Sep 26 23:15:03 srv4hai postfix/qmgr[8566]: 4394863463: removed Sep 26 23:15:03 srv4hai postfix/local[25176]: 4F3C163465: to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 26 23:15:03 srv4hai postfix/qmgr[8566]: 4F3C163465: removed Sep 26 23:15:03 srv4hai activate_scenario[25110]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 82 msec, shelly-12:'Schlafzimmer Licht' Sep 26 23:15:12 srv4hai common[25212]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 26 23:15:22 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1727385322 - 'ping_SP_1' Sep 26 23:15:22 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 26 23:15:22 srv4hai bt_scan[25212]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Sep 26 23:15:22 srv4hai bt_scan[25212]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Sep 26 23:15:22 srv4hai common[25260]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 26 23:15:23 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1727385323-1727385312 Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Sep 26 23:15:23 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1727385323-1727385312 Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Sep 26 23:15:23 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1727385323-1727385312 Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_bedlight_tom) - sceneOFF(offAll) Sep 26 23:15:23 srv4hai check_presence[25260]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Sep 26 23:15:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 26 23:15:27 srv4hai fetchmail[1651]: 53182 messages (53182 seen) for tmiglinci at mail.akis.at (72195419 octets). Sep 26 23:15:27 srv4hai fetchmail[1651]: 10773 messages (10773 seen) for srozum at mail.akis.at (1306068247 octets). Sep 26 23:15:28 srv4hai fetchmail[1651]: 26170 messages (26170 seen) for mrozum at mail.akis.at (248656807 octets). Sep 26 23:15:28 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets). Sep 26 23:16:01 srv4hai CRON[25416]: (root) CMD (/etc/linetest/linetest.sh) Sep 26 23:16:08 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727385368 - 'ping_SP_0' Sep 26 23:16:08 srv4hai ping_SP[22161]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 26 23:16:11 srv4hai postfix/anvil[23568]: statistics: max connection rate 1/60s for (smtp:188.190.10.124) at Sep 26 23:07:32 Sep 26 23:16:11 srv4hai postfix/anvil[23568]: statistics: max connection count 1 for (smtp:188.190.10.124) at Sep 26 23:07:32 Sep 26 23:16:11 srv4hai postfix/anvil[23568]: statistics: max cache size 1 at Sep 26 23:07:32 Sep 26 23:16:35 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1727385395 - 'ping_SP_1' Sep 26 23:16:35 srv4hai ping_SP[19274]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 26 23:17:01 srv4hai CRON[25459]: (root) CMD (/etc/linetest/linetest.sh) Sep 26 23:17:01 srv4hai CRON[25460]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 26 23:17:09 srv4hai activate_scenario[25469]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Sep 26 23:17:09 srv4hai activate_scenario[25469]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
finished