mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-10 04:19:24 +02:00
64 lines
1.2 KiB
YAML
64 lines
1.2 KiB
YAML
#
|
|
# See:
|
|
# - https://esphome.io/components/esp32.html
|
|
# - https://esphome.io/components/esp32_ble_beacon.html
|
|
# - https://esphome.io/components/web_server.html
|
|
# - https://esphome.io/web-api/
|
|
# - https://registry.platformio.org/platforms/platformio/espressif32/boards
|
|
# - https://owntracks.org/booklet/features/beacons/
|
|
#
|
|
|
|
esphome:
|
|
name: esphome-esp32c3-ibeacon
|
|
platform: esp32
|
|
board: dfrobot_beetle_esp32c3
|
|
|
|
logger:
|
|
|
|
api:
|
|
password: !secret api_password
|
|
|
|
ota:
|
|
password: !secret ota_password
|
|
|
|
wifi:
|
|
ssid: !secret wifi_ssid
|
|
password: !secret wifi_password
|
|
domain: !secret wifi_domain
|
|
ap:
|
|
ssid: !secret wifi_ap_ssid
|
|
password: !secret wifi_ap_password
|
|
|
|
captive_portal:
|
|
|
|
web_server:
|
|
port: 80
|
|
version: 2
|
|
auth:
|
|
username: !secret web_server_username
|
|
password: !secret web_server_password
|
|
|
|
#mqtt:
|
|
# broker: broker.hivemq.com
|
|
# port: 1883
|
|
# username: !secret mqtt_username
|
|
# password: !secret mqtt_password
|
|
|
|
esp32_ble_beacon:
|
|
type: iBeacon
|
|
uuid: "00000000-0000-0000-0000-000000000000"
|
|
major: 11111
|
|
minor: 22222
|
|
min_interval: 100ms
|
|
max_interval: 5s
|
|
measured_power: -59
|
|
tx_power: 3
|
|
|
|
light:
|
|
- name: "NeoPixel Light"
|
|
platform: neopixelbus
|
|
type: GRB
|
|
variant: WS2812
|
|
pin: GPIO8
|
|
num_leds: 1
|