activate_scenario.sh
Fri Sep 13 21:17:53 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/09/13/_0.log)

vorher: 21:17:53.193

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: 21:17:53.218
Dauer: 25 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:17:53.158
nachher: 21:17:53.224
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_211753.txt'


syslog

Sep 13 21:14:01 srv4hai CRON[2783]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 21:14:12 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726254852 - 'ping_SP_1'
Sep 13 21:14:12 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 21:14:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 13 21:14:53 srv4hai fetchmail[1651]: 52281 messages (52281 seen) for tmiglinci at mail.akis.at (9408644 octets).
Sep 13 21:14:53 srv4hai fetchmail[1651]: 10716 messages (10716 seen) for srozum at mail.akis.at (1301407812 octets).
Sep 13 21:14:54 srv4hai fetchmail[1651]: 25900 messages (25900 seen) for mrozum at mail.akis.at (208757848 octets).
Sep 13 21:14:54 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 13 21:15:01 srv4hai CRON[2898]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 21:15:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2932, secured, session=
Sep 13 21:15:17 srv4hai dovecot: imap(pilsc)<2932>: Logged out in=82 out=717 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 13 21:15:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2934, secured, session=
Sep 13 21:15:17 srv4hai dovecot: imap(pilsc)<2934>: Logged out in=44 out=2133 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 13 21:15:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2938, secured, session=
Sep 13 21:15:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2939, secured, session=
Sep 13 21:15:17 srv4hai dovecot: imap(pilsc)<2939>: Logged out in=1927 out=5757 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 13 21:15:17 srv4hai dovecot: imap(pilsc)<2938>: Logged out in=546 out=35737 deleted=0 expunged=0 trashed=0 hdr_count=70 hdr_bytes=18929 body_count=0 body_bytes=0
Sep 13 21:15:25 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726254925 - 'ping_SP_1'
Sep 13 21:15:25 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 21:15:34 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 13 21:16:01 srv4hai CRON[3007]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 21:16:39 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726254999 - 'ping_SP_1'
Sep 13 21:16:39 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 21:16:48 srv4hai dhcpd[30731]: reuse_lease: lease age 3267 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.12.44
Sep 13 21:16:48 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.44 from 6a:77:15:11:07:85 via enp2s0
Sep 13 21:16:48 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.44 to 6a:77:15:11:07:85 via enp2s0
Sep 13 21:17:01 srv4hai CRON[3086]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Sep 13 21:17:01 srv4hai CRON[3087]: (root) CMD (/etc/linetest/linetest.sh)
Sep 13 21:17:37 srv4hai dhcpd[30731]: reuse_lease: lease age 3316 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.12.44
Sep 13 21:17:37 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.44 from 6a:77:15:11:07:85 via enp2s0
Sep 13 21:17:37 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.44 to 6a:77:15:11:07:85 via enp2s0
Sep 13 21:17:42 srv4hai common[3134]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 13 21:17:52 srv4hai bt_scan[3134]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 13 21:17:52 srv4hai bt_scan[3134]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 13 21:17:52 srv4hai common[3178]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 13 21:17:52 srv4hai ping_SP[3178]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 13 21:17:52 srv4hai common[3199]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 13 21:17:52 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726255072 - 'ping_SP_1'
Sep 13 21:17:52 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 13 21:17:52 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1726255072-1726255071
Sep 13 21:17:52 srv4hai check_presence[3199]: 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
Sep 13 21:17:52 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1726255072-1726255071
Sep 13 21:17:52 srv4hai check_presence[3199]: 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
Sep 13 21:17:52 srv4hai check_presence[3199]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 13 21:17:52 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1726255072-1726255071
Sep 13 21:17:52 srv4hai check_presence[3199]: 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 13 21:17:52 srv4hai check_presence[3199]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 13 21:17:53 srv4hai check_presence[3199]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 13 21:17:53 srv4hai check_presence[3199]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 13 21:17:53 srv4hai activate_scenario[3345]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 13 21:17:53 srv4hai activate_scenario[3345]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished