activate_scenario.sh
Mon Sep 23 21:05:05 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/09/23/_0.log)

vorher: 21:05:05.206

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: 21:05:05.268
Dauer: 61 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:05:05.185
nachher: 21:05:05.274
Dauer : 88 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/23//scene_vorraumOn_20240923_210505.txt'


syslog

Sep 23 21:02:01 srv4hai CRON[22362]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 21:02:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 23 21:02:07 srv4hai fetchmail[1651]: 52917 messages (52917 seen) for tmiglinci at mail.akis.at (54110400 octets).
Sep 23 21:02:07 srv4hai fetchmail[1651]: 10763 messages (10763 seen) for srozum at mail.akis.at (1305088778 octets).
Sep 23 21:02:08 srv4hai fetchmail[1651]: 26098 messages (26098 seen) for mrozum at mail.akis.at (242629431 octets).
Sep 23 21:02:08 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets).
Sep 23 21:02:24 srv4hai postfix/smtpd[22386]: connect from unknown[87.121.69.202]
Sep 23 21:02:24 srv4hai postfix/smtpd[22386]: warning: unknown[87.121.69.202]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 23 21:02:24 srv4hai postfix/smtpd[22386]: disconnect from unknown[87.121.69.202] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Sep 23 21:02:47 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727118167 - 'ping_SP_0'
Sep 23 21:02:47 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 23 21:02:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22421, secured, session=
Sep 23 21:02:49 srv4hai dovecot: imap(miglincit)<22421>: Logged out in=415 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 23 21:03:01 srv4hai CRON[22428]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 21:04:00 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727118240 - 'ping_SP_0'
Sep 23 21:04:00 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 23 21:04:01 srv4hai CRON[22492]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 21:04:44 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:04:44 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:04:44 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:04:44 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 23 21:04:44 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 23 21:04:44 srv4hai common[22520]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:04:54 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 23 21:04:54 srv4hai common[22539]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 23 21:04:54 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:04:54 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:04:54 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:04:54 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 23 21:04:54 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 23 21:04:54 srv4hai common[22552]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:04:54 srv4hai ping_SP[22539]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 23 21:05:01 srv4hai CRON[22583]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 21:05:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 23 21:05:04 srv4hai common[22601]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 23 21:05:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:05:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 23 21:05:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:05:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 23 21:05:04 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 23 21:05:04 srv4hai named[30406]: client @0x7f9350166000 192.168.12.252#33245/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 23 21:05:04 srv4hai common[22612]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 23 21:05:04 srv4hai common[22620]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 23 21:05:04 srv4hai ping_SP[22601]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 23 21:05:04 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1727118304-1727118302
Sep 23 21:05:04 srv4hai check_presence[22612]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 23 21:05:04 srv4hai check_presence[22612]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 23 21:05:04 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1727118304-1727118302
Sep 23 21:05:05 srv4hai check_presence[22612]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 23 21:05:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1727118305-1727118302
Sep 23 21:05:05 srv4hai check_presence[22612]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 23 21:05:05 srv4hai check_presence[22612]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 23 21:05:05 srv4hai check_presence[22612]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 23 21:05:05 srv4hai check_presence[22612]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 23 21:05:05 srv4hai activate_scenario[22784]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 23 21:05:05 srv4hai activate_scenario[22784]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished