『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: riceball

自制开源ESPHome通用蓝牙网关(ESP32)

  [复制链接]

0

主题

10

帖子

119

积分

注册会员

Rank: 2

积分
119
金钱
109
HASS币
0
发表于 2024-8-6 15:27:46 | 显示全部楼层
rolay8 发表于 2024-5-15 23:02
大佬,请问下,日志扫描到设备了,但是ble monitor下面还是空的
15:01:08][C][wifi:416]:   IP Address: 10 ...

我也是,老版本还可以用,home assistant重装了以后就找不到不到设备了
回复

使用道具 举报

1

主题

16

帖子

110

积分

注册会员

Rank: 2

积分
110
金钱
94
HASS币
0
发表于 2024-12-2 22:49:58 | 显示全部楼层
我在win平台上编译,出现错误,不知道为什么,不知道有人遇到过么。。
src/esphome/components/logger/logger_esp32.cpp: In member function 'void esphome::logger::Logger::pre_setup()':
src/esphome/components/logger/logger_esp32.cpp:123:29: error: 'Serial' was not declared in this scope
         this->hw_serial_ = &Serial;
                             ^~~~~~
src/esphome/components/logger/logger_esp32.cpp:123:29: note: suggested alternative: 'Serial1'
         this->hw_serial_ = &Serial;
                             ^~~~~~
                             Serial1
Compiling .pioenvs\blegateway1\src\esphome\components\mdns\mdns_rp2040.cpp.o
src/esphome/components/logger/logger.cpp: In member function 'virtual void esphome::logger::Logger::loop()':
src/esphome/components/logger/logger.cpp:158:17: error: 'Serial' was not declared in this scope
   if (opened == Serial) {
                 ^~~~~~
src/esphome/components/logger/logger.cpp:158:17: note: suggested alternative: 'Serial1'
   if (opened == Serial) {
                 ^~~~~~
                 Serial1
*** [.pioenvs\blegateway1\src\esphome\components\logger\logger_esp32.cpp.o] Error 1
*** [.pioenvs\blegateway1\src\esphome\components\logger\logger.cpp.o] Error 1
========================= [FAILED] Took 20.60 seconds =========================
回复

使用道具 举报

0

主题

4

帖子

26

积分

新手上路

Rank: 1

积分
26
金钱
22
HASS币
0
发表于 昨天 12:51 | 显示全部楼层
执行“esphome compile xxx.yaml”报错:"UnknownPackageError: Could not find the package with 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'linux_x86_64'"
解决办法:修改 xxx.yaml中“platform_version: 5.1.1” -》“platform_version: 5.3.0”
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-27 08:54 , Processed in 0.277993 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表