-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-rpi2.yaml
executable file
·116 lines (111 loc) · 2.49 KB
/
config-rpi2.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
general:
company_name: domIoT
device_name: hostname # 'hostname' will be replaced with device hostname
manufacturer: Raspberry pi foundation
sw_version: domIoT (beta) v0.3
model: PI3B
platforms: # sensor that interfere with lora or ble must be commented
- bme280
- bh1750
- dht
# - onewire
status_leds:
- pin: 19
name: green
interval: 0.3
- pin: 13
name: red
interval: 0.3
version: 0.1
scan_interval: 600
temperature:
unit_of_measurement: °C
device_class: temperature
humidity:
unit_of_measurement: "%"
device_class: humidity
battery:
unit_of_measurement: "%"
device_class: battery
pressure:
unit_of_measurement: mB
device_class: pressure
illuminance:
unit_of_measurement: lux
device_class: illuminance
mqtt:
auto_configure: True
host: localhost
# host: rpi.clota.com
port: 1883
user: pi
password: domiot
mqtt_delay: 0.5
discovery_prefix: homeassistant
sensor: sensor
state: state
command: command
config: config
built_in: built in # bulti in sensors name
# lora_config:
# carrier_frequency: 434.0 # MHz
# bandwidth: 125.0 # kHz
# spreading_factor: 9
# coding rate: 7
# sync word: 0x12
# output power: 17 dBm
# current limit: 100 mA
# preamble length: 8 symbols
# amplifier gain: 0 (automatic gain control)
lora:
- device: node_mcu_25794f
manufacturer: domIoT
sw_version: v0.1
model: LoRa sensor
scan_interval: 600 # in seconds
sensors:
- sensor: dht22
monitored_conditions:
- temperature
- humidity
# - sensor: w1
# monitored_conditions:
# - temperature
# - device: node_mcu
# sensors:
# - sensor: ambient
# monitored_conditions:
# - temperature
# - humidity
# - pressure
# - sensor: onewire
# monitored_conditions:
# - temperature
# - device: wemos
# sensors:
# - sensor: ambient
# monitored_conditions:
# - temperature
# - humidity
# - pressure
# ble:
# - device: Outdoors
# platform: LYWSD03MMC
# manufacturer: Xiaomi
# sw_version: XX
# model: LYWSD03MMC
# mac: A4:C1:38:89:F7:CA
# monitored_conditions:
# - temperature
# - humidity
# - battery
keys_commands:
'u': update
'1': relay 1
'2': relay 2
'0': timer 0
'3': timer 30
'6': timer 60
'9': timer 90
't': timer value
'r': restart