activate_scenario.sh
Sat Jun 29 14:55:10 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/29/_0.log)

vorher: 14:55:10.276

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: 14:55:10.306
Dauer: 31 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 14:55:10.256
nachher: 14:55:10.312
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/29//scene_vorraumOn_20240629_145510.txt'


syslog

Jun 29 14:52:01 srv4hai CRON[4613]: (root) CMD (/etc/linetest/linetest.sh)
Jun 29 14:52:02 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719665522 - 'ping_SP_0'
Jun 29 14:52:02 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 29 14:52:14 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719665534 - 'ping_SP_1'
Jun 29 14:52:14 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 29 14:53:00 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 1 sucessfully  @~1719665580 - 'ping_SP_2'
Jun 29 14:53:00 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 pCnt:'1'
Jun 29 14:53:01 srv4hai CRON[4685]: (root) CMD (/etc/linetest/linetest.sh)
Jun 29 14:53:15 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719665595 - 'ping_SP_0'
Jun 29 14:53:15 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 29 14:53:28 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719665608 - 'ping_SP_1'
Jun 29 14:53:28 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 29 14:53:37 srv4hai common[4730]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 29 14:53:47 srv4hai bt_scan[4730]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 29 14:53:47 srv4hai bt_scan[4730]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 29 14:53:47 srv4hai common[4762]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1719665628-1719665617
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1719665628-1719665617
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'11'=1719665628-1719665617
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_2.LIVE' for what: 'presence'
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 29 14:54:01 srv4hai CRON[4917]: (root) CMD (/etc/linetest/linetest.sh)
Jun 29 14:54:13 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 1 sucessfully  @~1719665653 - 'ping_SP_2'
Jun 29 14:54:13 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 pCnt:'1'
Jun 29 14:54:28 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719665668 - 'ping_SP_0'
Jun 29 14:54:28 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 29 14:54:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 29 14:54:32 srv4hai fetchmail[1651]: 47587 messages (47587 seen) for tmiglinci at mail.akis.at (-361528327 octets).
Jun 29 14:54:32 srv4hai fetchmail[1651]: 10379 messages (10379 seen) for srozum at mail.akis.at (1248491141 octets).
Jun 29 14:54:33 srv4hai fetchmail[1651]: 24440 messages (24440 seen) for mrozum at mail.akis.at (-10929829 octets).
Jun 29 14:54:33 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jun 29 14:54:41 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719665681 - 'ping_SP_1'
Jun 29 14:54:41 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 29 14:54:49 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:54:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 29 14:54:49 srv4hai common[4979]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:54:59 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 29 14:54:59 srv4hai common[4997]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 29 14:54:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:54:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 29 14:54:59 srv4hai common[5010]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:54:59 srv4hai ping_SP[4997]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 29 14:55:01 srv4hai CRON[5031]: (root) CMD (/etc/linetest/linetest.sh)
Jun 29 14:55:09 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 29 14:55:09 srv4hai common[5047]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 29 14:55:09 srv4hai common[5057]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 29 14:55:09 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:55:09 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 29 14:55:09 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#39389/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 29 14:55:09 srv4hai common[5067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 29 14:55:09 srv4hai ping_SP[5047]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 29 14:55:09 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'92'=1719665709-1719665617
Jun 29 14:55:10 srv4hai check_presence[5057]: 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
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 29 14:55:10 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'93'=1719665710-1719665617
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 29 14:55:10 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'93'=1719665710-1719665617
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_2.LIVE' for what: 'coming'
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished