activate_scenario.sh
Thu May 30 14:46:03 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/05/30/_0.log)

vorher: 14:46:03.341

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: 14:46:03.366
Dauer: 25 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 14:46:03.303
nachher: 14:46:03.373
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/30//scene_vorraumOn_20240530_144603.txt'


syslog

May 30 14:43:01 srv4hai CRON[8631]: (root) CMD (/etc/linetest/linetest.sh)
May 30 14:43:20 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717073000 - 'ping_SP_0'
May 30 14:43:20 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 14:44:01 srv4hai CRON[8663]: (root) CMD (/etc/linetest/linetest.sh)
May 30 14:44:34 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717073074 - 'ping_SP_0'
May 30 14:44:34 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 14:44:37 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 30 14:44:38 srv4hai fetchmail[1651]: 45373 messages (45372 seen) for tmiglinci at mail.akis.at (-545904688 octets).
May 30 14:44:38 srv4hai postfix/smtpd[8692]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 30 14:44:38 srv4hai postfix/smtpd[8692]: connect from localhost[127.0.0.1]
May 30 14:44:38 srv4hai postfix/smtpd[8692]: 306A56319A: client=localhost[127.0.0.1]
May 30 14:44:38 srv4hai postfix/cleanup[8695]: 306A56319A: message-id=
May 30 14:44:38 srv4hai postfix/qmgr[31004]: 306A56319A: from=, size=38009, nrcpt=1 (queue active)
May 30 14:44:38 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:45373 of 45373 (37765 octets) not flushed
May 30 14:44:38 srv4hai postfix/local[8696]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 30 14:44:38 srv4hai postfix/smtpd[8692]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May 30 14:44:38 srv4hai postfix/local[8696]: 306A56319A: to=, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 30 14:44:38 srv4hai postfix/qmgr[31004]: 306A56319A: removed
May 30 14:44:38 srv4hai fetchmail[1651]: 10273 messages (10273 seen) for srozum at mail.akis.at (1237436299 octets).
May 30 14:44:39 srv4hai fetchmail[1651]: 23785 messages (23785 seen) for mrozum at mail.akis.at (-185392740 octets).
May 30 14:44:39 srv4hai fetchmail[1651]: 79 messages (79 seen) for admin@bastelstube.wien at pop3.world4you.com (28706511 octets).
May 30 14:45:01 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 106 to 105
May 30 14:45:01 srv4hai CRON[8702]: (root) CMD (/etc/linetest/linetest.sh)
May 30 14:45:47 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717073147 - 'ping_SP_0'
May 30 14:45:47 srv4hai ping_SP[32702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 14:45:52 srv4hai common[8733]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 30 14:46:01 srv4hai CRON[8747]: (root) CMD (/etc/linetest/linetest.sh)
May 30 14:46:02 srv4hai bt_scan[8733]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
May 30 14:46:02 srv4hai bt_scan[8733]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
May 30 14:46:02 srv4hai common[8769]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 30 14:46:02 srv4hai ping_SP[8769]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 30 14:46:02 srv4hai common[8790]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 30 14:46:03 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717073163-1717073162
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
May 30 14:46:03 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717073163-1717073162
May 30 14:46:03 srv4hai check_presence[8790]: 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
May 30 14:46:03 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1717073163-1717073162
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
May 30 14:46:03 srv4hai check_presence[8790]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
May 30 14:46:03 srv4hai activate_scenario[8920]: SHELLY scenario: 'vorraumOn(vorraumon)' started
May 30 14:46:03 srv4hai activate_scenario[8920]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished