activate_scenario.sh
Sat Apr 20 19:56:13 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/04/20/_0.log)

vorher: 19:56:14.033

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: 19:56:14.511
Dauer: 479 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 19:56:14.045

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: 19:56:14.093
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 19:56:14.013
nachher: 19:56:14.518
Dauer : 506 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/20//scene_buero_UM_20240420_195613.txt'


syslog

Apr 20 19:53:01 srv4hai CRON[28248]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 19:53:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 20 19:53:16 srv4hai fetchmail[1651]: 42570 messages (42570 seen) for tmiglinci at mail.akis.at (-750535811 octets).
Apr 20 19:53:16 srv4hai fetchmail[1651]: 10156 messages (10156 seen) for srozum at mail.akis.at (1226487762 octets).
Apr 20 19:53:16 srv4hai fetchmail[1651]: 22990 messages (22990 seen) for mrozum at mail.akis.at (-311071684 octets).
Apr 20 19:53:17 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 20 19:53:28 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713635608 - 'ping_SP_0'
Apr 20 19:53:28 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 19:53:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28292, secured, session=
Apr 20 19:53:59 srv4hai dovecot: imap(miglincit)<28292>: Logged out in=443 out=21017 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=502 body_count=1 body_bytes=18964
Apr 20 19:54:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28295, secured, session=
Apr 20 19:54:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28297, secured, session=
Apr 20 19:54:00 srv4hai dovecot: imap(miglincit)<28297>: Logged out in=395 out=2087 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=476 body_count=1 body_bytes=127
Apr 20 19:54:00 srv4hai dovecot: imap(miglincit)<28295>: Logged out in=630 out=15140 deleted=0 expunged=0 trashed=2 hdr_count=2 hdr_bytes=539 body_count=0 body_bytes=0
Apr 20 19:54:01 srv4hai CRON[28299]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 19:54:16 srv4hai dovecot: imap(miglincit)<4237>: Logged out in=30691 out=3896629 deleted=0 expunged=0 trashed=0 hdr_count=96 hdr_bytes=32366 body_count=96 body_bytes=3671395
Apr 20 19:54:17 srv4hai activate_scenario[28305]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr 20 19:54:17 srv4hai activate_scenario[28305]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Apr 20 19:54:17 srv4hai activate_scenario[28305]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Apr 20 19:54:17 srv4hai postfix/pickup[9078]: 271216022F: uid=33 from=
Apr 20 19:54:17 srv4hai postfix/cleanup[28358]: 271216022F: message-id=<20240420175417.271216022F@mail.viehai.at>
Apr 20 19:54:17 srv4hai postfix/qmgr[15291]: 271216022F: from=, size=4458, nrcpt=1 (queue active)
Apr 20 19:54:17 srv4hai activate_scenario[28305]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Apr 20 19:54:17 srv4hai proc_url[28380]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/20/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Apr 20 19:54:17 srv4hai postfix/local[28373]: 271216022F: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 20 19:54:17 srv4hai postfix/cleanup[28358]: 35D5660230: message-id=<20240420175417.35D5660230@mail.viehai.at>
Apr 20 19:54:17 srv4hai postfix/bounce[28375]: 271216022F: sender non-delivery notification: 35D5660230
Apr 20 19:54:17 srv4hai postfix/qmgr[15291]: 35D5660230: from=<>, size=6340, nrcpt=1 (queue active)
Apr 20 19:54:17 srv4hai postfix/qmgr[15291]: 271216022F: removed
Apr 20 19:54:17 srv4hai postfix/local[28373]: 35D5660230: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 19:54:17 srv4hai postfix/qmgr[15291]: 35D5660230: removed
Apr 20 19:54:17 srv4hai activate_scenario[28305]: SHELLY scenario: 'pcOFF(pcoff)' took 199 msec, shelly-0:''
Apr 20 19:54:32 srv4hai common[28434]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 20 19:54:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28448, secured, session=<4hfa5YoWQO4AAAAAAAAAAAAAAAAAAAAB>
Apr 20 19:54:37 srv4hai dovecot: imap(miglincit)<28448><4hfa5YoWQO4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=749 out=42744 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18590 body_count=0 body_bytes=0
Apr 20 19:54:41 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713635681 - 'ping_SP_0'
Apr 20 19:54:41 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 19:54:42 srv4hai bt_scan[28434]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 20 19:54:42 srv4hai bt_scan[28434]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 20 19:55:01 srv4hai CRON[28494]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 19:55:25 srv4hai postfix/smtpd[28504]: connect from unknown[193.222.96.12]
Apr 20 19:55:25 srv4hai postfix/smtpd[28504]: warning: unknown[193.222.96.12]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 20 19:55:25 srv4hai postfix/smtpd[28504]: disconnect from unknown[193.222.96.12] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 20 19:55:52 srv4hai dhcpd[22856]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Apr 20 19:55:52 srv4hai dhcpd[22856]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Apr 20 19:55:52 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Apr 20 19:55:52 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 20 19:55:52 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.3
Apr 20 19:55:52 srv4hai dhcpd[22856]: execute_statement argv[2] = ap3hai
Apr 20 19:55:52 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Apr 20 19:55:52 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#51555/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#57789/key rndc-key: signer "rndc-key" approved
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#57789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#57789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#57789/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930803b0f0 192.168.12.252#57789/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Apr 20 19:55:52 srv4hai dhcpd[22856]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Apr 20 19:55:52 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44497/key rndc-key: signer "rndc-key" approved
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44497/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Apr 20 19:55:52 srv4hai named[15509]: client @0x7f930807c330 192.168.12.252#44497/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at.
Apr 20 19:55:52 srv4hai dhcpd[22856]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Apr 20 19:55:52 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Apr 20 19:55:54 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713635754 - 'ping_SP_0'
Apr 20 19:55:54 srv4hai ping_SP[1986]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 19:56:01 srv4hai CRON[28537]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 19:56:13 srv4hai activate_scenario[28547]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 20 19:56:13 srv4hai activate_scenario[28547]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished