activate_scenario.sh
Wed Sep 4 07:24: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/09/04/_0.log)

vorher: 07:24:47.376

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: 07:24:47.416
Dauer: 40 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 07:24:47.356
nachher: 07:24:47.423
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/04//scene_vorraumOn_20240904_072447.txt'


syslog

Sep  4 07:21:01 srv4hai CRON[25758]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 07:21:51 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725427311 - 'ping_SP_0'
Sep  4 07:21:51 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  4 07:21:55 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725427315 - 'ping_SP_1'
Sep  4 07:21:55 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  4 07:22:01 srv4hai CRON[25844]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 07:22:21 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep  4 07:22:22 srv4hai fetchmail[1651]: 51508 messages (51508 seen) for tmiglinci at mail.akis.at (-48212165 octets).
Sep  4 07:22:23 srv4hai fetchmail[1651]: 10672 messages (10672 seen) for srozum at mail.akis.at (1287713052 octets).
Sep  4 07:22:23 srv4hai fetchmail[1651]: 25700 messages (25700 seen) for mrozum at mail.akis.at (183867491 octets).
Sep  4 07:22:24 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Sep  4 07:23:01 srv4hai CRON[25901]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 07:23:04 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725427384 - 'ping_SP_0'
Sep  4 07:23:04 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  4 07:23:09 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725427389 - 'ping_SP_1'
Sep  4 07:23:09 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  4 07:23:10 srv4hai common[25941]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  4 07:23:20 srv4hai bt_scan[25941]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep  4 07:23:20 srv4hai bt_scan[25941]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep  4 07:23:20 srv4hai common[25977]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  4 07:23:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1725427401-1725427391
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep  4 07:23:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1725427401-1725427391
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep  4 07:23:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1725427401-1725427391
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
Sep  4 07:23:21 srv4hai check_presence[25977]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep  4 07:23:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26130, secured, session=
Sep  4 07:23:27 srv4hai dovecot: imap(miglincit)<26130>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  4 07:24:01 srv4hai CRON[26158]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 07:24:07 srv4hai postfix/smtpd[26169]: connect from unknown[94.141.120.77]
Sep  4 07:24:07 srv4hai postfix/smtpd[26169]: warning: unknown[94.141.120.77]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep  4 07:24:07 srv4hai postfix/smtpd[26169]: disconnect from unknown[94.141.120.77] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep  4 07:24:17 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725427457 - 'ping_SP_0'
Sep  4 07:24:17 srv4hai ping_SP[5073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  4 07:24:22 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725427462 - 'ping_SP_1'
Sep  4 07:24:22 srv4hai ping_SP[6066]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  4 07:24:26 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:26 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:26 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:26 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep  4 07:24:26 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep  4 07:24:26 srv4hai common[26219]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:36 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep  4 07:24:36 srv4hai common[26240]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep  4 07:24:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:36 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:36 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep  4 07:24:36 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep  4 07:24:36 srv4hai common[26253]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:36 srv4hai ping_SP[26240]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep  4 07:24:46 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep  4 07:24:46 srv4hai common[26290]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep  4 07:24:46 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:46 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep  4 07:24:46 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:46 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep  4 07:24:46 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep  4 07:24:46 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#46325/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep  4 07:24:46 srv4hai common[26307]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  4 07:24:46 srv4hai common[26310]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep  4 07:24:46 srv4hai ping_SP[26290]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep  4 07:24:47 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1725427487-1725427476
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep  4 07:24:47 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1725427487-1725427476
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep  4 07:24:47 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1725427487-1725427476
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offDownstairs) - sceneONsmall(vorraumOn)
Sep  4 07:24:47 srv4hai check_presence[26307]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep  4 07:24:47 srv4hai activate_scenario[26476]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep  4 07:24:47 srv4hai activate_scenario[26476]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished