activate_scenario.sh
Sun Apr 7 09:04:26 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_0.log)

vorher: 09:04:26.556

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:04:26.641
Dauer: 86 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/07/_1.log)

vorher: 09:04:26.568

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 09:04:26.596
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 09:04:26.538
nachher: 09:04:26.649
Dauer : 111 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/07//scene_buero_UM_20240407_090426.txt'


syslog

Apr  7 09:01:01 srv4hai CRON[9188]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:01:15 srv4hai common[9195]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  7 09:01:25 srv4hai bt_scan[9195]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  7 09:01:25 srv4hai bt_scan[9195]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  7 09:01:25 srv4hai common[9225]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  7 09:01:33 srv4hai common[9336]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  7 09:01:44 srv4hai bt_scan[9336]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Apr  7 09:01:44 srv4hai bt_scan[9336]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr  7 09:01:48 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473308 - 'ping_SP_0'
Apr  7 09:01:48 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:02:01 srv4hai CRON[9390]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 4 msec, shelly-03:'Licht Vorzimmer'
Apr  7 09:02:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9468, secured, session=
Apr  7 09:02:41 srv4hai dovecot: imap(miglincit)<9468>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 09:02:54 srv4hai named[15509]: validating 127.150.216.162.in-addr.arpa/PTR: no valid signature found
Apr  7 09:02:54 srv4hai postfix/smtpd[9475]: connect from 127.150.216.162.bc.googleusercontent.com[162.216.150.127]
Apr  7 09:02:54 srv4hai postfix/smtpd[9475]: warning: non-SMTP command from 127.150.216.162.bc.googleusercontent.com[162.216.150.127]: GET / HTTP/1.1
Apr  7 09:02:54 srv4hai postfix/smtpd[9475]: disconnect from 127.150.216.162.bc.googleusercontent.com[162.216.150.127] unknown=0/1 commands=0/1
Apr  7 09:03:01 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473381 - 'ping_SP_0'
Apr  7 09:03:01 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:03:01 srv4hai CRON[9493]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:03:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  7 09:03:31 srv4hai fetchmail[1651]: 41511 messages (41510 seen) for tmiglinci at mail.akis.at (-845920067 octets).
Apr  7 09:03:31 srv4hai postfix/smtpd[9475]: connect from localhost[127.0.0.1]
Apr  7 09:03:31 srv4hai postfix/smtpd[9475]: 2855260119: client=localhost[127.0.0.1]
Apr  7 09:03:31 srv4hai postfix/cleanup[9501]: 2855260119: message-id=
Apr  7 09:03:31 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41511 of 41511 (269924 octets) not flushed
Apr  7 09:03:31 srv4hai postfix/qmgr[15291]: 2855260119: from=, size=270199, nrcpt=1 (queue active)
Apr  7 09:03:31 srv4hai postfix/smtpd[9475]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  7 09:03:31 srv4hai postfix/local[9502]: 2855260119: to=, relay=local, delay=0.14, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 09:03:31 srv4hai postfix/qmgr[15291]: 2855260119: removed
Apr  7 09:03:31 srv4hai fetchmail[1651]: 10098 messages (10098 seen) for srozum at mail.akis.at (1218720398 octets).
Apr  7 09:03:32 srv4hai fetchmail[1651]: 22711 messages (22710 seen) for mrozum at mail.akis.at (-372472688 octets).
Apr  7 09:03:32 srv4hai postfix/smtpd[9475]: connect from localhost[127.0.0.1]
Apr  7 09:03:32 srv4hai postfix/smtpd[9475]: 532E860119: client=localhost[127.0.0.1]
Apr  7 09:03:32 srv4hai postfix/cleanup[9501]: 532E860119: message-id=
Apr  7 09:03:32 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:22711 of 22711 (270258 octets) not flushed
Apr  7 09:03:32 srv4hai postfix/qmgr[15291]: 532E860119: from=, size=270528, nrcpt=1 (queue active)
Apr  7 09:03:32 srv4hai postfix/smtpd[9475]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  7 09:03:32 srv4hai postfix/local[9502]: 532E860119: to=, relay=local, delay=0.14, delays=0.12/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 09:03:32 srv4hai postfix/qmgr[15291]: 532E860119: removed
Apr  7 09:03:32 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  7 09:04:01 srv4hai CRON[9513]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:04:14 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473454 - 'ping_SP_0'
Apr  7 09:04:14 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:04:26 srv4hai activate_scenario[9545]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  7 09:04:26 srv4hai activate_scenario[9545]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished