activate_scenario.sh
Sun Aug 4 19:45:48 CEST 2024
scenario: vorraumOn
phoneName: 1

'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/08/04/_0.log)

vorher: 19:45:48.450

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: 19:45:48.548
Dauer: 98 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 19:45:48.432
nachher: 19:45:48.554
Dauer : 123 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/04//scene_vorraumOn_20240804_194548.txt'


syslog

Aug  4 19:42:01 srv4hai CRON[27840]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 19:42:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27851, secured, session=
Aug  4 19:42:19 srv4hai dovecot: imap(miglincit)<27851>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 19:42:37 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722793357 - 'ping_SP_0'
Aug  4 19:42:37 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 19:42:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27877, secured, session=
Aug  4 19:42:51 srv4hai dovecot: imap(miglincit)<27877>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 19:43:00 srv4hai postfix/anvil[26614]: statistics: max connection rate 1/60s for (smtp:80.94.92.156) at Aug  4 19:39:00
Aug  4 19:43:00 srv4hai postfix/anvil[26614]: statistics: max connection count 1 for (smtp:80.94.92.156) at Aug  4 19:39:00
Aug  4 19:43:00 srv4hai postfix/anvil[26614]: statistics: max cache size 2 at Aug  4 19:39:00
Aug  4 19:43:01 srv4hai CRON[27879]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 19:43:32 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug  4 19:43:40 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722793420 - 'ping_SP_0'
Aug  4 19:43:40 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 19:44:01 srv4hai CRON[27913]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 19:44:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  4 19:44:41 srv4hai fetchmail[1651]: 50064 messages (50064 seen) for tmiglinci at mail.akis.at (-161957053 octets).
Aug  4 19:44:42 srv4hai fetchmail[1651]: 10548 messages (10548 seen) for srozum at mail.akis.at (1267557768 octets).
Aug  4 19:44:42 srv4hai fetchmail[1651]: 25126 messages (25126 seen) for mrozum at mail.akis.at (86539258 octets).
Aug  4 19:44:43 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722793483 - 'ping_SP_0'
Aug  4 19:44:43 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 19:44:43 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  4 19:45:01 srv4hai CRON[28015]: (root) CMD (/etc/linetest/linetest.sh)
Aug  4 19:45:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28032, secured, session=
Aug  4 19:45:19 srv4hai dovecot: imap(miglincit)<28032>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  4 19:45:46 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722793546 - 'ping_SP_0'
Aug  4 19:45:46 srv4hai ping_SP[12882]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  4 19:45:47 srv4hai common[28058]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  4 19:45:47 srv4hai bt_scan[28058]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Aug  4 19:45:47 srv4hai bt_scan[28058]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Aug  4 19:45:47 srv4hai common[28098]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  4 19:45:47 srv4hai ping_SP[28098]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Aug  4 19:45:47 srv4hai common[28146]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  4 19:45:48 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1722793548-1722793547
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug  4 19:45:48 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1722793548-1722793547
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  4 19:45:48 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1722793548-1722793547
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Aug  4 19:45:48 srv4hai check_presence[28146]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Aug  4 19:45:48 srv4hai activate_scenario[28319]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug  4 19:45:48 srv4hai activate_scenario[28319]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished