activate_scenario.sh
Sun Apr 21 20:27:07 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/04/21/_0.log)

vorher: 20:27:08.032

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: 20:27:08.067
Dauer: 35 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 20:27:08.009
nachher: 20:27:08.074
Dauer : 65 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/21//scene_vorraumOn_20240421_202707.txt'


syslog

Apr 21 20:24:01 srv4hai CRON[31973]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 20:24:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31998, secured, session=<4+z7bp8WKo0AAAAAAAAAAAAAAAAAAAAB>
Apr 21 20:24:37 srv4hai dovecot: imap(miglincit)<31998><4+z7bp8WKo0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 21 20:25:00 srv4hai sntp[32021]: sntp 4.2.8p12@1.3728-o (1)
Apr 21 20:25:00 srv4hai sntp[32021]: 2024-04-21 20:25:00.655106 (-0100) +0.000224 +/- 0.000256 time.google.com 216.239.35.4 s1 no-leap
Apr 21 20:25:01 srv4hai CRON[32027]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 20:25:02 srv4hai ping_SP[3828]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713723902 - 'ping_SP_0'
Apr 21 20:25:02 srv4hai ping_SP[3828]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 21 20:25:06 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713723906 - 'ping_SP_1'
Apr 21 20:25:06 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 21 20:25:24 srv4hai common[32078]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 21 20:25:34 srv4hai bt_scan[32078]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 21 20:25:34 srv4hai bt_scan[32078]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 21 20:25:34 srv4hai common[32116]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713723935-1713723924
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1713723935-1713723924
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 21 20:25:35 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713723935-1713723924
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 21 20:25:35 srv4hai check_presence[32116]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 21 20:26:01 srv4hai CRON[32251]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 20:26:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 21 20:26:17 srv4hai fetchmail[1651]: 42634 messages (42634 seen) for tmiglinci at mail.akis.at (-745811174 octets).
Apr 21 20:26:18 srv4hai fetchmail[1651]: 10158 messages (10158 seen) for srozum at mail.akis.at (1226622622 octets).
Apr 21 20:26:18 srv4hai fetchmail[1651]: 23010 messages (23010 seen) for mrozum at mail.akis.at (-309076931 octets).
Apr 21 20:26:19 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 21 20:26:19 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713723979 - 'ping_SP_1'
Apr 21 20:26:19 srv4hai ping_SP[20110]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 21 20:26:25 srv4hai ping_SP[3828]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1713723985 - 'ping_SP_0'
Apr 21 20:26:57 srv4hai common[32331]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 21 20:26:58 srv4hai ping_SP[3828]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1713724018 - 'ping_SP_0'
Apr 21 20:27:01 srv4hai CRON[32362]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 20:27:07 srv4hai bt_scan[32331]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 21 20:27:07 srv4hai bt_scan[32331]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 21 20:27:07 srv4hai common[32388]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 21 20:27:07 srv4hai ping_SP[32388]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 21 20:27:07 srv4hai common[32409]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027
Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027
Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Apr 21 20:27:07 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1713724027-1713724027
Apr 21 20:27:07 srv4hai check_presence[32409]: 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
Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 21 20:27:07 srv4hai check_presence[32409]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 21 20:27:07 srv4hai activate_scenario[32514]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 21 20:27:07 srv4hai activate_scenario[32514]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished