activate_scenario.sh
Mon Feb 26 07:48:53 CET 2024
scenario: LOG_kommen
source: 192.168.12.103
urls : 0
vorher : 07:48:53.913
nachher: 07:48:53.919
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/26//scene_LOG_kommen_20240226_074853.txt'
Feb 26 07:45:01 srv4hai CRON[28390]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 07:45:02 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0 Feb 26 07:45:02 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 26 07:45:02 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 26 07:45:02 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137 Feb 26 07:45:02 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37 Feb 26 07:45:02 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0 Feb 26 07:45:02 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#35645/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#58863/key rndc-key: signer "rndc-key" approved Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#58863/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#58863/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101" Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#58863/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#58863/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137 Feb 26 07:45:02 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137 Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#36743/key rndc-key: signer "rndc-key" approved Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#36743/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR Feb 26 07:45:02 srv4hai named[14530]: client @0x7fc32406bb80 192.168.12.252#36743/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at. Feb 26 07:45:02 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at Feb 26 07:45:02 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 26 07:45:03 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:03 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 26 07:45:03 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 26 07:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.5° - 41% Feb 26 07:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.5°/21.38° - 41%/41% - SAVED Feb 26 07:45:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 26 07:45:04 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-37",#012 "created": "2024-02-26T06:45:04.455Z",#012 "content": {#012 "temp": 21.5,#012 "hum": 41,#012 "batt": 91#012 },#012 "transaction": "23c8fc76-4dda-40b9-97af-f3fe95e490b3"#012 }#012}'° Feb 26 07:45:08 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:08 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:08 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 5s ago - EXIT Feb 26 07:45:09 srv4hai postfix/smtpd[28667]: connect from unknown[193.222.96.107] Feb 26 07:45:09 srv4hai postfix/smtpd[28667]: warning: unknown[193.222.96.107]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 26 07:45:09 srv4hai postfix/smtpd[28667]: disconnect from unknown[193.222.96.107] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 26 07:45:13 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:13 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:13 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 10s ago - EXIT Feb 26 07:45:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28700, secured, session=<+lKKQEMSEpgAAAAAAAAAAAAAAAAAAAAB> Feb 26 07:45:15 srv4hai dovecot: imap(rozumm)<28700><+lKKQEMSEpgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 07:45:19 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:19 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:19 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 16s ago - EXIT Feb 26 07:45:24 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:24 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:24 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 21s ago - EXIT Feb 26 07:45:29 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.50&id=shellyht-00B358 Feb 26 07:45:29 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' Feb 26 07:45:29 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 26s ago - EXIT Feb 26 07:45:31 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708929931 - 'ping_SP_0' Feb 26 07:45:31 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 26 07:45:56 srv4hai postfix/smtpd[28667]: connect from unknown[193.222.96.116] Feb 26 07:45:56 srv4hai postfix/smtpd[28667]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2 Feb 26 07:45:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 26 07:46:00 srv4hai fetchmail[1651]: 38786 messages (38785 seen) for tmiglinci at mail.akis.at (-1092129329 octets). Feb 26 07:46:00 srv4hai postfix/smtpd[28667]: connect from localhost[127.0.0.1] Feb 26 07:46:00 srv4hai postfix/smtpd[28667]: 2424F6011A: client=localhost[127.0.0.1] Feb 26 07:46:00 srv4hai postfix/cleanup[28816]: 2424F6011A: message-id=<0102018de428dbdc-69c6932d-b73f-434e-be44-7dc2c48b37a3-000000@eu-west-1.amazonses.com> Feb 26 07:46:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:38786 of 38786 (130770 octets) not flushed Feb 26 07:46:00 srv4hai postfix/qmgr[28610]: 2424F6011A: from= , size=130991, nrcpt=1 (queue active) Feb 26 07:46:00 srv4hai postfix/smtpd[28667]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Feb 26 07:46:00 srv4hai postfix/local[28817]: 2424F6011A: to= , relay=local, delay=0.2, delays=0.18/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 26 07:46:00 srv4hai postfix/qmgr[28610]: 2424F6011A: removed Feb 26 07:46:00 srv4hai fetchmail[1651]: 9938 messages (9938 seen) for srozum at mail.akis.at (1200600520 octets). Feb 26 07:46:01 srv4hai CRON[28822]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 07:46:01 srv4hai fetchmail[1651]: 21871 messages (21871 seen) for mrozum at mail.akis.at (-549613101 octets). Feb 26 07:46:01 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Feb 26 07:46:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=28827, secured, session= Feb 26 07:46:02 srv4hai dovecot: imap(miglincit)<28827> : Logged out in=749 out=49878 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=26219 body_count=0 body_bytes=0 Feb 26 07:46:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=28843, secured, session= Feb 26 07:46:15 srv4hai dovecot: imap(rozumm)<28843>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 07:46:34 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708929994 - 'ping_SP_0' Feb 26 07:46:34 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 26 07:47:01 srv4hai CRON[28906]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 07:47:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=28923, secured, session= Feb 26 07:47:15 srv4hai dovecot: imap(rozumm)<28923> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 07:47:37 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708930057 - 'ping_SP_0' Feb 26 07:47:37 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 26 07:48:01 srv4hai CRON[28987]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 07:48:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29007, secured, session= Feb 26 07:48:15 srv4hai dovecot: imap(rozumm)<29007> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 07:48:26 srv4hai common[29018]: SHELLY common.sh inkludiert Feb 26 07:48:26 srv4hai bt_scan[29018]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes' Feb 26 07:48:26 srv4hai bt_scan[29018]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Feb 26 07:48:40 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1708930120 - 'ping_SP_0' Feb 26 07:48:40 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 26 07:48:53 srv4hai activate_scenario[29098]: SHELLY scenario: 'LOG_kommen(log_kommen)' started Feb 26 07:48:53 srv4hai activate_scenario[29098]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished