activate_scenario.sh
Tue Aug 27 17:25:47 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/08/27/_0.log)

vorher: 17:25:47.200

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": "input"

nachher: 17:25:47.335
Dauer: 134 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 17:25:47.149
nachher: 17:25:47.342
Dauer : 195 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/27//scene_vorraumOn_20240827_172547.txt'


syslog

Aug 27 17:22:01 srv4hai CRON[24719]: (root) CMD (/etc/linetest/linetest.sh)
Aug 27 17:23:01 srv4hai CRON[24729]: (root) CMD (/etc/linetest/linetest.sh)
Aug 27 17:23:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 27 17:23:06 srv4hai fetchmail[1651]: 50930 messages (50930 seen) for tmiglinci at mail.akis.at (-84518164 octets).
Aug 27 17:23:06 srv4hai fetchmail[1651]: 10631 messages (10631 seen) for srozum at mail.akis.at (1281357981 octets).
Aug 27 17:23:07 srv4hai fetchmail[1651]: 25558 messages (25558 seen) for mrozum at mail.akis.at (158478854 octets).
Aug 27 17:23:07 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 27 17:24:01 srv4hai CRON[24741]: (root) CMD (/etc/linetest/linetest.sh)
Aug 27 17:24:14 srv4hai postfix/anvil[24702]: statistics: max connection rate 1/60s for (smtp:185.208.158.123) at Aug 27 17:20:54
Aug 27 17:24:14 srv4hai postfix/anvil[24702]: statistics: max connection count 1 for (smtp:185.208.158.123) at Aug 27 17:20:54
Aug 27 17:24:14 srv4hai postfix/anvil[24702]: statistics: max cache size 1 at Aug 27 17:20:54
Aug 27 17:24:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24755, secured, session=
Aug 27 17:24:44 srv4hai dovecot: imap(miglincit)<24755>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 27 17:25:01 srv4hai CRON[24758]: (root) CMD (/etc/linetest/linetest.sh)
Aug 27 17:25:36 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 27 17:25:36 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 27 17:25:36 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 27 17:25:36 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 27 17:25:36 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 27 17:25:36 srv4hai common[24766]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 27 17:25:36 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 27 17:25:36 srv4hai common[24780]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 27 17:25:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 27 17:25:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#48499/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42569/key rndc-key: signer "rndc-key" approved
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42569/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42569/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42569/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42569/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 27 17:25:36 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#35057/key rndc-key: signer "rndc-key" approved
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#35057/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 27 17:25:36 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#35057/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.
Aug 27 17:25:36 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 27 17:25:36 srv4hai ping_SP[24780]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 27 17:25:39 srv4hai common[24803]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 27 17:25:46 srv4hai common[24827]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 27 17:25:46 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1724772346-1724772346
Aug 27 17:25:46 srv4hai check_presence[24827]: 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 27 17:25:46 srv4hai check_presence[24827]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 27 17:25:46 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1724772346-1724772346
Aug 27 17:25:46 srv4hai check_presence[24827]: 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 27 17:25:46 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1724772346-1724772346
Aug 27 17:25:46 srv4hai check_presence[24827]: 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 27 17:25:46 srv4hai check_presence[24827]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 27 17:25:47 srv4hai check_presence[24827]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 27 17:25:47 srv4hai check_presence[24827]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 27 17:25:47 srv4hai activate_scenario[24959]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 27 17:25:47 srv4hai activate_scenario[24959]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished