activate_scenario.sh
Sun Sep 1 20:09:17 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> 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/09/01/_0.log)

vorher: 20:09:17.466

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

nachher: 20:09:17.533
Dauer: 67 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 20:09:17.479

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

nachher: 20:09:17.529
Dauer: 50 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 20:09:17.447
nachher: 20:09:17.542
Dauer : 95 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/01//scene_buero_UM_20240901_200917.txt'


syslog

Sep  1 20:06:01 srv4hai CRON[29217]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 20:06:02 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725213962 - 'ping_SP_0'
Sep  1 20:06:02 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  1 20:06:28 srv4hai postfix/anvil[29098]: statistics: max connection rate 1/60s for (smtp:94.141.120.155) at Sep  1 20:03:08
Sep  1 20:06:28 srv4hai postfix/anvil[29098]: statistics: max connection count 1 for (smtp:94.141.120.155) at Sep  1 20:03:08
Sep  1 20:06:28 srv4hai postfix/anvil[29098]: statistics: max cache size 1 at Sep  1 20:03:08
Sep  1 20:06:29 srv4hai postfix/smtpd[29248]: connect from unknown[94.141.120.155]
Sep  1 20:06:29 srv4hai postfix/smtpd[29248]: warning: unknown[94.141.120.155]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep  1 20:06:29 srv4hai postfix/smtpd[29248]: lost connection after AUTH from unknown[94.141.120.155]
Sep  1 20:06:29 srv4hai postfix/smtpd[29248]: disconnect from unknown[94.141.120.155] ehlo=1 auth=0/1 commands=1/2
Sep  1 20:06:33 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725213993 - 'ping_SP_1'
Sep  1 20:06:33 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  1 20:07:01 srv4hai CRON[29267]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 20:07:15 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725214035 - 'ping_SP_0'
Sep  1 20:07:15 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  1 20:07:32 srv4hai common[29295]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  1 20:07:37 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep  1 20:07:38 srv4hai fetchmail[1651]: 51319 messages (51319 seen) for tmiglinci at mail.akis.at (-59981560 octets).
Sep  1 20:07:38 srv4hai fetchmail[1651]: 10654 messages (10654 seen) for srozum at mail.akis.at (1283454263 octets).
Sep  1 20:07:39 srv4hai fetchmail[1651]: 25649 messages (25649 seen) for mrozum at mail.akis.at (175732419 octets).
Sep  1 20:07:39 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Sep  1 20:07:42 srv4hai bt_scan[29295]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep  1 20:07:42 srv4hai bt_scan[29295]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Sep  1 20:07:46 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725214066 - 'ping_SP_1'
Sep  1 20:07:46 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  1 20:07:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29350, secured, session=<4SOisxIhHLsAAAAAAAAAAAAAAAAAAAAB>
Sep  1 20:07:47 srv4hai dovecot: imap(miglincit)<29350><4SOisxIhHLsAAAAAAAAAAAAAAAAAAAAB>: Logged out in=646 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:07:53 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep  1 20:07:53 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.28
Sep  1 20:07:53 srv4hai dhcpd[30731]: execute_statement argv[2] = harmonyhub
Sep  1 20:07:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Sep  1 20:07:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#45983/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#50699/key rndc-key: signer "rndc-key" approved
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#50699/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#50699/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#50699/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#50699/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Sep  1 20:07:53 srv4hai dhcpd[30731]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Sep  1 20:07:53 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#52623/key rndc-key: signer "rndc-key" approved
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#52623/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Sep  1 20:07:53 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#52623/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Sep  1 20:07:53 srv4hai dhcpd[30731]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Sep  1 20:07:53 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Sep  1 20:07:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29359, secured, session=
Sep  1 20:07:56 srv4hai dovecot: imap(miglincit)<29359>: Logged out in=265 out=1716 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:08:01 srv4hai CRON[29361]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 20:08:29 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725214109 - 'ping_SP_0'
Sep  1 20:08:29 srv4hai ping_SP[25748]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  1 20:08:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29391, secured, session=<9BA8thIhIrsAAAAAAAAAAAAAAAAAAAAB>
Sep  1 20:08:30 srv4hai dovecot: imap(miglincit)<29391><9BA8thIhIrsAAAAAAAAAAAAAAAAAAAAB>: Logged out in=646 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:08:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29396, secured, session=
Sep  1 20:08:49 srv4hai dovecot: imap(miglincit)<29396>: Logged out in=443 out=56537 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=561 body_count=1 body_bytes=54225
Sep  1 20:08:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29402, secured, session=<8f2ttxIhYLsAAAAAAAAAAAAAAAAAAAAB>
Sep  1 20:08:55 srv4hai dovecot: imap(miglincit)<29402><8f2ttxIhYLsAAAAAAAAAAAAAAAAAAAAB>: Logged out in=606 out=32228 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=1474 body_count=0 body_bytes=0
Sep  1 20:08:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29404, secured, session=
Sep  1 20:08:55 srv4hai dovecot: imap(miglincit)<29404>: Logged out in=397 out=112532 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=509 body_count=1 body_bytes=110385
Sep  1 20:09:00 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725214140 - 'ping_SP_1'
Sep  1 20:09:00 srv4hai ping_SP[27127]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  1 20:09:01 srv4hai CRON[29421]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 20:09:01 srv4hai CRON[29422]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep  1 20:09:01 srv4hai systemd[1]: Starting Clean php session files...
Sep  1 20:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep  1 20:09:01 srv4hai systemd[1]: Started Clean php session files.
Sep  1 20:09:01 srv4hai dovecot: imap(miglincit)<26563>: Logged out in=46078 out=69632 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:09:01 srv4hai dovecot: imap(miglincit)<26489>: Logged out in=5092565 out=7601904 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:09:01 srv4hai dovecot: imap(miglincit)<26486>: Logged out in=5105254 out=7621458 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 20:09:01 srv4hai dovecot: imap(miglincit)<26532>: Connection closed (IDLE finished 4.128 secs ago) in=19166 out=6437812 deleted=0 expunged=0 trashed=0 hdr_count=11 hdr_bytes=4471 body_count=134 body_bytes=6283430
Sep  1 20:09:02 srv4hai activate_scenario[29520]: SHELLY scenario: 'pcOFF(pcoff)' started
Sep  1 20:09:02 srv4hai activate_scenario[29520]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Sep  1 20:09:02 srv4hai activate_scenario[29520]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Sep  1 20:09:02 srv4hai postfix/pickup[27777]: D993A6345B: uid=33 from=
Sep  1 20:09:02 srv4hai postfix/cleanup[29573]: D993A6345B: message-id=<20240901180902.D993A6345B@mail.viehai.at>
Sep  1 20:09:02 srv4hai postfix/qmgr[8566]: D993A6345B: from=, size=10033, nrcpt=1 (queue active)
Sep  1 20:09:02 srv4hai activate_scenario[29520]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Sep  1 20:09:02 srv4hai proc_url[29591]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/01/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Sep  1 20:09:02 srv4hai postfix/local[29586]: D993A6345B: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep  1 20:09:02 srv4hai postfix/cleanup[29573]: E48E063460: message-id=<20240901180902.E48E063460@mail.viehai.at>
Sep  1 20:09:02 srv4hai postfix/bounce[29587]: D993A6345B: sender non-delivery notification: E48E063460
Sep  1 20:09:02 srv4hai postfix/qmgr[8566]: E48E063460: from=<>, size=11915, nrcpt=1 (queue active)
Sep  1 20:09:02 srv4hai postfix/qmgr[8566]: D993A6345B: removed
Sep  1 20:09:02 srv4hai postfix/local[29586]: E48E063460: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep  1 20:09:02 srv4hai postfix/qmgr[8566]: E48E063460: removed
Sep  1 20:09:03 srv4hai activate_scenario[29520]: SHELLY scenario: 'pcOFF(pcoff)' took 155 msec, shelly-0:''
Sep  1 20:09:17 srv4hai activate_scenario[29620]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep  1 20:09:17 srv4hai activate_scenario[29620]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished