activate_scenario.sh
Fri Apr 12 19:51:20 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to ''

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

urls : 0
vorher : 19:51:20.712
nachher: 19:51:20.731
Dauer : 19 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_LOG_kommen_20240412_195120.txt'


syslog

Apr 12 19:48:01 srv4hai CRON[29775]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 19:48:24 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712944104 - 'ping_SP_1'
Apr 12 19:48:24 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 19:49:01 srv4hai CRON[29815]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 19:49:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 12 19:49:23 srv4hai fetchmail[1651]: 41852 messages (41852 seen) for tmiglinci at mail.akis.at (-815644022 octets).
Apr 12 19:49:23 srv4hai fetchmail[1651]: 10131 messages (10130 seen) for srozum at mail.akis.at (1224778939 octets).
Apr 12 19:49:23 srv4hai postfix/smtpd[29823]: connect from localhost[127.0.0.1]
Apr 12 19:49:23 srv4hai postfix/smtpd[29823]: C8A8D6011A: client=localhost[127.0.0.1]
Apr 12 19:49:23 srv4hai postfix/cleanup[29826]: C8A8D6011A: message-id=
Apr 12 19:49:23 srv4hai fetchmail[1651]: reading message srozum@mail.akis.at:10131 of 10131 (77040 octets) not flushed
Apr 12 19:49:23 srv4hai postfix/qmgr[15291]: C8A8D6011A: from=, size=77281, nrcpt=1 (queue active)
Apr 12 19:49:23 srv4hai postfix/smtpd[29823]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 12 19:49:23 srv4hai postfix/local[29827]: C8A8D6011A: to=, relay=local, delay=0.13, delays=0.1/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 12 19:49:23 srv4hai postfix/qmgr[15291]: C8A8D6011A: removed
Apr 12 19:49:24 srv4hai fetchmail[1651]: 22834 messages (22834 seen) for mrozum at mail.akis.at (-351602334 octets).
Apr 12 19:49:24 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 12 19:49:36 srv4hai postfix/smtpd[29823]: connect from unknown[87.121.105.109]
Apr 12 19:49:36 srv4hai postfix/smtpd[29823]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 12 19:49:36 srv4hai postfix/smtpd[29823]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 12 19:49:38 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712944178 - 'ping_SP_1'
Apr 12 19:49:38 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 19:50:01 srv4hai CRON[29864]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 19:50:01 srv4hai CRON[29865]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 12 19:50:01 srv4hai common[29867]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 12 19:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 12 19:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 12 19:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 12 19:50:05 srv4hai meter.sh: SHELLY 'shelly-02/Balkon-Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 12 19:50:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 12 19:50:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 12 19:50:09 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 12 19:50:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 12 19:50:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 12 19:50:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 12 19:50:15 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 12 19:50:17 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 12 19:50:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 12 19:50:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 12 19:50:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 12 19:50:18 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 12 19:50:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 12 19:50:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 12 19:50:20 srv4hai common[29867]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 12 19:50:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1712944221-1712944218
Apr 12 19:50:21 srv4hai check_presence[29867]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 12 19:50:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1712944221-1712944218
Apr 12 19:50:21 srv4hai check_presence[29867]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 12 19:50:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1712944221-1712944218
Apr 12 19:50:21 srv4hai check_presence[29867]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 12 19:50:21 srv4hai check_presence[29867]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 12 19:50:21 srv4hai check_presence[29867]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 12 19:50:21 srv4hai common[29867]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 12 19:50:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 12 19:50:21 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Apr 12 19:50:21 srv4hai meter.sh: SHELLY meter.sh ended
Apr 12 19:50:21 srv4hai postfix/pickup[26049]: 8E5236022F: uid=33 from=
Apr 12 19:50:21 srv4hai postfix/cleanup[29826]: 8E5236022F: message-id=<20240412175021.8E5236022F@mail.viehai.at>
Apr 12 19:50:21 srv4hai postfix/qmgr[15291]: 8E5236022F: from=, size=642, nrcpt=1 (queue active)
Apr 12 19:50:21 srv4hai postfix/local[29827]: 8E5236022F: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 12 19:50:21 srv4hai postfix/qmgr[15291]: 8E5236022F: removed
Apr 12 19:50:51 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712944251 - 'ping_SP_1'
Apr 12 19:50:51 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 19:50:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30940, secured, session=<1bq46ekVmqMAAAAAAAAAAAAAAAAAAAAB>
Apr 12 19:50:53 srv4hai dovecot: imap(miglincit)<30940><1bq46ekVmqMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 12 19:51:01 srv4hai CRON[30945]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 19:51:09 srv4hai common[30953]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 12 19:51:10 srv4hai dhcpd[28085]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Apr 12 19:51:10 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 12 19:51:10 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 12 19:51:10 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.102
Apr 12 19:51:10 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-02
Apr 12 19:51:10 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Apr 12 19:51:10 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#33611/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#52337/key rndc-key: signer "rndc-key" approved
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#52337/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#52337/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#52337/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#52337/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Apr 12 19:51:10 srv4hai dhcpd[28085]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#49017/key rndc-key: signer "rndc-key" approved
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#49017/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Apr 12 19:51:10 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#49017/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.
Apr 12 19:51:10 srv4hai dhcpd[28085]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Apr 12 19:51:10 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon-Licht' already set for '192.168.12.102'
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 ON : MISSING
Apr 12 19:51:11 srv4hai conf_shelly.sh: SHELLY:'shelly-02' out:0 OFF: MISSING
Apr 12 19:51:19 srv4hai bt_scan[30953]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 12 19:51:19 srv4hai bt_scan[30953]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 12 19:51:19 srv4hai common[31110]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 12 19:51:19 srv4hai ping_SP[31110]: SHELLY ping_SP.sh started from bt_scan
Apr 12 19:51:19 srv4hai common[31128]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 12 19:51:20 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'16'=1712944280-1712944264
Apr 12 19:51:20 srv4hai check_presence[31128]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 12 19:51:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'16'=1712944280-1712944264
Apr 12 19:51:20 srv4hai check_presence[31128]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 12 19:51:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1712944280-1712944264
Apr 12 19:51:20 srv4hai check_presence[31128]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 12 19:51:20 srv4hai check_presence[31128]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 12 19:51:20 srv4hai check_presence[31128]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 12 19:51:20 srv4hai activate_scenario[31249]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 12 19:51:20 srv4hai activate_scenario[31249]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
Apr 12 19:51:20 srv4hai activate_scenario[31249]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Apr 12 19:51:20 srv4hai postfix/pickup[26049]: 3C6DE6022F: uid=33 from=
Apr 12 19:51:20 srv4hai postfix/cleanup[29826]: 3C6DE6022F: message-id=<20240412175120.3C6DE6022F@mail.viehai.at>
Apr 12 19:51:20 srv4hai postfix/qmgr[15291]: 3C6DE6022F: from=, size=14679, nrcpt=1 (queue active)
Apr 12 19:51:20 srv4hai activate_scenario[31249]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Apr 12 19:51:20 srv4hai proc_url[31314]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/12/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Apr 12 19:51:20 srv4hai activate_scenario[31249]: SHELLY scenario: 'vorraumOn(vorraumon)' took 184 msec, phoneName:'0'
Apr 12 19:51:20 srv4hai ping_SP[31110]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Apr 12 19:51:20 srv4hai ping_SP[31110]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1712944280
Apr 12 19:51:20 srv4hai activate_scenario[31352]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 12 19:51:20 srv4hai activate_scenario[31352]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished