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

 找回密码
 立即注册
12
返回列表 发新帖
楼主: ryanh7

[经验分享] 解决部分小米芯片刷新版本esphome编译出错

[复制链接]

76

主题

1356

帖子

1万

积分

元老级技术达人

积分
18115
金钱
16719
HASS币
290
发表于 2023-3-20 12:37:18 | 显示全部楼层
trz0332 发表于 2023-3-20 11:35
这种方式貌似不能用web,也不支持captive_portal模式了。另外我尝试使用蓝牙代理貌似也不成功。 ...

captive_portal和web_server 提示 this feature is only available with frameworks ['arduino']


后面再加了一行:

esp32_ble_tracker:
#  scan_parameters:
#    interval: 1100ms
#    window: 1100ms
#    active: true

bluetooth_proxy:
  active: true


Linking .pioenvs/mijia-bule-plug/firmware.elf
RAM:   [==        ]  15.8% (used 51904 bytes from 327680 bytes)
Flash: [=======   ]  72.3% (used 1327445 bytes from 1835008 bytes)
Building .pioenvs/mijia-bule-plug/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/mijia-bule-plug/firmware.bin"], [".pioenvs/mijia-bule-plug/firmware.elf"])
Wrote 0x1557d0 bytes to file /config/.esphome/build/mijia-bule-plug/.pioenvs/mijia-bule-plug/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 660.29 seconds ========================
INFO Successfully compiled program.


也可以编译成功,但没有实物刷机测试。
回复

使用道具 举报

50

主题

240

帖子

4260

积分

元老级技术达人

积分
4260
金钱
4010
HASS币
80
 楼主| 发表于 2023-3-20 13:20:50 | 显示全部楼层
trz0332 发表于 2023-3-20 11:36
魔改sdk也用过,但是貌似也是不能开蓝牙,跟楼主的差不多

哪个魔改sdk,有源码地址吗
没意思,跑路了
回复

使用道具 举报

37

主题

395

帖子

4058

积分

元老级技术达人

积分
4058
金钱
3608
HASS币
250
发表于 2023-3-20 16:57:28 | 显示全部楼层
dscao 发表于 2023-3-20 12:37
captive_portal和web_server 提示 this feature is only available with frameworks ['arduino']

可以刷机成功,但是wifi会连不上
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-20 05:59 , Processed in 0.943299 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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