activate_scenario.sh
Wed Apr 17 12:48:19 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/04/17/_0.log)

vorher: 12:48:19.749

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: 12:48:19.786
Dauer: 36 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 12:48:19.722
nachher: 12:48:19.792
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/17//scene_vorraumOn_20240417_124819.txt'


syslog

Apr 17 12:45:01 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 55 to 56
Apr 17 12:45:01 srv4hai CRON[4240]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 12:45:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 17 12:45:09 srv4hai fetchmail[1651]: 42229 messages (42226 seen) for tmiglinci at mail.akis.at (-772175861 octets).
Apr 17 12:45:09 srv4hai postfix/smtpd[4004]: connect from localhost[127.0.0.1]
Apr 17 12:45:09 srv4hai postfix/smtpd[4004]: 6F2EB6022E: client=localhost[127.0.0.1]
Apr 17 12:45:09 srv4hai postfix/cleanup[1733]: 6F2EB6022E: message-id=<20240417104211.1ED7E6022F@mail.viehai.at>
Apr 17 12:45:09 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42227 of 42229 (15068 octets) not flushed
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 6F2EB6022E: from=, size=15382, nrcpt=1 (queue active)
Apr 17 12:45:09 srv4hai postfix/local[4250]: 6F2EB6022E: to=, relay=local, delay=0.08, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 6F2EB6022E: removed
Apr 17 12:45:09 srv4hai postfix/smtpd[4004]: 8192F6022E: client=localhost[127.0.0.1]
Apr 17 12:45:09 srv4hai postfix/cleanup[1733]: 8192F6022E: message-id=<20240417104318.70BA26022F@mail.viehai.at>
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 8192F6022E: from=, size=31185, nrcpt=1 (queue active)
Apr 17 12:45:09 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42228 of 42229 (30801 octets) not flushed
Apr 17 12:45:09 srv4hai postfix/local[4250]: 8192F6022E: to=, relay=local, delay=0.07, delays=0.05/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 8192F6022E: removed
Apr 17 12:45:09 srv4hai postfix/smtpd[4004]: 9513C6022E: client=localhost[127.0.0.1]
Apr 17 12:45:09 srv4hai postfix/cleanup[1733]: 9513C6022E: message-id=<20240417104352.35C0D6022F@mail.viehai.at>
Apr 17 12:45:09 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42229 of 42229 (50336 octets) not flushed
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 9513C6022E: from=, size=50800, nrcpt=1 (queue active)
Apr 17 12:45:09 srv4hai postfix/smtpd[4004]: disconnect from localhost[127.0.0.1] ehlo=1 mail=3 rcpt=3 data=3 quit=1 commands=11
Apr 17 12:45:09 srv4hai postfix/local[4250]: 9513C6022E: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 17 12:45:09 srv4hai postfix/qmgr[15291]: 9513C6022E: removed
Apr 17 12:45:10 srv4hai fetchmail[1651]: 10140 messages (10140 seen) for srozum at mail.akis.at (1225309099 octets).
Apr 17 12:45:10 srv4hai fetchmail[1651]: 22919 messages (22919 seen) for mrozum at mail.akis.at (-322275634 octets).
Apr 17 12:45:11 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 17 12:45:11 srv4hai ping_SP[4054]: SHELLY (2) - ping 192.168.12.63 2 sucessfully  @~1713350711 - 'ping_SP_2'
Apr 17 12:45:11 srv4hai ping_SP[4054]: SHELLY (2) - ping 192.168.12.63 pCnt:'1'
Apr 17 12:46:01 srv4hai CRON[4288]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 12:46:07 srv4hai postfix/anvil[28571]: statistics: max connection rate 1/60s for (smtp:62.193.105.197) at Apr 17 12:36:47
Apr 17 12:46:07 srv4hai postfix/anvil[28571]: statistics: max connection count 1 for (smtp:62.193.105.197) at Apr 17 12:36:47
Apr 17 12:46:07 srv4hai postfix/anvil[28571]: statistics: max cache size 2 at Apr 17 12:44:13
Apr 17 12:46:34 srv4hai ping_SP[4054]: SHELLY (2)- ping 192.168.12.63 1 not answered (1) @~1713350794 - 'ping_SP_2'
Apr 17 12:47:01 srv4hai CRON[4320]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 12:47:07 srv4hai ping_SP[4054]: SHELLY (2)- ping 192.168.12.63 2 not answered (1) @~1713350827 - 'ping_SP_2'
Apr 17 12:47:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4340, secured, session=
Apr 17 12:47:09 srv4hai dovecot: imap(miglincit)<4340>: Logged out in=665 out=41651 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=17462 body_count=0 body_bytes=0
Apr 17 12:47:40 srv4hai ping_SP[4054]: SHELLY (2)- ping 192.168.12.63 3 not answered (1) @~1713350860 - 'ping_SP_2'
Apr 17 12:47:50 srv4hai common[4364]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 17 12:47:52 srv4hai postfix/smtpd[4378]: connect from unknown[62.193.105.197]
Apr 17 12:47:53 srv4hai postfix/smtpd[4378]: warning: unknown[62.193.105.197]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 17 12:47:53 srv4hai postfix/smtpd[4378]: disconnect from unknown[62.193.105.197] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 17 12:48:00 srv4hai bt_scan[4364]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'No'
Apr 17 12:48:00 srv4hai bt_scan[4364]: SHELLY - lost BT-connection to BTmac: '2' found: 'No' - check presence
Apr 17 12:48:00 srv4hai common[4399]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 17 12:48:01 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713350881-1713350870
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 17 12:48:01 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1713350881-1713350870
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 17 12:48:01 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713350881-1713350870
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_2.TRY' for what: 'presence'
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (bt_scan)-(2) what: 'presence' - persPresent: '(__/__) (__/__) (__/TRY)' - anyPresent: 'true' - otherPresent:'false'
Apr 17 12:48:01 srv4hai check_presence[4399]: SHELLY (bt_scan)-(2)-presence: NOT activate_scenario.shtml: offAll
Apr 17 12:48:01 srv4hai CRON[4554]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 12:48:08 srv4hai common[4563]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 17 12:48:14 srv4hai ping_SP[4054]: SHELLY (2)- ping 192.168.12.63 4 not answered (1) @~1713350894 - 'ping_SP_2'
Apr 17 12:48:18 srv4hai bt_scan[4563]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Apr 17 12:48:18 srv4hai bt_scan[4563]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Apr 17 12:48:18 srv4hai common[4607]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 17 12:48:18 srv4hai ping_SP[4607]: SHELLY ping_SP.sh started from bt_scan
Apr 17 12:48:18 srv4hai common[4625]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 17 12:48:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713350899-1713350889
Apr 17 12:48:19 srv4hai check_presence[4625]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 17 12:48:19 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713350899-1713350889
Apr 17 12:48:19 srv4hai check_presence[4625]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 17 12:48:19 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'10'=1713350899-1713350889
Apr 17 12:48:19 srv4hai check_presence[4625]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Apr 17 12:48:19 srv4hai check_presence[4625]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/__) (__/__) (BT/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 17 12:48:19 srv4hai check_presence[4625]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Apr 17 12:48:19 srv4hai activate_scenario[4748]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 17 12:48:19 srv4hai activate_scenario[4748]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished