-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathawox-ble-mesh-hub.yaml
99 lines (78 loc) · 2.26 KB
/
awox-ble-mesh-hub.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
esphome:
name: awox-ble-mesh-hub
friendly_name: "AwoX BLE mesh hub"
esp32:
# Match this with the board your using
board: nodemcu-32s
framework:
# Be sure to "Clean Build Files" when switching framework
type: esp-idf
status_led:
# Match this with the board your using
pin: GPIO2
# Enable logging
logger:
#level: VERY_VERBOSE
# debug:
# update_interval: 5s
# text_sensor:
# - platform: debug
# reset_reason:
# name: "Reset Reason"
# sensor:
# - platform: debug
# free:
# name: "Heap Free"
# loop_time:
# name: "Loop Time"
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_user
password: !secret mqtt_password
# Disable retained discovery messages until you are got the config correct
discovery_retain: False
# Disable Home Assistant API to prevent frequent MQTT disconnections
#api:
ota:
- platform: esphome
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
external_components:
- source:
type: git
url: https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub
ref: main
# ref: dev
# - source:
# type: local
# path: components
esp32_ble_tracker:
scan_parameters:
active: false
awox_mesh:
mesh_name: !secret mesh_name
mesh_password: !secret mesh_password
# Optional options
# address_prefix: A4:C1
# min_rssi: -90 # to prevent that the mesh tries to connect to devices that are out of range
# max_connections: 2 # max 3 connections
# You can give a list of mesh_ids that only should be handled by this device
# Example when you want to setup multiple ESP modules to only control a part of the mesh) be sure to also set allowed_mac_addresses option.
# allowed_mesh_ids:
# - 12345
# - 23456
# - 6758
# You can give a list of mac_addresses that are allowed to connect to (to exclude some devices that are often offline or for the allowed_mesh_ids option)
# allowed_mac_addresses:
# - A4:C1:38:8A:BA:11
# - A4:C1:38:65:AD:22
device_info:
# Example device type, see device info in HomeAssistant or MQTT message to find the 'product_id'
- product_id: 0x32
device_type: RGB
manufacturer: EGLO
name: Spot 120
model: EGLOSpot 120/w
icon: mdi:wall-sconce-flat