-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathnilan602.yaml
More file actions
54 lines (43 loc) · 857 Bytes
/
Copy pathnilan602.yaml
File metadata and controls
54 lines (43 loc) · 857 Bytes
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
esphome:
name: nilan602
friendly_name: nilan602
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Nilan602 Fallback Hotspot"
password: ""
captive_portal:
packages:
remote_package:
url: https://github.com/Jopand/esphome_components
ref: main
files: [components/nilan/all.yaml]
refresh: 0s
uart:
rx_pin: 20
tx_pin: 21
parity: EVEN
baud_rate: 19200
id: uart_modbus
stop_bits: 1
modbus:
id: modbus_id
flow_control_pin: 3
uart_id: uart_modbus
modbus_controller:
id: nilan_modbus_controller
address: 30
modbus_id: modbus_id
update_interval: 30s