|
@@ -56,9 +56,6 @@ ota:
|
|
|
|
|
|
|
|
|
|
|
|
|
# 3. EXTERNAL COMPONENTS USED
|
|
# 3. EXTERNAL COMPONENTS USED
|
|
|
-external_components:
|
|
|
|
|
- - source: github://tube0013/esphome-stream-server-v2
|
|
|
|
|
-
|
|
|
|
|
dashboard_import:
|
|
dashboard_import:
|
|
|
package_import_url: github://smlight-dev/slzb-06-fw-esphome/configs/th-bt.yaml
|
|
package_import_url: github://smlight-dev/slzb-06-fw-esphome/configs/th-bt.yaml
|
|
|
|
|
|
|
@@ -87,10 +84,11 @@ uart:
|
|
|
baud_rate: 460800
|
|
baud_rate: 460800
|
|
|
|
|
|
|
|
## Stream Server
|
|
## Stream Server
|
|
|
-stream_server:
|
|
|
|
|
- uart_id: uart_bus
|
|
|
|
|
- id: streamServer
|
|
|
|
|
- port: 6638
|
|
|
|
|
|
|
+uart_tcp:
|
|
|
|
|
+ - id: streamServer
|
|
|
|
|
+ uart_id: uart_bus
|
|
|
|
|
+ role: server
|
|
|
|
|
+ port: 6638
|
|
|
|
|
|
|
|
## MDNS service settings
|
|
## MDNS service settings
|
|
|
mdns:
|
|
mdns:
|
|
@@ -171,9 +169,10 @@ binary_sensor:
|
|
|
on_press:
|
|
on_press:
|
|
|
then:
|
|
then:
|
|
|
- switch.toggle: modeSwitchTemplate
|
|
- switch.toggle: modeSwitchTemplate
|
|
|
- - platform: stream_server
|
|
|
|
|
- stream_server: streamServer
|
|
|
|
|
- name: "SLZB-06* Serial Connected"
|
|
|
|
|
|
|
+ - platform: uart_tcp
|
|
|
|
|
+ uart_tcp_id: streamServer
|
|
|
|
|
+ connected:
|
|
|
|
|
+ name: "SLZB-06* Serial Connected"
|
|
|
|
|
|
|
|
# 7. SWITCHES
|
|
# 7. SWITCHES
|
|
|
## ESP32 Restart
|
|
## ESP32 Restart
|