activate_scenario.sh
Thu May 30 18:57:23 CEST 2024
scenario: pcOFF
source: 192.168.12.10
vorher: 18:57:23.833
http://192.168.12.120/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:57:23.869
Dauer: 35 msec
phName: 'shelly-0:'''
urls : 1
vorher : 18:57:23.773
nachher: 18:57:23.877
Dauer : 106 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/30//scene_pcOFF_20240530_185723.txt'
May 30 18:54:01 srv4hai CRON[29104]: (root) CMD (/etc/linetest/linetest.sh) May 30 18:54:40 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0 May 30 18:54:40 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 May 30 18:54:40 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh May 30 18:54:40 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102 May 30 18:54:40 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02 May 30 18:54:40 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0 May 30 18:54:40 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 May 30 18:54:40 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04300 May 30 18:54:40 srv4hai dhcpd[30731]: Unable to add forward map from shelly-02.viehai.at to 192.168.12.102: operation canceled May 30 18:54:40 srv4hai common[29126]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh May 30 18:54:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf' May 30 18:54:41 srv4hai mosquitto[18551]: New connection from 192.168.12.102 on port 1883. May 30 18:54:41 srv4hai mosquitto[18551]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt'). May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-02' - shIP/2:'192.168.12.102' May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102' May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping May 30 18:54:41 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping May 30 18:54:42 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING May 30 18:54:42 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING May 30 18:55:02 srv4hai CRON[29261]: (root) CMD (/etc/linetest/linetest.sh) May 30 18:55:17 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 May 30 18:55:17 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 May 30 18:55:17 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh May 30 18:55:17 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 May 30 18:55:17 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas May 30 18:55:17 srv4hai common[29278]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh May 30 18:55:17 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' May 30 18:55:17 srv4hai common[29292]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh May 30 18:55:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 May 30 18:55:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 May 30 18:55:17 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04300 May 30 18:55:17 srv4hai dhcpd[30731]: Unable to add forward map from fpThomas.viehai.at to 192.168.12.61: operation canceled May 30 18:55:17 srv4hai ping_SP[29292]: SHELLY ping_SP.sh started from smartphone, user:'root' May 30 18:55:24 srv4hai common[29318]: SHELLY common.sh inkludiert von ./bt_scan.sh May 30 18:55:27 srv4hai common[29343]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh May 30 18:55:28 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1717088128-1717088125 May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' May 30 18:55:28 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1717088128-1717088125 May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No May 30 18:55:28 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1717088128-1717088125 May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' May 30 18:55:28 srv4hai check_presence[29343]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn) May 30 18:55:28 srv4hai check_presence[29343]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn May 30 18:55:28 srv4hai activate_scenario[29493]: SHELLY scenario: 'vorraumOn(vorraumon)' started May 30 18:55:28 srv4hai activate_scenario[29493]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' May 30 18:55:28 srv4hai activate_scenario[29493]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' May 30 18:55:28 srv4hai postfix/pickup[9316]: 748D0631A0: uid=33 from=May 30 18:55:28 srv4hai postfix/cleanup[29543]: 748D0631A0: message-id=<20240530165528.748D0631A0@mail.viehai.at> May 30 18:55:28 srv4hai postfix/qmgr[31004]: 748D0631A0: from= , size=6730, nrcpt=1 (queue active) May 30 18:55:28 srv4hai activate_scenario[29493]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' May 30 18:55:28 srv4hai proc_url[29560]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/30/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' May 30 18:55:28 srv4hai activate_scenario[29493]: SHELLY scenario: 'vorraumOn(vorraumon)' took 76 msec, phoneName:'0' May 30 18:55:28 srv4hai ping_SP[29292]: SHELLY check_presence.sh coming 0 ping_SP__smartphone May 30 18:55:29 srv4hai postfix/relay/smtp[29556]: 748D0631A0: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=1.3, delays=0.04/0.01/0.95/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 81928200F2) May 30 18:55:29 srv4hai postfix/qmgr[31004]: 748D0631A0: removed May 30 18:55:30 srv4hai ping_SP[29292]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1717088130 May 30 18:55:34 srv4hai bt_scan[29318]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' May 30 18:55:34 srv4hai bt_scan[29318]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' May 30 18:55:43 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1717088143 - 'ping_SP_0' May 30 18:55:43 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' May 30 18:55:48 srv4hai nmbd[2172]: [2024/05/30 18:55:48.454917, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) May 30 18:55:48 srv4hai nmbd[2172]: find_domain_master_name_query_fail: May 30 18:55:48 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. May 30 18:55:48 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. May 30 18:55:59 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29651, secured, session= May 30 18:55:59 srv4hai dovecot: imap(miglincit)<29651> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 May 30 18:56:01 srv4hai CRON[29653]: (root) CMD (/etc/linetest/linetest.sh) May 30 18:56:42 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). May 30 18:56:43 srv4hai fetchmail[1651]: 45397 messages (45396 seen) for tmiglinci at mail.akis.at (-544889940 octets). May 30 18:56:43 srv4hai postfix/smtpd[29682]: warning: database /etc/aliases.db is older than source file /etc/aliases May 30 18:56:43 srv4hai postfix/smtpd[29682]: connect from localhost[127.0.0.1] May 30 18:56:43 srv4hai postfix/smtpd[29682]: 90DC56319A: client=localhost[127.0.0.1] May 30 18:56:43 srv4hai postfix/cleanup[29543]: 90DC56319A: message-id=<20240530165528.748D0631A0@mail.viehai.at> May 30 18:56:43 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:45397 of 45397 (7713 octets) not flushed May 30 18:56:43 srv4hai postfix/qmgr[31004]: 90DC56319A: from= , size=8004, nrcpt=1 (queue active) May 30 18:56:43 srv4hai postfix/local[29684]: warning: database /etc/aliases.db is older than source file /etc/aliases May 30 18:56:43 srv4hai postfix/local[29684]: 90DC56319A: to= , relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) May 30 18:56:43 srv4hai postfix/qmgr[31004]: 90DC56319A: removed May 30 18:56:43 srv4hai postfix/smtpd[29682]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 May 30 18:56:44 srv4hai fetchmail[1651]: 10273 messages (10273 seen) for srozum at mail.akis.at (1237436299 octets). May 30 18:56:44 srv4hai fetchmail[1651]: 23788 messages (23788 seen) for mrozum at mail.akis.at (-185171705 octets). May 30 18:56:44 srv4hai fetchmail[1651]: 79 messages (79 seen) for admin@bastelstube.wien at pop3.world4you.com (28706511 octets). May 30 18:56:56 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717088216 - 'ping_SP_0' May 30 18:56:56 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' May 30 18:57:01 srv4hai CRON[29715]: (root) CMD (/etc/linetest/linetest.sh) May 30 18:57:22 srv4hai dovecot: imap(miglincit)<16046> : Logged out in=3435 out=242752 deleted=0 expunged=0 trashed=0 hdr_count=4 hdr_bytes=1392 body_count=4 body_bytes=152653 May 30 18:57:23 srv4hai activate_scenario[29734]: SHELLY scenario: 'pcOFF(pcoff)' started May 30 18:57:23 srv4hai activate_scenario[29734]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
finished