activate_scenario.sh
Sun Aug 11 20:45:01 CEST 2024
scenario: vorraumOn
phoneName: 0

'night' <--> 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/11/_0.log)

vorher: 20:45:01.723

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: 20:45:01.814
Dauer: 91 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 20:45:01.701
nachher: 20:45:01.822
Dauer : 121 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/11//scene_vorraumOn_20240811_204501.txt'


syslog

Aug 11 20:42:01 srv4hai CRON[12488]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 20:42:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12494, secured, session=
Aug 11 20:42:04 srv4hai dovecot: imap(miglincit)<12494>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 20:42:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12512, secured, session=
Aug 11 20:42:45 srv4hai dovecot: imap(rozumm)<12512>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 20:42:52 srv4hai postfix/smtpd[12516]: connect from unknown[178.215.236.216]
Aug 11 20:42:52 srv4hai postfix/smtpd[12516]: warning: unknown[178.215.236.216]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 11 20:42:52 srv4hai postfix/smtpd[12516]: disconnect from unknown[178.215.236.216] ehlo=1 auth=0/1 quit=1 commands=2/3
Aug 11 20:43:01 srv4hai CRON[12524]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 20:43:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12554, secured, session=
Aug 11 20:43:45 srv4hai dovecot: imap(rozumm)<12554>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 20:44:01 srv4hai CRON[12562]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 20:44:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 11 20:44:22 srv4hai fetchmail[1651]: 49868 messages (49868 seen) for tmiglinci at mail.akis.at (-168546278 octets).
Aug 11 20:44:23 srv4hai fetchmail[1651]: 10572 messages (10572 seen) for srozum at mail.akis.at (1270745188 octets).
Aug 11 20:44:23 srv4hai fetchmail[1651]: 25257 messages (25257 seen) for mrozum at mail.akis.at (110071427 octets).
Aug 11 20:44:24 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug 11 20:44:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12584, secured, session=
Aug 11 20:44:45 srv4hai dovecot: imap(rozumm)<12584>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 20:44:50 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 11 20:44:50 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 11 20:44:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 11 20:44:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 11 20:44:50 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 11 20:44:50 srv4hai common[12588]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 11 20:44:50 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 11 20:44:50 srv4hai common[12602]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 11 20:44:50 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 11 20:44:50 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#49195/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#55327/key rndc-key: signer "rndc-key" approved
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#55327/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#55327/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#55327/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#55327/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 11 20:44:50 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56393/key rndc-key: signer "rndc-key" approved
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56393/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 11 20:44:50 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#56393/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 11 20:44:50 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 11 20:44:50 srv4hai ping_SP[12602]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 11 20:45:00 srv4hai common[12632]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 11 20:45:01 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'12957'=1723401901-1723388944
Aug 11 20:45:01 srv4hai check_presence[12632]: 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
Aug 11 20:45:01 srv4hai check_presence[12632]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 11 20:45:01 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'12957'=1723401901-1723388944
Aug 11 20:45:01 srv4hai check_presence[12632]: 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
Aug 11 20:45:01 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'12957'=1723401901-1723388944
Aug 11 20:45:01 srv4hai check_presence[12632]: 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
Aug 11 20:45:01 srv4hai check_presence[12632]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 11 20:45:01 srv4hai check_presence[12632]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 11 20:45:01 srv4hai check_presence[12632]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 11 20:45:01 srv4hai activate_scenario[12770]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 11 20:45:01 srv4hai activate_scenario[12770]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished