add esphome devices
This commit is contained in:
55
esphome/presense-office.yaml
Normal file
55
esphome/presense-office.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
esphome:
|
||||
name: presense-office
|
||||
friendly_name: presense-office
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
fast_connect: True
|
||||
domain: .cloonar.smart
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Presense-Office Fallback Hotspot"
|
||||
password: "jMTo5YkCC01q"
|
||||
|
||||
captive_portal:
|
||||
|
||||
bluetooth_proxy:
|
||||
|
||||
external_components:
|
||||
- source: github://koying/esphome-ble-remote@master
|
||||
components: [ ble_client_hid ]
|
||||
|
||||
ble_client:
|
||||
- id: ble_client_1
|
||||
mac_address: "90:f8:2e:f9:d7:32" # Replace with your remote's MAC address
|
||||
|
||||
ble_client_hid:
|
||||
- id: ble_client_hid_1
|
||||
ble_client_id: ble_client_1
|
||||
|
||||
sensor:
|
||||
- platform: ble_client_hid
|
||||
type: last_event_value
|
||||
name: "Last Event Value"
|
||||
ble_client_hid_id: ble_client_hid_1
|
||||
|
||||
text_sensor:
|
||||
- platform: ble_client_hid
|
||||
name: "Last Event Usage"
|
||||
ble_client_hid_id: ble_client_hid_1
|
||||
Reference in New Issue
Block a user