10
184
1822
论坛技术达人
sauron 发表于 2024-1-12 22:25 连mqtt好像会不断重启,不知道是不是个例
logger: level: DEBUG baud_rate: 0 debug: update_interval: 5s text_sensor: - platform: debug device: name: "Device Info" reset_reason: name: "Reset Reason" sensor: - platform: debug free: name: "Heap Free" fragmentation: name: "Heap Fragmentation" block: name: "Heap Max Block" loop_time: name: "Loop Time"
使用道具 举报
jjcs 发表于 2024-1-13 19:42 贴主的esphome代码格式堪称典范,高内聚低耦合,这下其他电表数据都可以交给esphome处理了。话说能研究一下 ...
yuyuye 发表于 2024-1-14 10:25 先感谢大佬作品。 我第一次接触esphome,有些问题请教下,如有路过的大佬也请不吝赐教,再次谢过。 我是 ...
INFO ESPHome 2023.12.5 INFO Reading configuration /config/test.yaml... INFO Generating C++ source... INFO Compiling app... Processing powerboard-debug (board: esp12e; framework: arduino; platform: platformio/[email protected]) -------------------------------------------------------------------------------- Library Manager: Installing esphome/ESPAsyncTCP-esphome @ 2.0.0 INFO Installing esphome/ESPAsyncTCP-esphome @ 2.0.0 Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 3.1.0 INFO Installing esphome/ESPAsyncWebServer-esphome @ 3.1.0 Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! Library Manager: Resolving dependencies... INFO Resolving dependencies... Library Manager: Installing ottowinter/ESPAsyncTCP-esphome INFO Installing ottowinter/ESPAsyncTCP-esphome Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! Library Manager: Installing esphome/noise-c @ 0.1.4 INFO Installing esphome/noise-c @ 0.1.4 Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! Library Manager: Resolving dependencies... INFO Resolving dependencies... Library Manager: Installing esphome/libsodium @ 1.10018.1 INFO Installing esphome/libsodium @ 1.10018.1 Unpacking [####################################] 100% Library Manager: [email protected] has been installed! INFO [email protected] has been installed! HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash Dependency Graph |-- ESPAsyncTCP-esphome @ 2.0.0 |-- ESPAsyncWebServer-esphome @ 3.1.0 |-- DNSServer @ 1.1.1 |-- ESP8266WiFi @ 1.0 |-- ESP8266mDNS @ 1.2 |-- noise-c @ 0.1.4 Compiling .pioenvs/powerboard-debug/src/esphome/components/api/api_connection.cpp.o Compiling .pioenvs/powerboard-debug/src/esphome/components/api/api_frame_helper.cpp.o Compiling .pioenvs/powerboard-debug/src/esphome/components/api/api_pb2.cpp.o Compiling .pioenvs/powerboard-debug/src/esphome/components/api/api_pb2_service.cpp.o Compiling .pioenvs/powerboard-debug/src/esphome/components/api/api_server.cpp.o Compiling .pioenvs/powerboard-debug/src/esphome/components/api/list_entities.cpp.o
wangshao032 发表于 2024-1-14 14:04 大佬,ota最新版本后,网页端不显示设备密匙了,需要重新线刷以前的版本吗 ...
ap_password: "12345678" api_password: "12345678" ota_password: "12345678" api_key: "Uo5EDAtxfUi/R1IS9JQZyj1KQf+UkbEDHK93g24g14o="
2
86
929
高级会员
szlww 发表于 2024-1-14 16:20 我没用mqtt模式,用的是api模式。你添加一下下面的yaml配置,可以显示重启原因 ...
sauron 发表于 2024-1-14 19:06 加上debug后我看不到信息了,具体的就是web server上的text_sensor是空的 而且在加入debug之前,wifi位 ...
Warning If you enable 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 15 minutes because no client connected to the native API.
wifi: #使用use_address对使用mac地址修饰esphome:name的设备进行ota或者查看日志 use_address: 192.168.1.173
#log指定组件的打印级别 logger: level: DEBUG #logs: # sensor: WARN # sensor.filter: WARN # sy7t609: WARN # json: INFO # api.service: INFO # uart.arduino_esp8266: INFO # scheduler: INFO # text_sensor: INFO baud_rate: 0
46
1654
6672
论坛元老
szlww 发表于 2024-1-14 16:23 峰谷计算挺简单,可以加参数配置,动态调整。等这个版本跑的差不多稳定了,就加上。 ...
7
349
3227
szlww 发表于 2024-1-14 16:29 安装命令:docker pull esphome/esphome:2023.11.4 运行命令: docker run -d --name="ESPHome" -v /etc/l ...
Download cmcc-powerbord-sy7t609.yaml INFO ESPHome 2023.12.5 INFO Reading configuration /config/cmcc-powerbord-sy7t609.yaml... INFO Generating C++ source... INFO Compiling app... Processing cmcc-powerboard (board: esp_wroom_02; framework: arduino; platform: platformio/[email protected]) -------------------------------------------------------------------------------- HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash Dependency Graph |-- ESPAsyncTCP-esphome @ 2.0.0 |-- ESPAsyncWebServer-esphome @ 3.1.0 |-- DNSServer @ 1.1.1 |-- ESP8266WiFi @ 1.0 |-- ESP8266mDNS @ 1.2 |-- noise-c @ 0.1.4 |-- ArduinoJson @ 6.18.5 Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/api_connection.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/api_frame_helper.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/api_pb2.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/api_pb2_service.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/api_server.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/list_entities.cpp.o sh: 1: xtensa-lx106-elf-g++: not found Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/proto.cpp.o sh: 1: xtensa-lx106-elf-g++: not found *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/api_connection.cpp.o] Error 127 Compiling .pioenvs/cmcc-powerboard/src/esphome/components/api/subscribe_state.cpp.o *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/api_frame_helper.cpp.o] Error 127 *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/api_pb2.cpp.o] Error 127 *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/api_pb2_service.cpp.o] Error 127 *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/api_server.cpp.o] Error 127 *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/list_entities.cpp.o] Error 127 *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/proto.cpp.o] Error 127 sh: 1: xtensa-lx106-elf-g++: not found *** [.pioenvs/cmcc-powerboard/src/esphome/components/api/subscribe_state.cpp.o] Error 127 ========================== [FAILED] Took 6.09 seconds ==========================
8
870
5218
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-11-22 05:00 , Processed in 0.325101 second(s), 33 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.