activate_scenario.sh
Mon Apr 15 22:09:20 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/04/15/_0.log)

vorher: 22:09:20.363

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: 22:09:20.390
Dauer: 27 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:09:20.341
nachher: 22:09:20.397
Dauer : 55 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/15//scene_bedlight_tom_20240415_220920.txt'


syslog

Apr 15 22:06:01 srv4hai CRON[12663]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 22:06:12 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713211572 - 'ping_SP_0'
Apr 15 22:06:12 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 22:06:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12713, secured, session=
Apr 15 22:06:41 srv4hai dovecot: imap(miglincit)<12713>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 22:06:43 srv4hai common[12715]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 15 22:06:53 srv4hai bt_scan[12715]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 15 22:06:53 srv4hai bt_scan[12715]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 15 22:06:53 srv4hai common[12758]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 15 22:06:54 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1713211614-1713211603
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 15 22:06:54 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1713211614-1713211603
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 15 22:06:54 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1713211614-1713211603
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 15 22:06:54 srv4hai check_presence[12758]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 15 22:07:01 srv4hai CRON[12886]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 22:07:02 srv4hai ping_SP[26588]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713211622 - 'ping_SP_1'
Apr 15 22:07:02 srv4hai ping_SP[26588]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 15 22:07:25 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713211645 - 'ping_SP_0'
Apr 15 22:07:25 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 22:07:35 srv4hai postfix/anvil[12417]: statistics: max connection rate 1/60s for (smtp:87.121.105.109) at Apr 15 22:03:07
Apr 15 22:07:35 srv4hai postfix/anvil[12417]: statistics: max connection count 1 for (smtp:87.121.105.109) at Apr 15 22:03:07
Apr 15 22:07:35 srv4hai postfix/anvil[12417]: statistics: max cache size 1 at Apr 15 22:03:07
Apr 15 22:07:39 srv4hai postfix/smtpd[12950]: connect from unknown[165.154.12.38]
Apr 15 22:07:40 srv4hai postfix/smtpd[12950]: lost connection after CONNECT from unknown[165.154.12.38]
Apr 15 22:07:40 srv4hai postfix/smtpd[12950]: disconnect from unknown[165.154.12.38] commands=0/0
Apr 15 22:07:40 srv4hai postfix/smtpd[12950]: connect from unknown[165.154.12.38]
Apr 15 22:07:58 srv4hai postfix/smtpd[12950]: lost connection after CONNECT from unknown[165.154.12.38]
Apr 15 22:07:58 srv4hai postfix/smtpd[12950]: disconnect from unknown[165.154.12.38] commands=0/0
Apr 15 22:07:58 srv4hai postfix/smtpd[12950]: connect from unknown[165.154.12.38]
Apr 15 22:07:59 srv4hai postfix/smtpd[12950]: warning: unknown[165.154.12.38]: SASL NTLM authentication failed: Invalid authentication mechanism
Apr 15 22:07:59 srv4hai postfix/smtpd[12950]: lost connection after UNKNOWN from unknown[165.154.12.38]
Apr 15 22:07:59 srv4hai postfix/smtpd[12950]: disconnect from unknown[165.154.12.38] ehlo=1 auth=0/1 unknown=0/1 commands=1/3
Apr 15 22:08:01 srv4hai CRON[12967]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 22:08:15 srv4hai ping_SP[26588]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713211695 - 'ping_SP_1'
Apr 15 22:08:15 srv4hai ping_SP[26588]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 15 22:08:18 srv4hai postfix/smtpd[12950]: connect from unknown[87.121.105.109]
Apr 15 22:08:18 srv4hai postfix/smtpd[12950]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 15 22:08:18 srv4hai postfix/smtpd[12950]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 15 22:08:38 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713211718 - 'ping_SP_0'
Apr 15 22:08:38 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 22:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 15 22:09:01 srv4hai CRON[13075]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 22:09:01 srv4hai CRON[13076]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 15 22:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 15 22:09:02 srv4hai systemd[1]: Started Clean php session files.
Apr 15 22:09:20 srv4hai activate_scenario[13180]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Apr 15 22:09:20 srv4hai activate_scenario[13180]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished