activate_scenario.sh
Fri Mar 8 12:04:45 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/03/08/_0.log)

vorher: 12:04:45.169

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:04:45.226
Dauer: 56 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/08/_1.log)

vorher: 12:04:45.184

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:04:45.234
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 12:04:45.147
nachher: 12:04:45.241
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/08//scene_buero_UM_20240308_120445.txt'


syslog

Mar  8 12:01:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 12:01:00 srv4hai meter.sh: SHELLY meter.sh ended
Mar  8 12:01:00 srv4hai CRON[16092]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 12:01:00 srv4hai postfix/pickup[13236]: 7F1D7602B8: uid=33 from=
Mar  8 12:01:00 srv4hai postfix/cleanup[16090]: 7F1D7602B8: message-id=<20240308110100.7F1D7602B8@mail.viehai.at>
Mar  8 12:01:00 srv4hai postfix/qmgr[15291]: 7F1D7602B8: from=, size=654, nrcpt=1 (queue active)
Mar  8 12:01:00 srv4hai postfix/local[16097]: 7F1D7602B8: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  8 12:01:00 srv4hai postfix/qmgr[15291]: 7F1D7602B8: removed
Mar  8 12:01:08 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709895668 - 'ping_SP_0'
Mar  8 12:01:08 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 12:01:29 srv4hai postfix/smtpd[16116]: connect from unknown[193.222.96.116]
Mar  8 12:01:29 srv4hai postfix/smtpd[16116]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Mar  8 12:02:01 srv4hai CRON[16125]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 12:02:21 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709895741 - 'ping_SP_0'
Mar  8 12:02:21 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 12:02:58 srv4hai named[15509]: validating 169.150.216.162.in-addr.arpa/PTR: no valid signature found
Mar  8 12:02:58 srv4hai postfix/smtpd[16116]: connect from 169.150.216.162.bc.googleusercontent.com[162.216.150.169]
Mar  8 12:02:58 srv4hai postfix/smtpd[16116]: warning: non-SMTP command from 169.150.216.162.bc.googleusercontent.com[162.216.150.169]: GET / HTTP/1.1
Mar  8 12:02:58 srv4hai postfix/smtpd[16116]: disconnect from 169.150.216.162.bc.googleusercontent.com[162.216.150.169] unknown=0/1 commands=0/1
Mar  8 12:03:01 srv4hai CRON[16154]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 12:03:12 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar  8 12:03:12 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  8 12:03:12 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  8 12:03:12 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar  8 12:03:12 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar  8 12:03:12 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar  8 12:03:12 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f930805ddf0 192.168.12.252#41561/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#35229/key rndc-key: signer "rndc-key" approved
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#35229/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#35229/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#35229/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#35229/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar  8 12:03:12 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#47651/key rndc-key: signer "rndc-key" approved
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#47651/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar  8 12:03:12 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#47651/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Mar  8 12:03:12 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar  8 12:03:12 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  8 12:03:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16168, secured, session=<6ZNjIyQTXqIAAAAAAAAAAAAAAAAAAAAB>
Mar  8 12:03:13 srv4hai dovecot: imap(miglincit)<16168><6ZNjIyQTXqIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  8 12:03:14 srv4hai grab_shelly.sh: SHELLY 'shelly-39':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Mar  8 12:03:18 srv4hai postfix/smtpd[16116]: connect from unknown[193.222.96.70]
Mar  8 12:03:18 srv4hai postfix/smtpd[16116]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  8 12:03:18 srv4hai postfix/smtpd[16116]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar  8 12:03:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=6.500000&hum=75.400000&id=C049EF8AC9D8&batt=100&volt=6.630000
Mar  8 12:03:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240308.csv'
Mar  8 12:03:25 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240308.csv' modifed 558s ago - EXIT
Mar  8 12:03:35 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709895815 - 'ping_SP_0'
Mar  8 12:03:35 srv4hai ping_SP[9997]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 12:04:01 srv4hai CRON[16224]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 12:04:45 srv4hai activate_scenario[16239]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar  8 12:04:45 srv4hai activate_scenario[16239]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished