activate_scenario.sh
Fri Jul 26 23:16:54 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/07/26/_0.log)

vorher: 23:16:54.511

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: 23:16:54.559
Dauer: 49 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 23:16:54.492
nachher: 23:16:54.565
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/26//scene_vorraumOn_20240726_231654.txt'


syslog

Jul 26 23:13:01 srv4hai CRON[19175]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:13:16 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722028396 - 'ping_SP_1'
Jul 26 23:13:16 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:13:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 26 23:13:35 srv4hai fetchmail[1651]: 49449 messages (49449 seen) for tmiglinci at mail.akis.at (-204243818 octets).
Jul 26 23:13:35 srv4hai fetchmail[1651]: 10514 messages (10514 seen) for srozum at mail.akis.at (1264986819 octets).
Jul 26 23:13:36 srv4hai fetchmail[1651]: 24967 messages (24967 seen) for mrozum at mail.akis.at (69874518 octets).
Jul 26 23:13:37 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 26 23:14:01 srv4hai CRON[19237]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:14:19 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722028459 - 'ping_SP_1'
Jul 26 23:14:19 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:15:01 srv4hai CRON[19292]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:15:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19306, secured, session=
Jul 26 23:15:15 srv4hai dovecot: imap(miglincit)<19306>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 23:15:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722028523 - 'ping_SP_1'
Jul 26 23:15:23 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:16:01 srv4hai CRON[19349]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 23:16:26 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722028586 - 'ping_SP_1'
Jul 26 23:16:26 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 23:16:43 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 26 23:16:43 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 26 23:16:43 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 26 23:16:43 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 26 23:16:43 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 26 23:16:43 srv4hai common[19397]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 26 23:16:43 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 26 23:16:43 srv4hai common[19411]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 26 23:16:43 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 26 23:16:43 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#47549/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53345/key rndc-key: signer "rndc-key" approved
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53345/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53345/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53345/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53345/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 26 23:16:43 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#43157/key rndc-key: signer "rndc-key" approved
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#43157/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 26 23:16:43 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#43157/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 26 23:16:43 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 26 23:16:43 srv4hai ping_SP[19411]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 26 23:16:44 srv4hai named[30406]: resolver priming query complete
Jul 26 23:16:48 srv4hai named[30406]: resolver priming query complete
Jul 26 23:16:53 srv4hai common[19448]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 26 23:16:53 srv4hai named[30406]: resolver priming query complete
Jul 26 23:16:54 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'1923'=1722028614-1722026691
Jul 26 23:16:54 srv4hai check_presence[19448]: 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 26 23:16:54 srv4hai check_presence[19448]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 26 23:16:54 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'1923'=1722028614-1722026691
Jul 26 23:16:54 srv4hai check_presence[19448]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 26 23:16:54 srv4hai check_presence[19448]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 26 23:16:54 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'1923'=1722028614-1722026691
Jul 26 23:16:54 srv4hai check_presence[19448]: 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 26 23:16:54 srv4hai check_presence[19448]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 26 23:16:54 srv4hai check_presence[19448]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_herdzeile_UM) - sceneONsmall(vorraumOn)
Jul 26 23:16:54 srv4hai check_presence[19448]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 26 23:16:54 srv4hai activate_scenario[19585]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 26 23:16:54 srv4hai activate_scenario[19585]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished