activate_scenario.sh
Tue Aug 13 23:57:35 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/08/13/_0.log)

vorher: 23:57:35.853

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 23:57:35.879
Dauer: 26 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 23:57:35.813
nachher: 23:57:35.885
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/13//scene_pcOFF_20240813_235735.txt'


syslog

Aug 13 23:54:01 srv4hai CRON[18066]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 23:55:01 srv4hai CRON[18093]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 23:55:12 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723586112 - 'ping_SP_0'
Aug 13 23:55:12 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 13 23:55:14 srv4hai common[18116]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 13 23:55:24 srv4hai bt_scan[18116]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 13 23:55:24 srv4hai bt_scan[18116]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 13 23:55:24 srv4hai common[18148]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 13 23:55:25 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1723586125-1723586114
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 13 23:55:25 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1723586125-1723586114
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 13 23:55:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1723586125-1723586114
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Aug 13 23:55:25 srv4hai check_presence[18148]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 13 23:56:01 srv4hai CRON[18305]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 23:56:25 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723586185 - 'ping_SP_0'
Aug 13 23:56:25 srv4hai ping_SP[17543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 13 23:56:39 srv4hai nmbd[2172]: [2024/08/13 23:56:39.404244,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Aug 13 23:56:39 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Aug 13 23:56:39 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Aug 13 23:56:39 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Aug 13 23:56:41 srv4hai common[18336]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 13 23:56:51 srv4hai bt_scan[18336]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug 13 23:56:51 srv4hai bt_scan[18336]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Aug 13 23:56:55 srv4hai postfix/smtpd[18373]: connect from unknown[94.141.120.36]
Aug 13 23:56:55 srv4hai postfix/smtpd[18373]: warning: unknown[94.141.120.36]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug 13 23:56:55 srv4hai postfix/smtpd[18373]: lost connection after AUTH from unknown[94.141.120.36]
Aug 13 23:56:55 srv4hai postfix/smtpd[18373]: disconnect from unknown[94.141.120.36] ehlo=1 auth=0/1 commands=1/2
Aug 13 23:57:02 srv4hai CRON[18376]: (root) CMD (/etc/linetest/linetest.sh)
Aug 13 23:57:35 srv4hai dovecot: imap(miglincit)<3815>: Logged out in=3595 out=410379 deleted=0 expunged=0 trashed=0 hdr_count=5 hdr_bytes=1973 body_count=5 body_bytes=316595
Aug 13 23:57:35 srv4hai activate_scenario[18392]: SHELLY scenario: 'pcOFF(pcoff)' started
Aug 13 23:57:35 srv4hai activate_scenario[18392]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished