activate_scenario.sh
Mon Jun 17 19:45:32 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/06/17/_0.log)

vorher: 19:45:32.817

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: 19:45:32.851
Dauer: 34 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 19:45:32.797
nachher: 19:45:32.857
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/17//scene_vorraumOn_20240617_194532.txt'


syslog

Jun 17 19:42:01 srv4hai CRON[11783]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 19:43:01 srv4hai CRON[11795]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 19:43:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 17 19:43:30 srv4hai fetchmail[1651]: 46627 messages (46627 seen) for tmiglinci at mail.akis.at (-445774190 octets).
Jun 17 19:43:30 srv4hai fetchmail[1651]: 10340 messages (10340 seen) for srozum at mail.akis.at (1245183983 octets).
Jun 17 19:43:31 srv4hai fetchmail[1651]: 24171 messages (24171 seen) for mrozum at mail.akis.at (-90573771 octets).
Jun 17 19:43:32 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 17 19:44:01 srv4hai CRON[11809]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 19:44:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11817, secured, session=
Jun 17 19:44:28 srv4hai dovecot: imap(miglincit)<11817>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 17 19:45:01 srv4hai CRON[11822]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 19:45:21 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 17 19:45:21 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 17 19:45:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 17 19:45:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 17 19:45:21 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 17 19:45:21 srv4hai common[11828]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 17 19:45:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 17 19:45:21 srv4hai common[11842]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 17 19:45:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 17 19:45:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#56855/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43959/key rndc-key: signer "rndc-key" approved
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43959/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43959/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43959/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#43959/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 17 19:45:21 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#37167/key rndc-key: signer "rndc-key" approved
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#37167/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 17 19:45:21 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#37167/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.
Jun 17 19:45:21 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 17 19:45:21 srv4hai ping_SP[11842]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 17 19:45:32 srv4hai common[11872]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 17 19:45:32 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'4'=1718646332-1718646328
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 17 19:45:32 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1718646332-1718646328
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 17 19:45:32 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1718646332-1718646328
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun 17 19:45:32 srv4hai check_presence[11872]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 17 19:45:32 srv4hai activate_scenario[12019]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 17 19:45:32 srv4hai activate_scenario[12019]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished