js_url:https://esphome.io/_static/webserver-v1.min.js# js文件,不设置默认就这个,后续官方更新才用上。 INFO:会同时启用HTTP RESTful API。 api组件 本地api服务(esphome自己通信协议) api: reboot_timeout: $api_reboot_timeout # 无客户端访问设备API自动重启,默认5min WARN:不使用Home Assistant的集成...
subnet:255.255.255.0dns1:192.168.1.1dns2:8.8.8.8#reboot_timeout: $wifi_reboot_timeout ...
key: "4aHfpCnSugBxiFPzCCPtuUFXUvLeXQ7gRGDXNcoCqCY=" reboot_timeout: 0s # 没有连接HA,默认10min会重启一次,设置为0s,将不再重启 1. 2. 3. 4. 18.定义全局变量 定义一个全局变量,开启一个定时器,每隔10s增加1 yaml globals: - id: my_counter type: int restore_value: no initial_value: '...
esphome: name: esp32-cam esp32: board: esp32dev framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: reboot_timeout: 0s ota: password: "1" wifi: ssid: "blue_sky" password: "720805zzy" # Enable fallback hotspot (captive portal) in case wifi connection ...
boot:priority:-10then:-light.turn_on:blue_led_lightwifi:ssid:"xxx"password:"xxx"reboot_timeout...
reboot_timeout: $wifi_reboot_timeout # 无wifi连接自动重启时间,默认5min power_save_mode: none # 节能模式,启用的话不会一直连接wifi fast_connect: $wifi_fast_connect # 快速连接,不执行完整的wifi扫描,当存在多个相同wifi可能会直接连接到最弱的信号 ...
secret wifi_password # Optional manual IP manual_ip: static_ip: 192.168.1.45 gateway: 192.168.1.1 subnet: 255.255.255.0 dns1: 192.168.1.2 reboot_timeout: !secret reboot_timeout output_power: !secret output_power uart: id: ld2410_uart tx_pin: 17 rx_pin: 16 baud_rate: 256000 parity: ...
reboot_timeout(可选,时间):在没有MQTT连接时重新启动前等待的时间。可以通过将此设置为0s来禁⽤。默认为15min。keepalive(可选,时间):保持MQTT插座活⼒的时间,减少这⼀点有助于整体稳定性,因为WiFi流量更多,ping更多。默认为15秒。on_connect(可选,⾃动化):与经纪⼈建⽴连接时要执⾏的操作。on...
name: "ESP Reboot" - platform: factory_reset disabled_by_default: True name: "Factory Reset ESP" id: factory_reset_all - platform: ld2410 factory_reset: name: "Factory Reset Radar" restart: name: "Restart Radar" query_params: name: query params ...
The problem uptime sensor doesn't usually go beyond 5-20 mins even with reboot_timeout: 0s on api. This is after upgrading esphome to 2022.9.3 and homeassistant core to 2022.10.0. Removing active on bluetooth_proxy prolongs the uptime bu...