FEAT : maj delai sub mqtt
This commit is contained in:
parent
a8422623c8
commit
3499a321b1
@ -43,13 +43,13 @@ modbus_controller:
|
||||
modbus_id: modbus1
|
||||
setup_priority: -10
|
||||
command_throttle: 2s
|
||||
update_interval: 4s
|
||||
update_interval: 14s
|
||||
- id: modbus_controller2
|
||||
address: 2
|
||||
modbus_id: modbus1
|
||||
setup_priority: -10
|
||||
command_throttle: 2s
|
||||
update_interval: 4s
|
||||
update_interval: 14s
|
||||
|
||||
sensor:
|
||||
- platform: modbus_controller
|
||||
|
||||
@ -22,17 +22,6 @@ esp32:
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: GPIO21 # essaie GPIO10 d'abord, si ça ne marche pas, tente GPIO21
|
||||
id: led_builtin
|
||||
|
||||
# Fait clignoter la LED toutes les secondes
|
||||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- output.toggle: led_builtin
|
||||
|
||||
uart:
|
||||
tx_pin: GPIO17 # Il faut les inverser !!!!
|
||||
rx_pin: GPIO16
|
||||
@ -57,6 +46,9 @@ output:
|
||||
- platform: gpio
|
||||
pin: GPIO23
|
||||
id: bouton_rouge
|
||||
# - platform: gpio
|
||||
# pin: GPIO21 # essaie GPIO10 d'abord, si ça ne marche pas, tente GPIO21
|
||||
# id: led_builtin
|
||||
|
||||
globals:
|
||||
- id: low_power_count
|
||||
|
||||
Loading…
Reference in New Issue
Block a user