1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Improv - BLE WiFi provisioning (#1807)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Jesse Hills
2021-06-08 11:56:21 +12:00
committed by GitHub
parent 33625e2dd3
commit a70a205ace
40 changed files with 2422 additions and 42 deletions

View File

@@ -17,9 +17,10 @@ be tested on the same device.
Current test_.yaml file contents.
| Test name | Platform | Network |
|-|-|-|
| test1.yaml | ESP32 | wifi |
| test2.yaml | ESP32 | ethernet |
| test3.yaml | ESP8266 | wifi |
| test4.yaml | ESP32 | ethernet |
| Test name | Platform | Network | BLE |
|-|-|-|-|
| test1.yaml | ESP32 | wifi | None
| test2.yaml | ESP32 | ethernet | esp32_ble_tracker
| test3.yaml | ESP8266 | wifi | N/A
| test4.yaml | ESP32 | ethernet | None
| test5.yaml | ESP32 | wifi | ble_server

36
tests/test5.yaml Normal file
View File

@@ -0,0 +1,36 @@
esphome:
name: test5
platform: ESP32
board: nodemcu-32s
build_path: build/test5
wifi:
networks:
- ssid: 'MySSID'
password: 'password1'
api:
ota:
logger:
binary_sensor:
- platform: gpio
pin: GPIO0
id: io0_button
output:
- platform: gpio
pin: GPIO2
id: built_in_led
esp32_ble:
server:
manufacturer: "ESPHome"
model: "Test5"
esp32_improv:
authorizer: io0_button
authorized_duration: 1min
status_indicator: built_in_led