activate_scenario.sh
Thu Mar 14 16:21:25 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/03/14/_0.log)

vorher: 16:21:25.194

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

nachher: 16:21:25.228
Dauer: 34 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 16:21:25.166
nachher: 16:21:25.234
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/14//scene_pcOFF_20240314_162125.txt'


syslog

Mar 14 16:18:01 srv4hai CRON[30187]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 16:18:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30201, secured, session=
Mar 14 16:18:28 srv4hai dovecot: imap(miglincit)<30201>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 16:18:40 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710429520 - 'ping_SP_0'
Mar 14 16:18:40 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 16:18:59 srv4hai common[30229]: SHELLY common.sh inkludiert
Mar 14 16:19:00 srv4hai postfix/anvil[30010]: statistics: max connection rate 1/60s for (smtp:37.0.14.214) at Mar 14 16:15:39
Mar 14 16:19:00 srv4hai postfix/anvil[30010]: statistics: max connection count 1 for (smtp:37.0.14.214) at Mar 14 16:15:39
Mar 14 16:19:00 srv4hai postfix/anvil[30010]: statistics: max cache size 1 at Mar 14 16:15:39
Mar 14 16:19:01 srv4hai CRON[30241]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 16:19:09 srv4hai bt_scan[30229]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar 14 16:19:09 srv4hai bt_scan[30229]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar 14 16:19:09 srv4hai common[30264]: SHELLY common.sh inkludiert
Mar 14 16:19:09 srv4hai check_presence[30264]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 14 16:19:09 srv4hai check_presence[30264]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 14 16:19:09 srv4hai check_presence[30264]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar 14 16:19:09 srv4hai check_presence[30264]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Mar 14 16:19:09 srv4hai check_presence[30264]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar 14 16:19:53 srv4hai common[30327]: SHELLY common.sh inkludiert
Mar 14 16:19:54 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710429594 - 'ping_SP_0'
Mar 14 16:19:54 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 16:20:01 srv4hai CRON[30355]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 14 16:20:01 srv4hai CRON[30356]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 16:20:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 14 16:20:03 srv4hai bt_scan[30327]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar 14 16:20:03 srv4hai bt_scan[30327]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar 14 16:20:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:12 srv4hai linetest.sh: ping to '95.129.201.1' failed
Mar 14 16:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:23 srv4hai named[15509]: success resolving 'outlook.office365.com/A' (in 'office365.com'?) after disabling EDNS
Mar 14 16:20:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:23 srv4hai linetest.sh: ping to '8.8.8.8' failed
Mar 14 16:20:25 srv4hai fetchmail[1651]: 22243 messages (22243 seen) for mrozum at mail.akis.at (-452034541 octets).
Mar 14 16:20:25 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 14 16:20:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30905, secured, session=
Mar 14 16:20:55 srv4hai dovecot: imap(miglincit)<30905>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 16:20:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 14 16:20:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 14 16:20:59 srv4hai postfix/pickup[23472]: 5CC32602B8: uid=33 from=
Mar 14 16:20:59 srv4hai postfix/cleanup[30928]: 5CC32602B8: message-id=<20240314152059.5CC32602B8@mail.viehai.at>
Mar 14 16:20:59 srv4hai postfix/qmgr[15291]: 5CC32602B8: from=, size=654, nrcpt=1 (queue active)
Mar 14 16:20:59 srv4hai postfix/local[30930]: 5CC32602B8: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 14 16:20:59 srv4hai postfix/qmgr[15291]: 5CC32602B8: removed
Mar 14 16:21:01 srv4hai CRON[30933]: (root) CMD (/etc/linetest/linetest.sh)
Mar 14 16:21:07 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710429667 - 'ping_SP_0'
Mar 14 16:21:07 srv4hai ping_SP[23052]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 14 16:21:12 srv4hai linetest.sh: ping to '95.129.201.1' failed
Mar 14 16:21:17 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 14 16:21:17 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 14 16:21:17 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 14 16:21:17 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 14 16:21:17 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f9304041a30 192.168.12.252#40453/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#45939/key rndc-key: signer "rndc-key" approved
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#45939/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#45939/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#45939/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f931c67a760 192.168.12.252#45939/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 14 16:21:17 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 14 16:21:17 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#59101/key rndc-key: signer "rndc-key" approved
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#59101/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 14 16:21:17 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#59101/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Mar 14 16:21:17 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 14 16:21:17 srv4hai activate_scenario[30969]: SHELLY scenario: 'pcON(pcon)' started
Mar 14 16:21:17 srv4hai activate_scenario[30969]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
Mar 14 16:21:17 srv4hai activate_scenario[30969]: SHELLY scenario: 'pcON(pcon)' TO BE EXECUTED, origin:'dhcpcommit.sh-pchai7x'
Mar 14 16:21:17 srv4hai postfix/pickup[23472]: 6D70E602B8: uid=33 from=
Mar 14 16:21:17 srv4hai postfix/cleanup[30928]: 6D70E602B8: message-id=<20240314152117.6D70E602B8@mail.viehai.at>
Mar 14 16:21:17 srv4hai postfix/qmgr[15291]: 6D70E602B8: from=, size=10979, nrcpt=1 (queue active)
Mar 14 16:21:17 srv4hai activate_scenario[30969]: SHELLY: scenario: 'pcON(pcon)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=on'
Mar 14 16:21:17 srv4hai proc_url[31034]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/14/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=on' - phName:'origin:'dhcpcommit.sh-pchai7x''
Mar 14 16:21:17 srv4hai postfix/local[30930]: 6D70E602B8: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 14 16:21:17 srv4hai postfix/cleanup[30928]: 74536602B9: message-id=<20240314152117.74536602B9@mail.viehai.at>
Mar 14 16:21:17 srv4hai postfix/bounce[31022]: 6D70E602B8: sender non-delivery notification: 74536602B9
Mar 14 16:21:17 srv4hai postfix/qmgr[15291]: 74536602B9: from=<>, size=12858, nrcpt=1 (queue active)
Mar 14 16:21:17 srv4hai postfix/qmgr[15291]: 6D70E602B8: removed
Mar 14 16:21:17 srv4hai postfix/local[30930]: 74536602B9: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 14 16:21:17 srv4hai postfix/qmgr[15291]: 74536602B9: removed
Mar 14 16:21:17 srv4hai activate_scenario[30969]: SHELLY scenario: 'pcON(pcon)' took 51 msec, origin:'dhcpcommit.sh-pchai7x'
Mar 14 16:21:24 srv4hai linetest.sh: ping to '8.8.8.8' failed
Mar 14 16:21:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=192.168.12.10, lip=192.168.12.252, mpid=31071, TLS, session=
Mar 14 16:21:24 srv4hai dovecot: imap(miglincit)<31071>: Connection closed (UID fetch finished 0.911 secs ago) in=95 out=71292 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 14 16:21:25 srv4hai activate_scenario[31075]: SHELLY scenario: 'pcOFF(pcoff)' started
Mar 14 16:21:25 srv4hai activate_scenario[31075]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished