activate_scenario.sh
Tue Jun 11 23:16:53 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/06/11/_0.log)

vorher: 23:16:53.819

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

nachher: 23:16:53.863
Dauer: 43 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:16:53.797
nachher: 23:16:53.869
Dauer : 73 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/11//scene_bedlight_tom_20240611_231653.txt'


syslog

Jun 11 23:13:01 srv4hai CRON[23540]: (root) CMD (/etc/linetest/linetest.sh)
Jun 11 23:13:38 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718140418 - 'ping_SP_1'
Jun 11 23:13:38 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 11 23:14:01 srv4hai CRON[23575]: (root) CMD (/etc/linetest/linetest.sh)
Jun 11 23:14:06 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718140446 - 'ping_SP_0'
Jun 11 23:14:06 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 11 23:14:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23602, secured, session=
Jun 11 23:14:17 srv4hai dovecot: imap(miglincit)<23602>: 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 11 23:14:51 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718140491 - 'ping_SP_1'
Jun 11 23:14:51 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 11 23:15:01 srv4hai CRON[23628]: (root) CMD (/etc/linetest/linetest.sh)
Jun 11 23:15:19 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718140519 - 'ping_SP_0'
Jun 11 23:15:19 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 11 23:15:35 srv4hai postfix/smtpd[23654]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 11 23:15:35 srv4hai postfix/smtpd[23654]: connect from unknown[185.196.10.27]
Jun 11 23:15:35 srv4hai postfix/smtpd[23654]: warning: unknown[185.196.10.27]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 11 23:15:35 srv4hai postfix/smtpd[23654]: disconnect from unknown[185.196.10.27] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 11 23:16:01 srv4hai CRON[23667]: (root) CMD (/etc/linetest/linetest.sh)
Jun 11 23:16:04 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1718140564 - 'ping_SP_1'
Jun 11 23:16:04 srv4hai ping_SP[14467]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun 11 23:16:09 srv4hai common[23688]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 11 23:16:19 srv4hai bt_scan[23688]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 11 23:16:19 srv4hai bt_scan[23688]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 11 23:16:19 srv4hai common[23721]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 11 23:16:19 srv4hai postfix/anvil[20893]: statistics: max connection rate 1/60s for (smtp:156.96.56.22) at Jun 11 23:06:19
Jun 11 23:16:19 srv4hai postfix/anvil[20893]: statistics: max connection count 1 for (smtp:156.96.56.22) at Jun 11 23:06:19
Jun 11 23:16:19 srv4hai postfix/anvil[20893]: statistics: max cache size 2 at Jun 11 23:06:59
Jun 11 23:16:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718140580-1718140569
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 11 23:16:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1718140580-1718140569
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jun 11 23:16:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718140580-1718140569
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jun 11 23:16:20 srv4hai check_presence[23721]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 11 23:16:26 srv4hai common[23877]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 11 23:16:32 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718140592 - 'ping_SP_0'
Jun 11 23:16:32 srv4hai ping_SP[32357]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 11 23:16:36 srv4hai bt_scan[23877]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 11 23:16:36 srv4hai bt_scan[23877]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 11 23:16:53 srv4hai activate_scenario[23931]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jun 11 23:16:53 srv4hai activate_scenario[23931]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished