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

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

[插件集成] 晚来的饭,接近产品品质的魅族遥控器软硬件解决方案

  [复制链接]

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-8 22:14:59 | 显示全部楼层
bin文件一直刷不进去?!!!
Using 'COM7' as serial port.
Connecting........___
Detecting chip type... ESP32
Connecting........_

Chip Info:
- Chip Family: ESP32
- Chip Model: ESP32D0WDQ6 (revision 1)
- Number of Cores: 2
- Max CPU Frequency: 240MHz
- Has Bluetooth: YES
- Has Embedded Flash: NO
- Has Factory-Calibrated ADC: YES
- MAC Address: 4C:EB6:61:57:E4
Uploading stub...
Running stub...
Stub running...
- Flash Size: 4MB

Unexpected error: Error while retrieving firmware file 'https://raw.githubusercontent.com/espressif/arduino-esp32/1.0.0/tools/sdk/bin/bootloader_dio_40m.bin': HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /espressif/arduino-esp32/1.0.0/tools/sdk/bin/bootloader_dio_40m.bin (Caused by SSLError(SSLCertVerificationError("hostname 'raw.githubusercontent.com' doesn't match either of '*.contextweb.com', '*.pulsepoint.com', '*.lga.contextweb.com', '*.sjc.contextweb.com', 'contextweb.com', 'lga.contextweb.com', 'sjc.contextweb.com', 'pulsepoint.com'")))
回复

使用道具 举报

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-8 22:26:06 | 显示全部楼层
XCray 发表于 2021-9-4 16:39
看我之前发的一个帖子,专门说这个问题的

帖子在哪里啊?找不到
回复

使用道具 举报

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-8 23:49:06 | 显示全部楼层
本帖最后由 13857781577 于 2021-9-8 23:55 编辑

微信图片_20210908235443.png 按照 XCray 帖子 https://bbs.hassbian.com/thread-12842-1-1.html   终于刷好了  
回复

使用道具 举报

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-9 00:35:16 | 显示全部楼层
本帖最后由 13857781577 于 2021-9-9 00:37 编辑

现在是两个 放在边上都发现不了?![00:33:46]I (29587) GATTDevice: BLE devices scanning[00:34:16]I (59587) GATTDevice: No new device found, stop scan
微信图片_20210909003628.jpg


回复

使用道具 举报

3

主题

162

帖子

1296

积分

金牌会员

Rank: 6Rank: 6

积分
1296
金钱
1134
HASS币
0
发表于 2021-9-9 06:30:40 | 显示全部楼层
我的这个开发板只有一个板载LED。
1、刷写ESPHOME固件连接小米温湿度计正常连接并显示数据
2、两次刷写本固件能正常刷写并正常配网
3、两次刷写后,按功能键(boot)两秒后,长时间观察,放在ESP32旁边的两个魅族遥控器都不能被发现
4、我使用的是这样的开发板
32.png

回复

使用道具 举报

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-9 13:34:59 | 显示全部楼层
[13:22:26]I (444) cpu_start: Pro cpu up.
[13:22:26]I (444) cpu_start: Starting app cpu, entry point is 0x40081308
[13:22:26]I (0) cpu_start: App cpu up.
[13:22:26]I (458) cpu_start: Pro cpu start user code
[13:22:26]I (458) cpu_start: cpu freq: 160000000
[13:22:26]I (458) cpu_start: Application information:
[13:22:26]I (463) cpu_start: Project name:     esp32_meizu_remoter_gateway
[13:22:26]I (469) cpu_start: App version:      0.3.1
[13:22:26]I (474) cpu_start: Compile time:     Sep  6 2021 23:55:21
[13:22:26]I (480) cpu_start: ELF file SHA256:  ffe65e2f637812ad...
[13:22:26]I (486) cpu_start: ESP-IDF:          v4.3-dirty
[13:22:26]I (492) heap_init: Initializing. RAM available for dynamic allocation:
[13:22:26]I (499) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
[13:22:26]I (505) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
[13:22:26]I (511) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
[13:22:26]I (517) heap_init: At 3FFCA9B8 len 00015648 (85 KiB): DRAM
[13:22:26]I (523) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
[13:22:26]I (530) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
[13:22:26]I (536) heap_init: At 4009D670 len 00002990 (10 KiB): IRAM
[13:22:26]I (543) spi_flash: detected chip: generic
[13:22:26]I (547) spi_flash: flash io: dio
[13:22:26]I (552) cpu_start: Starting scheduler on PRO CPU.
[13:22:26]I (0) cpu_start: Starting scheduler on APP CPU.
[13:22:26]I (617) Init: Flash initializing
[13:22:26]I (617) Init: LED initializing
[13:22:26]I (617) Init: WiFi initializing
[13:22:26]I (627) wifi:wifi driver task: 3ffd0af4, prio:23, stack:6656, core=0
[13:22:26]I (627) system_api: Base MAC address is not set
[13:22:26]I (627) system_api: read default base MAC address from EFUSE
[13:22:26]I (647) wifi:wifi firmware version: c7d0450
[13:22:26]I (647) wifi:wifi certification version: v7.0
[13:22:26]I (647) wifi:config NVS flash: enabled
[13:22:26]I (647) wifi:config nano formating: disabled
[13:22:26]I (647) wifi:Init data frame dynamic rx buffer num: 32
[13:22:26]I (657) wifi:Init management frame dynamic rx buffer num: 32
[13:22:26]I (657) wifi:Init management short buffer num: 32
[13:22:26]I (667) wifi:Init dynamic tx buffer num: 32
[13:22:26]I (667) wifi:Init static rx buffer size: 1600
[13:22:26]I (677) wifi:Init static rx buffer num: 10
[13:22:26]I (677) wifi:Init dynamic rx buffer num: 32
[13:22:26]I (677) wifi_init: rx ba win: 6
[13:22:26]I (687) wifi_init: tcpip mbox: 32
[13:22:26]I (687) wifi_init: udp mbox: 6
[13:22:26]I (697) wifi_init: tcp mbox: 6
[13:22:26]I (697) wifi_init: tcp tx win: 5744
[13:22:26]I (697) wifi_init: tcp rx win: 5744
[13:22:26]I (707) wifi_init: tcp mss: 1440
[13:22:26]I (707) wifi_init: WiFi IRAM OP enabled
[13:22:26]I (717) wifi_init: WiFi RX IRAM OP enabled
[13:22:26]I (717) wifi: Found ssid FAST
[13:22:26]I (717) wifi: Found password 0000000000
[13:22:26]I (727) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:22:26]I (827) wifi:mode : sta (4c:eb:d6:61:57:e4)
[13:22:26]I (827) wifi:enable tsf
[13:22:26]I (827) Init: mDNS initializing
[13:22:26]I (827) mdnsmd: mDNS host name set to: [3402B1]
[13:22:26]I (827) mdnsmd: mDNS instance name set to: [3402B1]
[13:22:26]I (837) wifi:new:<8,0>, old:<1,0>, ap:<255,255>, sta:<8,0>, prof:1
[13:22:26]I (837) wifi:state: init -> auth (b0)
[13:22:26]I (847) wifi:state: auth -> assoc (0)
[13:22:26]I (847) wifi:state: assoc -> run (10)
[13:22:26]I (857) Init: Kernel processor initializing
[13:22:26]I (857) Kernel: BLE initializing
[13:22:26]W (857) wifi:<ba-add>idx:0 (ifx:0, 18:31:bf:46:a7:50), tid:0, ssn:0, winSize:64
[13:22:26]I (867) BTDM_INIT: BT controller compile version [1342a48]
[13:22:26]I (887) wifi:connected with FAST, aid = 17, channel 8, BW20, bssid = 18:31:bf:46:a7:50
[13:22:26]I (887) wifi:security: WPA2-PSK, phy: bgn, rssi: -77
[13:22:26]I (887) wifi:pm start, type: 1
[13:22:26]
[13:22:26]I (917) wifi:AP's beacon interval = 102400 us, DTIM period = 3
[13:22:26]I (1187) Kernel: Start Listening on port 8266
[13:22:26]I (1187) Init: Initialization was completely succeeded
[13:22:27]I (2117) esp_netif_handlers: sta ip: 192.168.123.215, mask: 255.255.255.0, gw: 192.168.123.1
[13:22:27]I (2117) wifi: Got IP:192.168.123.215
[13:22:27]I (2117) main: WiFi connected
[13:22:39]I (13987) SocketServer: The client at 192.168.123.34:33174 was connected, total clients 1
[13:22:48]I (22987) GATTDevice: Start binding mode
[13:22:48]I (22987) GATTDevice: BLE devices scanning
[13:23:18]I (52997) GATTDevice: No new device found, stop scan
[13:29:49]I (443297) GATTDevice: Start binding mode
[13:29:49]I (443307) GATTDevice: BLE devices scanning
[13:30:19]I (473307) GATTDevice: No new device found, stop scan
[13:31:06]I (520727) GATTDevice: Start binding mode
[13:31:06]I (520727) GATTDevice: BLE devices scanning
[13:31:36]I (550727) GATTDevice: No new device found, stop scan


现在是两个 放在边上 都一直发现不了
回复

使用道具 举报

20

主题

550

帖子

3603

积分

元老级技术达人

积分
3603
金钱
3013
HASS币
210

教程狂人突出贡献

 楼主| 发表于 2021-9-9 15:20:48 | 显示全部楼层
liqx 发表于 2021-9-9 06:30
我的这个开发板只有一个板载LED。
1、刷写ESPHOME固件连接小米温湿度计正常连接并显示数据
2、两次刷写本固 ...

看一下顶楼及2楼的9月9日更新,增加了一个调整绑定信号阈值的服务,调整一下阈值看看,默认是-30dBm,可以尝试调整到-35、-40,甚至是-50试试看呢。
回复

使用道具 举报

20

主题

550

帖子

3603

积分

元老级技术达人

积分
3603
金钱
3013
HASS币
210

教程狂人突出贡献

 楼主| 发表于 2021-9-9 15:22:18 | 显示全部楼层
13857781577 发表于 2021-9-9 13:34
[13:22:26]I (444) cpu_start: Pro cpu up.
[13:22:26]I (444) cpu_start: Starting app cpu, entry point  ...

看一下顶楼及2楼的9月9日更新,增加了一个调整绑定信号阈值的服务,调整一下阈值看看,默认是-30dBm,可以尝试调整到-35、-40,甚至是-50试试看呢。
回复

使用道具 举报

3

主题

162

帖子

1296

积分

金牌会员

Rank: 6Rank: 6

积分
1296
金钱
1134
HASS币
0
发表于 2021-9-9 19:07:46 | 显示全部楼层
本帖最后由 liqx 于 2021-9-9 19:10 编辑
involute 发表于 2021-9-9 15:20
看一下顶楼及2楼的9月9日更新,增加了一个调整绑定信号阈值的服务,调整一下阈值看看,默认是-30dBm,可 ...

service: meizu_remoter_gateway.bind_threshold
data:
  serial_no: 1B32A94
  threshold: -35

请教,这个命令在哪里输入?我是小小白请帮助。
回复

使用道具 举报

25

主题

441

帖子

2344

积分

论坛积极会员

积分
2344
金钱
1903
HASS币
0
发表于 2021-9-9 20:22:19 | 显示全部楼层
本帖最后由 13857781577 于 2021-9-9 20:42 编辑
involute 发表于 2021-9-9 15:22
看一下顶楼及2楼的9月9日更新,增加了一个调整绑定信号阈值的服务,调整一下阈值看看,默认是-30dBm,可 ...

只有三个服务:
meizu_remoter_gateway.bind
meizu_remoter_gateway.remove_bind
meizu_remoter_gateway.send_ir

没有meizu_remoter_gateway.bind_threshold知道了 是不是要更新到
v0.3.2
微信图片_20210909202315.jpg





回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 07:33 , Processed in 0.156642 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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