junnikokuki / Meizu-BLE-Thermometer

31 stars 16 forks source link

多个遥控 只显示最后一个, 编译的过程中有几处报错 有没有问题 大神 #4

Open lixmch opened 5 years ago

lixmch commented 5 years ago

编译的错误 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: "###### "

Enable logging

logger:

Enable Home Assistant API

api: password: "#### "

ota: password: "##### "

esp32_ble_client:

sensor:

switch:

binary_sensor:

junnikokuki commented 5 years ago

Warning不影响。 log报错是连接不上,偶现。 最后一个不太清楚。

ghostist commented 4 years ago

编译的错误 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: "###### "

Enable logging

logger:

Enable Home Assistant API

api: password: "#### "

ota: password: "##### "

esp32_ble_client:

sensor:

  • platform: meizu_ble update_interval: 180s mac_address: 68:3E:34:CC:DF: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:CC:DD:4E temperature: name: "Meizu Temperature2" humidity: name: "Meizu Humidity2" battery_level: name: "Meizu Battery2"

switch:

  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "热水器电源" uid: "68001c8bc87d1a7093" data: "54006821003b0000017b015600a6001600130016003d001605a80156005300160e0500011e92000000000000000000000000000000000000000000000000000000000000000000000000011122112222212211212211121211222345454545454545454545454500"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "热水器调高" uid: "6a001c0b0a5a4d7093" data: "54006a210040000001fb015600a6001600130016003d001605a80156005300160e0600161e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122121121111122122223454545454545454545454545454546"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "热水器调低" uid: "5e001cdc4567857093" data: "54005e210027000001f3015600a6001600140016003d001605a80156005300160e0600e11e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122122111111112222223454560"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "热水器功率" uid: "5e001c1ce2bb407093" data: "54005e210028000001d6015600a6001600130016003d001605a90156005300160e0700161e920000000000000000000000000000000000000000000000000000000000000000000000000111221122222122111121111222122223454546"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "热水器模式" uid: "62001cf93143c87093" data: "540062210030000001ec015600a6001600130016003d001605a90156005300160e070006019e00021e920000000000000000000000000000000000000000000000000000000000000000011122112222212212111111112222222345454545454567"

    第二个

  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "马桶电源" uid: "57001c434a6bd27093" data: "5400572300190000018d014a0032003700320037009800371c7200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112122211211211121212130"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF:E1 name: "马桶助便" uid: "57001c69ff840f7093" data: "5400572300190000012400b60033003700330037009b00371cd900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001112121211211211121211230"
  • platform: meizu_ble_transmitter mac_address: 68:3E:34:CC:DF: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: "Pin GPIO23" pin: number: GPIO23 inverted: True

请问获取蓝牙日志你是用的什么型号的手机?系统版本多少?