Added:
OnBoard LED to turn on while ESP is not connected to MQTT for pingpongfuss and tablesoccer Changed: Garage to no use NO power saving while on wifi
This commit is contained in:
@@ -2,6 +2,10 @@ esphome:
|
||||
name: pingfuss1
|
||||
platform: ESP8266
|
||||
board: nodemcuv2
|
||||
on_boot:
|
||||
priority: 300
|
||||
then:
|
||||
- output.turn_on: st_led
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
@@ -27,6 +31,20 @@ mqtt:
|
||||
broker: !secret mqtt_broker_1
|
||||
username: !secret mqtt_broker_1_username
|
||||
password: !secret mqtt_broker_1_password
|
||||
on_connect:
|
||||
then:
|
||||
- output.turn_off: st_led
|
||||
on_disconnect:
|
||||
then:
|
||||
- output.turn_on: st_led
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: D0
|
||||
mode: output
|
||||
inverted: true
|
||||
id: st_led
|
||||
|
||||
# Example configuration entry
|
||||
binary_sensor:
|
||||
|
Reference in New Issue
Block a user