找回密码
 立即注册
搜索
楼主: ryanh7

[经验分享]

[复制链接]

79

主题

1386

回帖

2万

积分

元老级技术达人

积分
28725
金钱
27220
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.


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

使用道具 举报

63

主题

290

回帖

5974

积分

元老级技术达人

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

哪个魔改sdk,有源码地址吗
回复

使用道具 举报

38

主题

367

回帖

4384

积分

元老级技术达人

积分
4384
金钱
3924
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 ( 晋ICP备17001384号-1 )

GMT+8, 2025-7-2 14:28 , Processed in 0.584369 second(s), 9 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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