activate_scenario.sh
Sat Mar 2 18:18:13 CET 2024
scenario: vorraumOn
phoneName: 0

'night' <--> DayTime=unchecked , 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/03/02/_0.log)

vorher: 18:18:13.590

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: 18:18:13.658
Dauer: 67 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 18:18:13.572
nachher: 18:18:13.664
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/02//scene_vorraumOn_20240302_181813.txt'


syslog

Mar  2 18:15:01 srv4hai CRON[8431]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 18:15:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8438, secured, session=
Mar  2 18:15:02 srv4hai dovecot: imap(miglincit)<8438>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  2 18:15:13 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709399713 - 'ping_SP_1'
Mar  2 18:15:13 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 18:15:41 srv4hai postfix/smtpd[8462]: connect from unknown[194.55.186.234]
Mar  2 18:15:41 srv4hai postfix/smtpd[8462]: warning: unknown[194.55.186.234]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  2 18:15:41 srv4hai postfix/smtpd[8462]: disconnect from unknown[194.55.186.234] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar  2 18:16:01 srv4hai CRON[8471]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 18:16:27 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709399787 - 'ping_SP_1'
Mar  2 18:16:27 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 18:17:01 srv4hai CRON[8512]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar  2 18:17:01 srv4hai CRON[8513]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 18:17:40 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709399860 - 'ping_SP_1'
Mar  2 18:17:40 srv4hai ping_SP[1207]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 18:18:01 srv4hai CRON[8547]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 18:18:02 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Mar  2 18:18:02 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar  2 18:18:02 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar  2 18:18:02 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Mar  2 18:18:02 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Mar  2 18:18:02 srv4hai common[8551]: SHELLY common.sh inkludiert
Mar  2 18:18:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8563, secured, session=<3tLHrLASit0AAAAAAAAAAAAAAAAAAAAB>
Mar  2 18:18:02 srv4hai dovecot: imap(miglincit)<8563><3tLHrLASit0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  2 18:18:03 srv4hai common[8566]: SHELLY common.sh inkludiert
Mar  2 18:18:12 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Mar  2 18:18:12 srv4hai common[8583]: SHELLY common.sh inkludiert
Mar  2 18:18:12 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Mar  2 18:18:12 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar  2 18:18:12 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar  2 18:18:12 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Mar  2 18:18:12 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Mar  2 18:18:12 srv4hai common[8594]: SHELLY common.sh inkludiert
Mar  2 18:18:12 srv4hai ping_SP[8583]: SHELLY ping_SP.sh started from smartphone
Mar  2 18:18:13 srv4hai bt_scan[8566]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  2 18:18:13 srv4hai bt_scan[8566]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Mar  2 18:18:13 srv4hai common[8627]: SHELLY common.sh inkludiert
Mar  2 18:18:13 srv4hai ping_SP[8627]: SHELLY ping_SP.sh started from bt_scan
Mar  2 18:18:13 srv4hai common[8637]: SHELLY common.sh inkludiert
Mar  2 18:18:13 srv4hai check_presence[8637]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Mar  2 18:18:13 srv4hai check_presence[8637]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  2 18:18:13 srv4hai check_presence[8637]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  2 18:18:13 srv4hai check_presence[8637]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  2 18:18:13 srv4hai check_presence[8637]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Mar  2 18:18:13 srv4hai activate_scenario[8690]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Mar  2 18:18:13 srv4hai activate_scenario[8690]: SHELLY dayState='night' <--> DayTime=unchecked NightTime=checked - phoneName:'0'

finished