ESPHome docs says Deep Sleep Component is for ESP8266/ESP32, do we also have for bk72xx boards? #5631
Unanswered
yaminahacs
asked this question in
Q&A
Replies: 3 comments 3 replies
-
See https://github.com/libretiny-eu/libretiny/blob/master/docs/status/supported.md#feature-support |
Beta Was this translation helpful? Give feedback.
2 replies
-
How do I add it?On Oct 30, 2023, at 20:32, Samuel Sieb ***@***.***> wrote:
See https://github.com/libretiny-eu/libretiny/blob/master/docs/status/supported.md#feature-support
There might be support available for the BK chips, but it needs to be added to esphome.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
did you solve problem how to add deep_sleep to bk72xx boards? it's supported, but where are examples how to use it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to set up Deep Sleep on bk72xx but it is not working. Can anyone help? this is my yaml
substitutions:
name: door-sensor-2
friendly_name: Door Sensor 2
static_ip: 10.0.0.44
esphome:
name: ${name}
friendly_name: ${friendly_name}
bk72xx:
board: generic-bk7231n-qfn32-tuya
logger:
level: VERBOSE
web_server:
captive_portal:
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: ${static_ip}
gateway: 10.0.0.1
subnet: 255.255.255.0
dns1: 8.8.8.8
dns2: 8.8.4.4
Enable fallback hotspot in case wifi connection fails
ap:
ssid: "${friendly_name}"
password: "my_password"
text_sensor:
version:
name: LibreTiny Version
mqtt:
broker: !secret my_broker
username: !secret mqtt_user
password: !secret mqtt_password
discovery: true
binary_sensor:
hardware button
platform: gpio
id: on_off_button
pin:
number: P24
inverted: true
mode: INPUT_PULLUP
platform: gpio
pin:
number: P8
mode:
input: true
pullup: false
inverted: false
name: "${friendly_name}"
device_class: door
id: door_1
on_state:
then:
- light.turn_on: # blink the status LED once when opening/closing the door
id: led
flash_length: 500ms
publish_initial_state: true
on_press:
then:
- mqtt.publish:
topic: doorsensor1/state
payload: "Door Open"
qos: 1
on_release:
then:
- mqtt.publish:
topic: doorsensor1/state
payload: "Door Closed"
qos: 1
sensor:
pin: ADC3
name: "${friendly_name} battery"
update_interval: 90s
raw: true
unit_of_measurement: "%"
accuracy_decimals: 0
filters:
light:
id: led
pin: P26
internal: true
switch:
name: "${friendly_name} Restart"
deep_sleep:
run_duration: 5min
sleep_duration: 60min
Beta Was this translation helpful? Give feedback.
All reactions