activate_scenario.sh
Sat Jul 20 09:17:47 CEST 2024
scenario: vorraumOn
phoneName: 1

'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: 09:17:47.745

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: 09:17:47.858
Dauer: 113 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 09:17:47.727
nachher: 09:17:47.864
Dauer : 137 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_vorraumOn_20240720_091747.txt'


syslog

Jul 20 09:14:01 srv4hai CRON[2798]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:14:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2807, secured, session=<9LjhjqgdhuYAAAAAAAAAAAAAAAAAAAAB>
Jul 20 09:14:09 srv4hai dovecot: imap(miglincit)<2807><9LjhjqgdhuYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=265 out=1683 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 09:14:11 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459651 - 'ping_SP_0'
Jul 20 09:14:11 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:14:37 srv4hai postfix/smtpd[2826]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 09:14:37 srv4hai postfix/smtpd[2826]: connect from streamlined.monitoring.internet-measurement.com[87.236.176.59]
Jul 20 09:14:43 srv4hai postfix/smtpd[2826]: disconnect from streamlined.monitoring.internet-measurement.com[87.236.176.59] ehlo=1 starttls=1 quit=1 commands=3
Jul 20 09:15:01 srv4hai CRON[2832]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:15:14 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459714 - 'ping_SP_0'
Jul 20 09:15:14 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:16:01 srv4hai CRON[2871]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:16:17 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459777 - 'ping_SP_0'
Jul 20 09:16:17 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:16:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 09:16:31 srv4hai fetchmail[1651]: 49039 messages (49039 seen) for tmiglinci at mail.akis.at (-234828618 octets).
Jul 20 09:16:31 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 09:16:32 srv4hai fetchmail[1651]: 24842 messages (24842 seen) for mrozum at mail.akis.at (48644285 octets).
Jul 20 09:16:32 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 09:16:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2904, secured, session=
Jul 20 09:16:50 srv4hai dovecot: imap(miglincit)<2904>: 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 09:16:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2906, secured, session=
Jul 20 09:16:53 srv4hai dovecot: imap(miglincit)<2906>: 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 09:17:01 srv4hai CRON[2912]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 20 09:17:01 srv4hai CRON[2913]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:17:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2921, secured, session=
Jul 20 09:17:09 srv4hai dovecot: imap(miglincit)<2921>: Logged out in=265 out=1683 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 09:17:20 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459840 - 'ping_SP_0'
Jul 20 09:17:20 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:17:46 srv4hai common[2948]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 09:17:46 srv4hai bt_scan[2948]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jul 20 09:17:46 srv4hai bt_scan[2948]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jul 20 09:17:46 srv4hai common[2979]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 09:17:46 srv4hai ping_SP[2979]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 20 09:17:46 srv4hai common[3000]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: 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
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: 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
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished