activate_scenario.sh
Fri Aug 16 08:06:26 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/08/16/_0.log)

vorher: 08:06:26.683

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

nachher: 08:06:26.713
Dauer: 31 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 08:06:26.664
nachher: 08:06:26.720
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/16//scene_pcON_20240816_080626.txt'


syslog

Aug 16 08:03:01 srv4hai CRON[26305]: (root) CMD (/etc/linetest/linetest.sh)
Aug 16 08:03:05 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723788185 - 'ping_SP_0'
Aug 16 08:03:05 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 16 08:03:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26337, secured, session=
Aug 16 08:03:56 srv4hai dovecot: imap(miglincit)<26337>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 16 08:04:01 srv4hai CRON[26344]: (root) CMD (/etc/linetest/linetest.sh)
Aug 16 08:04:06 srv4hai postfix/anvil[26197]: statistics: max connection rate 1/60s for (smtp:167.94.138.55) at Aug 16 08:00:41
Aug 16 08:04:06 srv4hai postfix/anvil[26197]: statistics: max connection count 1 for (smtp:167.94.138.55) at Aug 16 08:00:41
Aug 16 08:04:06 srv4hai postfix/anvil[26197]: statistics: max cache size 1 at Aug 16 08:00:41
Aug 16 08:04:08 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723788248 - 'ping_SP_0'
Aug 16 08:04:08 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 16 08:04:29 srv4hai common[26372]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 16 08:04:29 srv4hai bt_scan[26372]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 16 08:04:29 srv4hai bt_scan[26372]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 16 08:04:29 srv4hai common[26403]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 16 08:04:29 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1723788269-1723788269
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 16 08:04:29 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1723788269-1723788269
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Aug 16 08:04:29 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1723788269-1723788269
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_homeOffice) - sceneOFF(offAll)
Aug 16 08:04:29 srv4hai check_presence[26403]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 16 08:05:01 srv4hai CRON[26542]: (root) CMD (/etc/linetest/linetest.sh)
Aug 16 08:05:11 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723788311 - 'ping_SP_0'
Aug 16 08:05:11 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 16 08:05:25 srv4hai named[30406]:   validating discoverynetbd.com/SOA: no valid signature found
Aug 16 08:05:25 srv4hai named[30406]:   validating bd-client-P2-H19.discoverynetbd.com/NSEC: no valid signature found
Aug 16 08:05:25 srv4hai postfix/smtpd[26572]: warning: hostname bd-client-P2-H19.discoverynetbd.com does not resolve to address 103.120.165.19: No address associated with hostname
Aug 16 08:05:25 srv4hai postfix/smtpd[26572]: connect from unknown[103.120.165.19]
Aug 16 08:05:26 srv4hai postfix/smtpd[26572]: NOQUEUE: reject: RCPT from unknown[103.120.165.19]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Aug 16 08:05:26 srv4hai postfix/smtpd[26572]: disconnect from unknown[103.120.165.19] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5
Aug 16 08:05:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 16 08:05:34 srv4hai fetchmail[1651]: 50127 messages (50127 seen) for tmiglinci at mail.akis.at (-147854159 octets).
Aug 16 08:05:34 srv4hai fetchmail[1651]: 10584 messages (10584 seen) for srozum at mail.akis.at (1271851283 octets).
Aug 16 08:05:35 srv4hai fetchmail[1651]: 25341 messages (25341 seen) for mrozum at mail.akis.at (122811212 octets).
Aug 16 08:05:35 srv4hai fetchmail[1651]: 1140 messages (1140 seen) for admin@bastelstube.wien at pop3.world4you.com (51587871 octets).
Aug 16 08:06:01 srv4hai CRON[26583]: (root) CMD (/etc/linetest/linetest.sh)
Aug 16 08:06:14 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723788374 - 'ping_SP_0'
Aug 16 08:06:14 srv4hai ping_SP[30297]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 16 08:06:26 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Aug 16 08:06:26 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Aug 16 08:06:26 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Aug 16 08:06:26 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Aug 16 08:06:26 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#34889/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#49743/key rndc-key: signer "rndc-key" approved
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#49743/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#49743/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#49743/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#49743/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Aug 16 08:06:26 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53755/key rndc-key: signer "rndc-key" approved
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53755/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Aug 16 08:06:26 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53755/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.
Aug 16 08:06:26 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Aug 16 08:06:26 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Aug 16 08:06:26 srv4hai activate_scenario[26617]: SHELLY scenario: 'pcON(pcon)' started
Aug 16 08:06:26 srv4hai activate_scenario[26617]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished