activate_scenario.sh
Sat Jul 20 12:54:17 CEST 2024
scenario: vorraumOn
phoneName: 2

'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/07/20/_0.log)

vorher: 12:54:17.727

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: 12:54:17.819
Dauer: 92 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 12:54:17.708
nachher: 12:54:17.825
Dauer : 116 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_vorraumOn_20240720_125417.txt'


syslog

Jul 20 12:51:01 srv4hai CRON[5472]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:51:42 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721472702 - 'ping_SP_1'
Jul 20 12:51:42 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:51:54 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721472714 - 'ping_SP_0'
Jul 20 12:51:54 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 12:52:01 srv4hai CRON[5523]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:52:34 srv4hai postfix/anvil[4454]: statistics: max connection rate 1/60s for (smtp:185.208.158.123) at Jul 20 12:49:14
Jul 20 12:52:34 srv4hai postfix/anvil[4454]: statistics: max connection count 1 for (smtp:185.208.158.123) at Jul 20 12:49:14
Jul 20 12:52:34 srv4hai postfix/anvil[4454]: statistics: max cache size 1 at Jul 20 12:49:14
Jul 20 12:52:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5537, secured, session=
Jul 20 12:52:50 srv4hai dovecot: imap(miglincit)<5537>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 12:52:55 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721472775 - 'ping_SP_1'
Jul 20 12:52:55 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:53:01 srv4hai CRON[5560]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:53:07 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721472787 - 'ping_SP_0'
Jul 20 12:53:07 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 12:53:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 12:53:33 srv4hai fetchmail[1651]: 49045 messages (49045 seen) for tmiglinci at mail.akis.at (-234664225 octets).
Jul 20 12:53:34 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 12:53:34 srv4hai fetchmail[1651]: 24847 messages (24847 seen) for mrozum at mail.akis.at (54030890 octets).
Jul 20 12:53:35 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 12:54:01 srv4hai CRON[5591]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:54:05 srv4hai common[5597]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 12:54:08 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721472848 - 'ping_SP_1'
Jul 20 12:54:08 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:54:15 srv4hai bt_scan[5597]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Jul 20 12:54:15 srv4hai bt_scan[5597]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Jul 20 12:54:15 srv4hai common[5650]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 12:54:15 srv4hai ping_SP[5650]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 20 12:54:15 srv4hai common[5671]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 12:54:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721472857-1721472846
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 20 12:54:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1721472857-1721472846
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 20 12:54:17 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'11'=1721472857-1721472846
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Jul 20 12:54:17 srv4hai check_presence[5671]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Jul 20 12:54:17 srv4hai activate_scenario[5817]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 20 12:54:17 srv4hai activate_scenario[5817]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished