activate_scenario.sh
Sun Jun 9 14:05:12 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/06/09/_0.log)

vorher: 14:05:12.272

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:05:12.296
Dauer: 25 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 14:05:12.250
nachher: 14:05:12.303
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/09//scene_vorraumOn_20240609_140512.txt'


syslog

Jun  9 14:02:01 srv4hai CRON[11080]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 14:02:15 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717934535 - 'ping_SP_0'
Jun  9 14:02:15 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  9 14:02:22 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717934542 - 'ping_SP_1'
Jun  9 14:02:22 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  9 14:02:43 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  9 14:02:44 srv4hai fetchmail[1651]: 46029 messages (46029 seen) for tmiglinci at mail.akis.at (-497257903 octets).
Jun  9 14:02:44 srv4hai fetchmail[1651]: 10311 messages (10311 seen) for srozum at mail.akis.at (1240103697 octets).
Jun  9 14:02:45 srv4hai fetchmail[1651]: 23978 messages (23976 seen) for mrozum at mail.akis.at (-160264500 octets).
Jun  9 14:02:45 srv4hai postfix/smtpd[11128]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  9 14:02:45 srv4hai postfix/smtpd[11128]: connect from localhost[127.0.0.1]
Jun  9 14:02:45 srv4hai postfix/smtpd[11128]: 9674060189: client=localhost[127.0.0.1]
Jun  9 14:02:45 srv4hai postfix/cleanup[11131]: 9674060189: message-id=<202409061201.ugv2fe5kj7mrj@shared-p200-i17.d.sp2-brevo.net>
Jun  9 14:02:45 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:23977 of 23978 (61644 octets) not flushed
Jun  9 14:02:45 srv4hai postfix/qmgr[31004]: 9674060189: from=, size=61884, nrcpt=1 (queue active)
Jun  9 14:02:45 srv4hai postfix/local[11132]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  9 14:02:45 srv4hai postfix/smtpd[11128]: A8B4460197: client=localhost[127.0.0.1]
Jun  9 14:02:45 srv4hai postfix/cleanup[11131]: A8B4460197: message-id=
Jun  9 14:02:45 srv4hai postfix/local[11132]: 9674060189: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun  9 14:02:45 srv4hai postfix/qmgr[31004]: 9674060189: removed
Jun  9 14:02:45 srv4hai postfix/qmgr[31004]: A8B4460197: from=, size=413662, nrcpt=1 (queue active)
Jun  9 14:02:45 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:23978 of 23978 (413379 octets) not flushed
Jun  9 14:02:45 srv4hai postfix/smtpd[11128]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jun  9 14:02:45 srv4hai postfix/local[11132]: A8B4460197: to=, relay=local, delay=0.18, delays=0.16/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun  9 14:02:45 srv4hai postfix/qmgr[31004]: A8B4460197: removed
Jun  9 14:02:46 srv4hai fetchmail[1651]: 105 messages (105 seen) for admin@bastelstube.wien at pop3.world4you.com (40278459 octets).
Jun  9 14:03:01 srv4hai CRON[11137]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 14:03:28 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717934608 - 'ping_SP_0'
Jun  9 14:03:28 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  9 14:03:35 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717934615 - 'ping_SP_1'
Jun  9 14:03:35 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  9 14:03:41 srv4hai named[30406]: validating chat.signal.org/CNAME: no valid signature found
Jun  9 14:03:42 srv4hai named[30406]: validating storage.signal.org/CNAME: no valid signature found
Jun  9 14:03:46 srv4hai postfix/smtpd[11128]: connect from unknown[194.169.175.212]
Jun  9 14:03:46 srv4hai postfix/smtpd[11128]: warning: unknown[194.169.175.212]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  9 14:03:46 srv4hai postfix/smtpd[11128]: disconnect from unknown[194.169.175.212] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun  9 14:03:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11189, secured, session=
Jun  9 14:03:54 srv4hai dovecot: imap(miglincit)<11189>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun  9 14:04:01 srv4hai CRON[11193]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 14:04:41 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717934681 - 'ping_SP_0'
Jun  9 14:04:41 srv4hai ping_SP[7651]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  9 14:04:48 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717934688 - 'ping_SP_1'
Jun  9 14:04:48 srv4hai ping_SP[7981]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  9 14:05:01 srv4hai common[11241]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  9 14:05:01 srv4hai CRON[11255]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 14:05:11 srv4hai bt_scan[11241]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Jun  9 14:05:11 srv4hai bt_scan[11241]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Jun  9 14:05:11 srv4hai common[11278]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  9 14:05:11 srv4hai ping_SP[11278]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun  9 14:05:11 srv4hai common[11299]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  9 14:05:12 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1717934712-1717934707
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  9 14:05:12 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1717934712-1717934707
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  9 14:05:12 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'5'=1717934712-1717934707
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(BT/LIVE) (__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun  9 14:05:12 srv4hai check_presence[11299]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Jun  9 14:05:12 srv4hai activate_scenario[11446]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  9 14:05:12 srv4hai activate_scenario[11446]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished