6
90
524
高级会员
esphome: name: lcd1602 platform: ESP32 board: esp-wrover-kit wifi: ssid: "************" password: "&**********" captive_portal: # Enable logging logger: # Enable Home Assistant API api: password: "777777" ota: password: "77777" i2c: sda: 33 scl: 32 scan: True mqtt: broker: 192.168.***** username: ****** password: ********** port: 1883 topic_prefix: lcd id: mqtt_lcd display: - platform: lcd_pcf8574 dimensions: 16x2 address: 0x27 id: lcd1602 lambda: |- it.printf("%s", id(mqtt_lcd).lcd.POWER);
使用道具 举报
48
709
4712
元老级技术达人
105
2954
1万
超级版主
智能家居&单板滑雪痴迷爱好者
602293544 发表于 2020-9-7 21:33 mqtt和api只能选一个 官网都没看就来问的吗
Warning When enabling MQTT and you do not use the “native API” for Home Assistant, you must remove the api: line from your ESPHome configuration, otherwise the ESP will reboot every 5 minutes because no client connected to the native API.
22
731
3810
论坛元老
本版积分规则 发表回复 回帖后跳转到最后一页
教程高产大神,简直就是为了教程而生~
长期对论坛的繁荣而不断努力,或多次提出建设性意见
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-11-26 11:44 , Processed in 0.107950 second(s), 28 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.