activate_scenario.sh
Thu Dec 19 12:50:54 CET 2024
scenario: vorraumOn
phoneName: 0
vorher: 12:50:54.517
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: 12:50:54.559
Dauer: 41 msec
phName: 'phoneName:'0''
urls : 1
vorher : 12:50:54.495
nachher: 12:50:54.565
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/19//scene_vorraumOn_20241219_125054.txt'
Dec 19 12:47:01 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 19 12:47:01 srv4hai mosquitto[29419]: Socket error on client, disconnecting. Dec 19 12:47:01 srv4hai CRON[6957]: (root) CMD (/etc/linetest/linetest.sh) Dec 19 12:47:19 srv4hai dhcpd[4995]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0 Dec 19 12:47:19 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Dec 19 12:47:19 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Dec 19 12:47:19 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.102 Dec 19 12:47:19 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-02 Dec 19 12:47:19 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0 Dec 19 12:47:19 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Dec 19 12:47:19 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#51575/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 19 12:47:19 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#51103/key rndc-key: signer "rndc-key" approved Dec 19 12:47:19 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#51103/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT Dec 19 12:47:19 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#51103/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe" Dec 19 12:47:19 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#51103/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A Dec 19 12:47:19 srv4hai named[30406]: client @0x7f9338088040 192.168.12.252#51103/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102 Dec 19 12:47:19 srv4hai dhcpd[4995]: Added new forward map from shelly-02.viehai.at to 192.168.12.102 Dec 19 12:47:19 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#53677/key rndc-key: signer "rndc-key" approved Dec 19 12:47:19 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#53677/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR Dec 19 12:47:19 srv4hai named[30406]: client @0x7f93100e3a50 192.168.12.252#53677/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at. Dec 19 12:47:19 srv4hai dhcpd[4995]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at Dec 19 12:47:19 srv4hai common[6968]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Dec 19 12:47:19 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf' Dec 19 12:47:20 srv4hai mosquitto[29419]: New connection from 192.168.12.102 on port 1883. Dec 19 12:47:20 srv4hai mosquitto[29419]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt'). Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-02' - shIP/2:'192.168.12.102' Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon Licht' already set for '192.168.12.102' Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping Dec 19 12:47:20 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping Dec 19 12:47:58 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=7092, secured, session= Dec 19 12:47:58 srv4hai dovecot: imap(miglincit)<7092> : Logged out in=1864 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Dec 19 12:48:00 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 19 12:48:00 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 19 12:48:01 srv4hai CRON[7095]: (root) CMD (/etc/linetest/linetest.sh) Dec 19 12:48:04 srv4hai postfix/smtpd[7101]: connect from unknown[154.203.197.200] Dec 19 12:48:04 srv4hai postfix/smtpd[7101]: warning: unknown[154.203.197.200]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 19 12:48:04 srv4hai postfix/smtpd[7101]: disconnect from unknown[154.203.197.200] ehlo=1 auth=0/1 quit=1 commands=2/3 Dec 19 12:48:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Dec 19 12:48:51 srv4hai fetchmail[1651]: 59671 messages (59669 seen) for tmiglinci at mail.akis.at (607158851 octets). Dec 19 12:48:51 srv4hai postfix/smtpd[7101]: connect from localhost[127.0.0.1] Dec 19 12:48:51 srv4hai postfix/smtpd[7101]: 37AA86004E: client=localhost[127.0.0.1] Dec 19 12:48:51 srv4hai postfix/cleanup[7109]: 37AA86004E: message-id=<20241219114429.5E46163463@mail.viehai.at> Dec 19 12:48:51 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:59670 of 59671 (30145 octets) not flushed Dec 19 12:48:51 srv4hai postfix/qmgr[8566]: 37AA86004E: from= , size=30526, nrcpt=1 (queue active) Dec 19 12:48:51 srv4hai postfix/local[7110]: 37AA86004E: to= , relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 19 12:48:51 srv4hai postfix/qmgr[8566]: 37AA86004E: removed Dec 19 12:48:51 srv4hai postfix/smtpd[7101]: 4E44D6004E: client=localhost[127.0.0.1] Dec 19 12:48:51 srv4hai postfix/cleanup[7109]: 4E44D6004E: message-id=<20241219114429.882B263464@mail.viehai.at> Dec 19 12:48:51 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:59671 of 59671 (31101 octets) not flushed Dec 19 12:48:51 srv4hai postfix/qmgr[8566]: 4E44D6004E: from= , size=31484, nrcpt=1 (queue active) Dec 19 12:48:51 srv4hai postfix/local[7110]: 4E44D6004E: to= , relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 19 12:48:51 srv4hai postfix/qmgr[8566]: 4E44D6004E: removed Dec 19 12:48:51 srv4hai postfix/smtpd[7101]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8 Dec 19 12:48:51 srv4hai fetchmail[1651]: 11251 messages (11251 seen) for srozum at mail.akis.at (1347999477 octets). Dec 19 12:48:52 srv4hai fetchmail[1651]: 27939 messages (27939 seen) for mrozum at mail.akis.at (512032883 octets). Dec 19 12:48:52 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets). Dec 19 12:48:55 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 19 12:48:55 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 19 12:49:01 srv4hai CRON[7129]: (root) CMD (/etc/linetest/linetest.sh) Dec 19 12:49:45 srv4hai postfix/smtpd[7101]: connect from unknown[80.94.95.239] Dec 19 12:49:47 srv4hai postfix/smtpd[7101]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 19 12:49:49 srv4hai postfix/smtpd[7101]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 19 12:49:52 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 19 12:49:52 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 19 12:50:01 srv4hai CRON[7156]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Dec 19 12:50:01 srv4hai CRON[7157]: (root) CMD (/etc/linetest/linetest.sh) Dec 19 12:50:01 srv4hai common[7159]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Dec 19 12:50:01 srv4hai meter.sh: SHELLY meter.sh started Dec 19 12:50:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Dec 19 12:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Dec 19 12:50:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Dec 19 12:50:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Dec 19 12:50:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Dec 19 12:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Dec 19 12:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Dec 19 12:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Dec 19 12:50:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Dec 19 12:50:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Dec 19 12:50:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 19 12:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Dec 19 12:50:16 srv4hai common[8152]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Dec 19 12:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll' Dec 19 12:50:16 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs Dec 19 12:50:16 srv4hai meter.sh: SHELLY meter.sh ended Dec 19 12:50:43 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Dec 19 12:50:43 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Dec 19 12:50:43 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Dec 19 12:50:43 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Dec 19 12:50:43 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Dec 19 12:50:43 srv4hai common[8183]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Dec 19 12:50:43 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Dec 19 12:50:43 srv4hai common[8198]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Dec 19 12:50:43 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Dec 19 12:50:43 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Dec 19 12:50:43 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#44797/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 19 12:50:43 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#52005/key rndc-key: signer "rndc-key" approved Dec 19 12:50:43 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#52005/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Dec 19 12:50:43 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#52005/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Dec 19 12:50:43 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#52005/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Dec 19 12:50:43 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#52005/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Dec 19 12:50:43 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Dec 19 12:50:43 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36405/key rndc-key: signer "rndc-key" approved Dec 19 12:50:43 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36405/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Dec 19 12:50:43 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#36405/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Dec 19 12:50:43 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Dec 19 12:50:43 srv4hai ping_SP[8198]: SHELLY ping_SP.sh started from smartphone, user:'root' Dec 19 12:50:47 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 19 12:50:47 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 19 12:50:53 srv4hai common[8228]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Dec 19 12:50:54 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'25'=1734609054-1734609029 Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Dec 19 12:50:54 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'25'=1734609054-1734609029 Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Dec 19 12:50:54 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'25'=1734609054-1734609029 Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Dec 19 12:50:54 srv4hai check_presence[8228]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Dec 19 12:50:54 srv4hai activate_scenario[8375]: SHELLY scenario: 'vorraumOn(vorraumon)' started Dec 19 12:50:54 srv4hai activate_scenario[8375]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished