2
0

4 Revīzijas e6e159cfc3 ... 3419434d7c

Autors SHA1 Ziņojums Datums
  Patryk M. Gutowski 3419434d7c dashboard for non-user 1 gadu atpakaļ
  Patryk M. Gutowski 98cea7845b move bath_basic to iot network 1 gadu atpakaļ
  Patryk M. Gutowski 19fd1a48e4 gf-bt-proxy-01 scan changed 1 gadu atpakaļ
  Patryk M. Gutowski 24b9601900 ff-bath-bt-proxy-02 update 1 gadu atpakaļ
4 mainītis faili ar 15 papildinājumiem un 8 dzēšanām
  1. 2 2
      bath_basic.yaml
  2. 2 1
      dashboard.sh
  3. 3 3
      ff-bath-bt-proxy-02.yaml
  4. 8 2
      gf-bt-proxy-01.yaml

+ 2 - 2
bath_basic.yaml

@@ -17,8 +17,8 @@ web_server:
   port: 80
   
 wifi:
-  ssid: !secret wifi_ssid
-  password: !secret wifi_password
+  ssid: !secret iot_ssid
+  password: !secret iot_password
   domain: .int.mmax.cloud
 
 logger:

+ 2 - 1
dashboard.sh

@@ -1,2 +1,3 @@
-sudo podman  run --rm -v "${PWD}":/config -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true  --device=/dev/ttyUSB0 -it ghcr.io/esphome/esphome
+#sudo podman  run --rm -v "${PWD}":/config -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true  --device=/dev/ttyUSB0 -it ghcr.io/esphome/esphome
+sudo podman  run --rm -v "${PWD}":/config -p 6052:6052 -e ESPHOME_DASHBOARD_USE_PING=true -it ghcr.io/esphome/esphome:latest
 #sudo podman  run --rm -v "${PWD}":/config -p 6052:6052  --device=/dev/ttyUSB0 -it ghcr.io/esphome/esphome

+ 3 - 3
ff-bath-bt-proxy-02.yaml

@@ -71,8 +71,8 @@ esp32_ble_tracker:
     # enable the built-in coexistence logic in ESP-IDF
     active: true
 
-# bluetooth_proxy:
-#   active: true
+bluetooth_proxy:
+  active: true
 
 sensor:
   - platform: xiaomi_miscale
@@ -102,7 +102,7 @@ sensor:
                 return id(impedance_user_patryk).publish_state(x);}
               else if (id(weight_miscale).state >= id(ala_low) && id(weight_miscale).state <= id(ala_high)) {
                 return id(impedance_user_ala).publish_state(x);}
-    clear_impedance: True
+    # clear_impedance: True
 
   - platform: template
     name: Weight Asia

+ 8 - 2
gf-bt-proxy-01.yaml

@@ -42,11 +42,17 @@ wifi:
 
 esp32_ble_tracker:
   scan_parameters:
-    active: True
+    # active: True
     # We currently use the defaults to ensure Bluetooth
     # can co-exist with WiFi In the future we may be able to
     # enable the built-in coexistence logic in ESP-IDF
-    # active: true
+    active: true
+    interval: 1110ms
+    window: 1100ms
+    #  on_scan_end:
+    #    - then:
+    #      - lambda: |-
+    #          ESP_LOGD("ble_auto", "The scan has ended!");
 
 bluetooth_proxy:
   active: true