activate_scenario.sh
Tue Sep 17 09:19:53 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/17/_0.log)

vorher: 09:19:53.493

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:19:53.541
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/17/_1.log)

vorher: 09:19:53.511

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:19:53.541
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 09:19:53.470
nachher: 09:19:53.549
Dauer : 80 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/17//scene_buero_UM_20240917_091953.txt'


syslog

Sep 17 09:16:01 srv4hai CRON[11729]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 09:16:13 srv4hai postfix/anvil[11473]: statistics: max connection rate 1/60s for (smtp:154.9.2.12) at Sep 17 09:10:24
Sep 17 09:16:13 srv4hai postfix/anvil[11473]: statistics: max connection count 1 for (smtp:154.9.2.12) at Sep 17 09:10:24
Sep 17 09:16:13 srv4hai postfix/anvil[11473]: statistics: max cache size 1 at Sep 17 09:10:24
Sep 17 09:16:35 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726557395 - 'ping_SP_0'
Sep 17 09:16:35 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 09:17:01 srv4hai CRON[11794]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 09:17:01 srv4hai CRON[11795]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Sep 17 09:17:16 srv4hai common[11810]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 17 09:17:16 srv4hai bt_scan[11810]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 17 09:17:16 srv4hai bt_scan[11810]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 17 09:17:16 srv4hai common[11841]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 17 09:17:16 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1726557436-1726557436
Sep 17 09:17:16 srv4hai check_presence[11841]: 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
Sep 17 09:17:16 srv4hai check_presence[11841]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 17 09:17:16 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1726557436-1726557436
Sep 17 09:17:16 srv4hai check_presence[11841]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 17 09:17:16 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1726557436-1726557436
Sep 17 09:17:16 srv4hai check_presence[11841]: 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
Sep 17 09:17:16 srv4hai check_presence[11841]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 17 09:17:16 srv4hai check_presence[11841]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 17 09:17:16 srv4hai check_presence[11841]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 17 09:17:38 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726557458 - 'ping_SP_0'
Sep 17 09:17:38 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 09:18:01 srv4hai CRON[12016]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 09:18:21 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 17 09:18:41 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726557521 - 'ping_SP_0'
Sep 17 09:18:41 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 09:19:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 17 09:19:00 srv4hai fetchmail[1651]: 52483 messages (52482 seen) for tmiglinci at mail.akis.at (21604653 octets).
Sep 17 09:19:01 srv4hai postfix/smtpd[12071]: connect from localhost[127.0.0.1]
Sep 17 09:19:01 srv4hai postfix/smtpd[12071]: 1118E6345A: client=localhost[127.0.0.1]
Sep 17 09:19:01 srv4hai postfix/cleanup[12074]: 1118E6345A: message-id=<01020191fed71cdc-8febad11-ce36-466b-9b25-bf287e29eb80-000000@eu-west-1.amazonses.com>
Sep 17 09:19:01 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52483 of 52483 (77080 octets) not flushed
Sep 17 09:19:01 srv4hai postfix/qmgr[8566]: 1118E6345A: from=, size=77308, nrcpt=1 (queue active)
Sep 17 09:19:01 srv4hai postfix/smtpd[12071]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 17 09:19:01 srv4hai postfix/local[12075]: 1118E6345A: to=, relay=local, delay=0.11, delays=0.08/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 17 09:19:01 srv4hai postfix/qmgr[8566]: 1118E6345A: removed
Sep 17 09:19:01 srv4hai fetchmail[1651]: 10728 messages (10728 seen) for srozum at mail.akis.at (1302329459 octets).
Sep 17 09:19:01 srv4hai CRON[12078]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 09:19:02 srv4hai fetchmail[1651]: 25966 messages (25965 seen) for mrozum at mail.akis.at (220835216 octets).
Sep 17 09:19:02 srv4hai postfix/smtpd[12071]: connect from localhost[127.0.0.1]
Sep 17 09:19:02 srv4hai postfix/smtpd[12071]: 5A8FC6345A: client=localhost[127.0.0.1]
Sep 17 09:19:02 srv4hai postfix/cleanup[12074]: 5A8FC6345A: message-id=<4AFEEFF8-89A9-4A57-AAC9-AF21BDA3F971@gmail.com>
Sep 17 09:19:02 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:25966 of 25966 (18538 octets) not flushed
Sep 17 09:19:02 srv4hai postfix/qmgr[8566]: 5A8FC6345A: from=, size=18818, nrcpt=1 (queue active)
Sep 17 09:19:02 srv4hai postfix/local[12075]: 5A8FC6345A: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 17 09:19:02 srv4hai postfix/qmgr[8566]: 5A8FC6345A: removed
Sep 17 09:19:02 srv4hai postfix/smtpd[12071]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 17 09:19:02 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 17 09:19:28 srv4hai common[12101]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 17 09:19:28 srv4hai bt_scan[12101]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 17 09:19:28 srv4hai bt_scan[12101]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 17 09:19:45 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726557585 - 'ping_SP_0'
Sep 17 09:19:45 srv4hai ping_SP[27352]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 17 09:19:53 srv4hai activate_scenario[12165]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 17 09:19:53 srv4hai activate_scenario[12165]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished