activate_scenario.sh
Sat Jul 27 07:55:55 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/27/_0.log)

vorher: 07:55:55.373

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

nachher: 07:55:55.400
Dauer: 26 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 07:55:55.344
nachher: 07:55:55.406
Dauer : 63 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/27//scene_vorraumOn_20240727_075555.txt'


syslog

Jul 27 07:52:01 srv4hai CRON[16249]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 07:52:51 srv4hai postfix/anvil[15284]: statistics: max connection rate 2/60s for (smtp:154.9.2.12) at Jul 27 07:49:29
Jul 27 07:52:51 srv4hai postfix/anvil[15284]: statistics: max connection count 1 for (smtp:154.9.2.12) at Jul 27 07:49:12
Jul 27 07:52:51 srv4hai postfix/anvil[15284]: statistics: max cache size 1 at Jul 27 07:49:12
Jul 27 07:53:01 srv4hai CRON[16259]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 07:53:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 27 07:53:37 srv4hai fetchmail[1651]: 49465 messages (49465 seen) for tmiglinci at mail.akis.at (-203794896 octets).
Jul 27 07:53:38 srv4hai fetchmail[1651]: 10515 messages (10515 seen) for srozum at mail.akis.at (1265066584 octets).
Jul 27 07:53:38 srv4hai fetchmail[1651]: 24967 messages (24967 seen) for mrozum at mail.akis.at (69874518 octets).
Jul 27 07:53:39 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 27 07:54:01 srv4hai CRON[16273]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 07:54:14 srv4hai postfix/smtpd[16278]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 27 07:54:14 srv4hai postfix/smtpd[16278]: connect from unknown[94.141.120.192]
Jul 27 07:54:14 srv4hai postfix/smtpd[16278]: warning: unknown[94.141.120.192]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 27 07:54:14 srv4hai postfix/smtpd[16278]: lost connection after AUTH from unknown[94.141.120.192]
Jul 27 07:54:14 srv4hai postfix/smtpd[16278]: disconnect from unknown[94.141.120.192] ehlo=1 auth=0/1 commands=1/2
Jul 27 07:54:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16283, secured, session=
Jul 27 07:54:15 srv4hai dovecot: imap(miglincit)<16283>: Logged out in=345 out=1389 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 27 07:55:01 srv4hai CRON[16287]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 07:55:44 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 27 07:55:44 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 07:55:44 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 27 07:55:44 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 27 07:55:44 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 27 07:55:44 srv4hai common[16309]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 27 07:55:44 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 27 07:55:44 srv4hai common[16324]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 27 07:55:44 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 27 07:55:44 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#46291/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#55665/key rndc-key: signer "rndc-key" approved
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#55665/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#55665/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#55665/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f932c06a420 192.168.12.252#55665/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 27 07:55:44 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#53431/key rndc-key: signer "rndc-key" approved
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#53431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 27 07:55:44 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#53431/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Jul 27 07:55:44 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 27 07:55:44 srv4hai ping_SP[16324]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 27 07:55:54 srv4hai common[16361]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 27 07:55:54 srv4hai named[30406]: resolver priming query complete
Jul 27 07:55:55 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'1631'=1722059755-1722058124
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 27 07:55:55 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'1631'=1722059755-1722058124
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 27 07:55:55 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'1631'=1722059755-1722058124
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 27 07:55:55 srv4hai check_presence[16361]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 27 07:55:55 srv4hai activate_scenario[16500]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 27 07:55:55 srv4hai activate_scenario[16500]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished