activate_scenario.sh
Thu Sep 5 04:05:51 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/05/_0.log)

vorher: 04:05:51.916

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 04:05:51.944
Dauer: 28 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/05/_1.log)

vorher: 04:05:51.932

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 04:05:51.977
Dauer: 44 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 04:05:51.894
nachher: 04:05:51.983
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/05//scene_herdzeile_UM_20240905_040551.txt'


syslog

Sep  5 04:02:01 srv4hai CRON[21578]: (root) CMD (/etc/linetest/linetest.sh)
Sep  5 04:02:50 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725501770 - 'ping_SP_0'
Sep  5 04:02:50 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  5 04:02:52 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725501772 - 'ping_SP_1'
Sep  5 04:02:52 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  5 04:03:01 srv4hai CRON[21669]: (root) CMD (/etc/linetest/linetest.sh)
Sep  5 04:03:28 srv4hai postfix/smtpd[21693]: connect from unknown[94.141.120.77]
Sep  5 04:03:28 srv4hai postfix/smtpd[21693]: warning: unknown[94.141.120.77]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep  5 04:03:28 srv4hai postfix/smtpd[21693]: disconnect from unknown[94.141.120.77] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep  5 04:03:56 srv4hai common[21727]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  5 04:04:01 srv4hai CRON[21746]: (root) CMD (/etc/linetest/linetest.sh)
Sep  5 04:04:04 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725501844 - 'ping_SP_0'
Sep  5 04:04:04 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  5 04:04:06 srv4hai bt_scan[21727]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep  5 04:04:06 srv4hai bt_scan[21727]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep  5 04:04:06 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725501846 - 'ping_SP_1'
Sep  5 04:04:06 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  5 04:05:01 srv4hai CRON[21847]: (root) CMD (/etc/linetest/linetest.sh)
Sep  5 04:05:17 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725501917 - 'ping_SP_0'
Sep  5 04:05:17 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  5 04:05:19 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725501919 - 'ping_SP_1'
Sep  5 04:05:19 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  5 04:05:24 srv4hai common[21908]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  5 04:05:34 srv4hai bt_scan[21908]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep  5 04:05:34 srv4hai bt_scan[21908]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep  5 04:05:34 srv4hai common[21947]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  5 04:05:34 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1725501934-1725501924
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep  5 04:05:34 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1725501934-1725501924
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep  5 04:05:34 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1725501934-1725501924
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
Sep  5 04:05:34 srv4hai check_presence[21947]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep  5 04:05:51 srv4hai activate_scenario[22107]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Sep  5 04:05:51 srv4hai activate_scenario[22107]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished