activate_scenario.sh
Wed Jan 31 20:36:31 CET 2024
scenario: welcomeLight
phoneName: 1
vorher: 20:36:31.918
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: 20:36:32.140
Dauer: 221 msec
phName: 'phoneName:'1''
vorher: 20:36:31.936
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: 20:36:32.149
Dauer: 213 msec
phName: 'phoneName:'1''
vorher: 20:36:31.954
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: 20:36:32.155
Dauer: 200 msec
phName: 'phoneName:'1''
vorher: 20:36:31.971
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: 20:36:32.166
Dauer: 195 msec
phName: 'phoneName:'1''
vorher: 20:36:31.987
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: 20:36:32.292
Dauer: 306 msec
phName: 'phoneName:'1''
urls : 5
vorher : 20:36:31.866
nachher: 20:36:32.299
Dauer : 435 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/01/31//scene_welcomeLight_20240131_203631.txt'
Jan 31 20:33:01 srv4hai CRON[15081]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 20:33:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729591 - 'ping_SP_0' Jan 31 20:33:11 srv4hai check_presence[15098]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 31 20:33:11 srv4hai check_presence[15098]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:33:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:33:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729621 - 'ping_SP_0' Jan 31 20:33:41 srv4hai check_presence[15127]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 31 20:33:41 srv4hai check_presence[15127]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:33:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:34:01 srv4hai CRON[15149]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 20:34:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729651 - 'ping_SP_0' Jan 31 20:34:11 srv4hai check_presence[15165]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 31 20:34:11 srv4hai check_presence[15165]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:34:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:34:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729681 - 'ping_SP_0' Jan 31 20:34:41 srv4hai check_presence[15197]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jan 31 20:34:41 srv4hai check_presence[15197]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:34:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:34:42 srv4hai bt_scan[15215]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' found: 'Yes' Jan 31 20:34:42 srv4hai bt_scan[15215]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62' Jan 31 20:34:42 srv4hai ping_SP[15238]: SHELLY ping_SP.sh started from bt_scan - trcF:'/srv/www/viehai/shelly/meter/trc_15238.txt' Jan 31 20:34:42 srv4hai check_presence[15243]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:34:42 srv4hai check_presence[15243]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: welcomeLight Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY scenario: 'welcomeLight(welcomelight)' started Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1' Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'1' Jan 31 20:34:42 srv4hai postfix/pickup[10112]: C1B2360244: uid=33 from=Jan 31 20:34:42 srv4hai postfix/cleanup[15304]: C1B2360244: message-id=<20240131193442.C1B2360244@mail.viehai.at> Jan 31 20:34:42 srv4hai postfix/qmgr[28610]: C1B2360244: from= , size=6545, nrcpt=1 (queue active) Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jan 31 20:34:42 srv4hai proc_url[15321]: 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:'1'' Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=25' Jan 31 20:34:42 srv4hai proc_url[15332]: 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:'1'' Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=25' Jan 31 20:34:42 srv4hai proc_url[15343]: 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:'1'' Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=25' Jan 31 20:34:42 srv4hai proc_url[15356]: 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:'1'' Jan 31 20:34:42 srv4hai activate_scenario[15257]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=25' Jan 31 20:34:42 srv4hai proc_url[15375]: 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:'1'' Jan 31 20:34:43 srv4hai activate_scenario[15257]: SHELLY scenario: 'welcomeLight(welcomelight)' took 211 msec, phoneName:'1' Jan 31 20:34:43 srv4hai ping_SP[15238]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan Jan 31 20:34:43 srv4hai ping_SP[15238]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly/meter/ping_SP_1' @~1706729683 Jan 31 20:34:43 srv4hai postfix/relay/smtp[15317]: C1B2360244: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.9, delays=0.05/0.02/0.46/0.38, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 57463800AC) Jan 31 20:34:43 srv4hai postfix/qmgr[28610]: C1B2360244: removed Jan 31 20:34:46 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1706729686 - 'ping_SP_1' Jan 31 20:34:59 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1706729699 - 'ping_SP_1' Jan 31 20:35:01 srv4hai CRON[15481]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 20:35:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729711 - 'ping_SP_0' Jan 31 20:35:11 srv4hai check_presence[15506]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:35:11 srv4hai check_presence[15506]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:35:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:35:12 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1706729712 - 'ping_SP_1' Jan 31 20:35:25 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1706729725 - 'ping_SP_1' Jan 31 20:35:38 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1706729738 - 'ping_SP_1' Jan 31 20:35:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729741 - 'ping_SP_0' Jan 31 20:35:41 srv4hai check_presence[15634]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:35:41 srv4hai check_presence[15634]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:35:41 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:35:51 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1706729751 - 'ping_SP_1' Jan 31 20:35:51 srv4hai ping_SP[15238]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (15238) @~1706729751 - rm 'ping_SP_1' Jan 31 20:35:51 srv4hai check_presence[15668]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:35:51 srv4hai check_presence[15668]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:36:01 srv4hai CRON[15684]: (root) CMD (/etc/linetest/linetest.sh) Jan 31 20:36:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jan 31 20:36:11 srv4hai fetchmail[1651]: 36902 messages (36901 seen) for tmiglinci at mail.akis.at (-1229717577 octets). Jan 31 20:36:11 srv4hai postfix/smtpd[15690]: connect from localhost[127.0.0.1] Jan 31 20:36:11 srv4hai postfix/smtpd[15690]: 86B2160119: client=localhost[127.0.0.1] Jan 31 20:36:11 srv4hai postfix/cleanup[15304]: 86B2160119: message-id=<20240131193442.C1B2360244@mail.viehai.at> Jan 31 20:36:11 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:36902 of 36902 (7523 octets) not flushed Jan 31 20:36:11 srv4hai postfix/qmgr[28610]: 86B2160119: from= , size=7815, nrcpt=1 (queue active) Jan 31 20:36:11 srv4hai postfix/smtpd[15690]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Jan 31 20:36:11 srv4hai postfix/local[15692]: 86B2160119: to= , relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jan 31 20:36:11 srv4hai postfix/qmgr[28610]: 86B2160119: removed Jan 31 20:36:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1706729771 - 'ping_SP_0' Jan 31 20:36:11 srv4hai check_presence[15705]: SHELLY (ping_SP__ping_OK)-(0) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:36:11 srv4hai check_presence[15705]: SHELLY (ping_SP__ping_OK)-(0)-presence: NOT activate_scenario.shtml: offAll Jan 31 20:36:11 srv4hai ping_SP[4113]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 31 20:36:12 srv4hai fetchmail[1651]: 9838 messages (9838 seen) for srozum at mail.akis.at (1188632446 octets). Jan 31 20:36:12 srv4hai fetchmail[1651]: 21416 messages (21416 seen) for mrozum at mail.akis.at (-669007289 octets). Jan 31 20:36:12 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets). Jan 31 20:36:31 srv4hai dhcpd[5037]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Jan 31 20:36:31 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Jan 31 20:36:31 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 31 20:36:31 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.62 Jan 31 20:36:31 srv4hai dhcpd[5037]: execute_statement argv[2] = GreteS20 Jan 31 20:36:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' Jan 31 20:36:31 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Jan 31 20:36:31 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#36883/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#49023/key rndc-key: signer "rndc-key" approved Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#49023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#49023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0" Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#49023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc320090c00 192.168.12.252#49023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62 Jan 31 20:36:31 srv4hai ping_SP[15725]: SHELLY ping_SP.sh started from smartphone - trcF:'/srv/www/viehai/shelly/meter/trc_15725.txt' Jan 31 20:36:31 srv4hai dhcpd[5037]: Added new forward map from GreteS20.viehai.at to 192.168.12.62 Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc3080643f0 192.168.12.252#38827/key rndc-key: signer "rndc-key" approved Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc3080643f0 192.168.12.252#38827/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR Jan 31 20:36:31 srv4hai named[14530]: client @0x7fc3080643f0 192.168.12.252#38827/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at. Jan 31 20:36:31 srv4hai dhcpd[5037]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at Jan 31 20:36:31 srv4hai check_presence[15730]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(BT/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jan 31 20:36:31 srv4hai check_presence[15730]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: welcomeLight Jan 31 20:36:31 srv4hai activate_scenario[15747]: SHELLY scenario: 'welcomeLight(welcomelight)' started Jan 31 20:36:31 srv4hai activate_scenario[15747]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished