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

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

[新奇玩法] 魅族温湿度用ESP32刷ESPhome接入homeassistant

  [复制链接]

3

主题

149

帖子

1292

积分

金牌会员

Rank: 6Rank: 6

积分
1292
金钱
1138
HASS币
20
 楼主| 发表于 2019-8-18 22:10:01 | 显示全部楼层
yancheng278 发表于 2019-8-18 22:04
ESPHome使用DOCKER安装
请问大神,这是什么原因,是我”esp32_ble_client“存放的位置不对吗?
我是存放在 ...

是esp32_ble_client没有放到指定容器目录   编译器获取不到环境就崩溃了
需要放到容器里的指定位置
回复

使用道具 举报

13

主题

289

帖子

2000

积分

金牌会员

Rank: 6Rank: 6

积分
2000
金钱
1711
HASS币
0
发表于 2019-8-25 21:21:23 | 显示全部楼层

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:952
load:0x40078000,len:6084
load:0x40080000,len:7944
entry 0x40080310
user code done
ets Jun  8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:952
load:0x40078000,len:6084
load:0x40080000,len:7944
entry 0x40080310
user code done
ets Jun  8 2016 00:22:57


楼主 烧写完成后 一直重复这个  wifi也不连上 求助
回复

使用道具 举报

1

主题

67

帖子

523

积分

高级会员

Rank: 4

积分
523
金钱
456
HASS币
0
发表于 2019-8-25 21:56:53 | 显示全部楼层
riyue0000 发表于 2019-8-25 21:21
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv ...

检查上电时GPIO脚的状态!
参考:https://blog.csdn.net/toopoo/article/details/98793848
回复

使用道具 举报

4

主题

82

帖子

336

积分

中级会员

Rank: 3Rank: 3

积分
336
金钱
254
HASS币
0
发表于 2019-8-26 00:06:22 | 显示全部楼层
牛逼啊!
回复

使用道具 举报

9

主题

527

帖子

2350

积分

金牌会员

Rank: 6Rank: 6

积分
2350
金钱
1823
HASS币
0
发表于 2019-8-26 16:33:25 | 显示全部楼层
魅族的东西 还没来及上车。。。早晨关注了。。搬砖忘记了
回复

使用道具 举报

13

主题

289

帖子

2000

积分

金牌会员

Rank: 6Rank: 6

积分
2000
金钱
1711
HASS币
0
发表于 2019-8-27 18:10:57 | 显示全部楼层
yancheng278 发表于 2019-8-25 21:56
检查上电时GPIO脚的状态!
参考:https://blog.csdn.net/toopoo/article/details/98793848

楼主  不懂唉  用什么查看啊 ?
回复

使用道具 举报

0

主题

106

帖子

721

积分

高级会员

Rank: 4

积分
721
金钱
615
HASS币
0
发表于 2019-9-2 10:19:24 | 显示全部楼层
请问:ESP32刷机成功后经常死机,怎么办呀?
还有ESP32启动的时候那一小会儿温度显示高,湿度显示200%多,过一会儿又正常,有办法解决么?
最后请教一下,为什么我的蓝牙学习遥控记录不完整,只记录部分,不知道是啥原因。
回复

使用道具 举报

3

主题

149

帖子

1292

积分

金牌会员

Rank: 6Rank: 6

积分
1292
金钱
1138
HASS币
20
 楼主| 发表于 2019-9-2 10:25:29 | 显示全部楼层
dpznyfwzx 发表于 2019-9-2 10:19
请问:ESP32刷机成功后经常死机,怎么办呀?
还有ESP32启动的时候那一小会儿温度显示高,湿度显示200%多, ...

换一个esp32   撸码不成功说明你姿势不对。仔细看流程  哈哈哈
回复

使用道具 举报

0

主题

106

帖子

721

积分

高级会员

Rank: 4

积分
721
金钱
615
HASS币
0
发表于 2019-9-2 15:17:30 | 显示全部楼层
wk27449 发表于 2019-9-2 10:25
换一个esp32   撸码不成功说明你姿势不对。仔细看流程  哈哈哈

你的意思是说有些东西弄的不对是吗,那我再试试。
回复

使用道具 举报

13

主题

289

帖子

2000

积分

金牌会员

Rank: 6Rank: 6

积分
2000
金钱
1711
HASS币
0
发表于 2019-9-24 22:40:51 | 显示全部楼层
多个遥控 只显示最后一个, 编译的过程中有几处报错 有没有问题 大神

编译的错误
Looking for Hash library in registry
Warning! Library {'requirements': None, 'name': 'Hash'} has not been found in PlatformIO Registry.

src\esphome\components\esp32_ble_client\esp32_ble_client.cpp:164:13: warning: 'void esphome::esp32_ble_client::print_uuid(esp_bt_uuid_t)' defined but not used [-Wunused-function]
static void print_uuid(esp_bt_uuid_t uuid) {

刷固件之后 ESP32 logs中报[E][esp32_ble_client:651]: open failed, status 133

homeassistant中遥控开关只显示最后一个

esphome:
name: meizu
platform: ESP32
board: nodemcu-32s

wifi:
ssid: "lixm"
password: "###### "
api:
password: "#### "

ota:
password: "##### "

esp32_ble_client:

sensor:

platform: meizu_ble
update_interval: 180s
mac_address: 68:3E:34:CCF:E1
temperature:
name: "Meizu Temperature1"
humidity:
name: "Meizu Humidity1"
battery_level:
name: "Meizu Battery1"
platform: meizu_ble
update_interval: 180s
mac_address: 68:3E:34:CCD:4E
temperature:
name: "Meizu Temperature2"
humidity:
name: "Meizu Humidity2"
battery_level:
name: "Meizu Battery2"
switch:

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "热水器电源"
uid: "68001c8bc87d1a7093"
data: "54006821003b0000017b015600a6001600130016003d001605a80156005300160e0500011e92000000000000000000000000000000000000000000000000000000000000000000000000011122112222212211212211121211222345454545454545454545454500"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "热水器调高"
uid: "6a001c0b0a5a4d7093"
data: "54006a210040000001fb015600a6001600130016003d001605a80156005300160e0600161e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122121121111122122223454545454545454545454545454546"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "热水器调低"
uid: "5e001cdc4567857093"
data: "54005e210027000001f3015600a6001600140016003d001605a80156005300160e0600e11e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122122111111112222223454560"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "热水器功率"
uid: "5e001c1ce2bb407093"
data: "54005e210028000001d6015600a6001600130016003d001605a90156005300160e0700161e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122111121111222122223454546"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "热水器模式"
uid: "62001cf93143c87093"
data: "540062210030000001ec015600a6001600130016003d001605a90156005300160e070006019e00021e920000000000000000000000000000000000000000000000000000000000000000011122112222212212111111112222222345454545454567"

第二个
platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "马桶电源"
uid: "57001c434a6bd27093"
data: "5400572300190000018d014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112122211211211121212130"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "马桶助便"
uid: "57001c69ff840f7093"
data: "5400572300190000012400b60033003700330037009b00371cd900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112121211211211121211230"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CCF:E1
name: "马桶暖风"
uid: "57001cae5d713b7093"
data: "54005723001900000188014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111121211211211121211230"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DF:E1
name: "马桶节电"
uid: "57001cff4f001a7093"
data: "54005723001900000156014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112211211211212121111230"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DF:E1
name: "马桶水温"
uid: "57001c5fbe7cf57093"
data: "5400572300190000011f014a0033003700330037009900371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111222211211122121111230"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DF:E1
name: "马桶座温"
uid: "57001c2cc0afb97093"
data: "540057230019000001ff014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112112221111122121111230"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DF:E1
name: "马桶冲洗"
uid: "57001c4c4357677093"
data: "54005723001900000111014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111211211111122121111230"

第三个
platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DD:4E
name: "风扇电源"
uid: "65001c1d97d1a03710"
data: "5500652000340000016bb7e264ceb2aa682bbab47060a6b57430aeb47e74ab8c005dd2c40df5ded70c03c6d11405c2df180bcae12035f6e72433fee12c35faff302be2f13825eef73c23d7d32607f0ce193acbf33217e4c60522fff33e17e8fe331ae687b6"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DD:4E
name: "风扇摆头"
uid: "65001cc20e28f53710"
data: "550065200034000001a4a2f179d3afb9793aabbb7969afba7966a3b80943dfc10b03da850952dfc50cf6c3d21908cfdc190acbde190ccfd8190ec3da0910dfc40912dbc60914dfc00916e2e01b2acddd280bfadd183ecde92b0fa2d82802fdd51b33ce91a3"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DD:4E
name: "风扇风速"
uid: "65001c899ef7793710"
data: "5500652000340000013083de58f28e9e5c1f8e985c4c8aa16024bab87278a7f87429a6b87189a2a37877b2ad6879beab6c7fbead6c79bab37067aacd0019d6cb041fd6cd0419d2c30817e3ef1a3bccfa2d0effdc1e3bc8915176abbc725ba489476e92fb82"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DD:4E
name: "风扇风类"
uid: "64001c1abaeb1d3710"
data: "55006420003200000134fead2d87fbed2d6effef3525e3f6352aeff338c4ebe03d36efe23538e3ec353affee2d3cfbe82d3effea5540839455428f965d448b905d468f925548839c554abebc4f7e99897c5fae8b677281a65443be976f7689a25c47bbff"

platform: meizu_ble_transmitter
mac_address: 68:3E:34:CC:DD:4E
name: "风扇静音"
uid: "63001c47e996cf7093"
data: "5400632100320000013c016500af001700430018001500171e1f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001222222221111111222212121111212122221212111121213"

binary_sensor:

platform: gpio
name: "in GPIO23"
pin:
number: GPIO23
inverted: True
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 05:27 , Processed in 0.053069 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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