esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

HHCCPOT002 no values #1527

Closed phoxy84 closed 3 years ago

phoxy84 commented 3 years ago

Operating environment/Installation (Hass.io/Docker/pip/etc.): Hassio 0.115.6, on Pi3

ESP (ESP32/ESP8266, Board/Sonoff): ESP32

ESPHome version (latest production, beta, dev branch) ESPHome 1.15.2

Affected component: https://esphome.io/components/sensor/xiaomi_ble.html#hhccpot002

Description of problem: I have a HHCCPOT002 Ropot but get no data in Home Assistant

Problem-relevant YAML-configuration entries:

sensor:
  - platform: xiaomi_hhccpot002
    mac_address: "C4:7C:8D:6D:27:2E"
    moisture:
      name: "Ropot Moisture"
    conductivity:
      name: "Ropot Soil Conductivity"

Logs (if applicable):

INFO Reading configuration config/miflora.yaml...
INFO Starting log output from miflora.local using esphome API
INFO Connecting to miflora.local:6053 (10.0.0.54)
INFO Successfully connected to miflora.local
[12:05:52][I][app:105]: ESPHome version 1.15.2 compiled on Oct  2 2020, 12:03:39
[12:05:52][C][wifi:443]: WiFi:
[12:05:52][C][wifi:303]:   SSID: 'Private'[redacted]
[12:05:52][C][wifi:304]:   IP Address: Private
[12:05:52][C][wifi:306]:   BSSID: Private[redacted]
[12:05:52][C][wifi:307]:   Hostname: 'miflora'
[12:05:52][C][wifi:311]:   Signal strength: -41 dB ▂▄▆█
[12:05:52][C][wifi:315]:   Channel: 11
[12:05:52][C][wifi:316]:   Subnet: Private
[12:05:52][C][wifi:317]:   Gateway: Private
[12:05:52][C][wifi:318]:   DNS1: Private
[12:05:52][C][wifi:319]:   DNS2: Private
[12:05:52][C][logger:185]: Logger:
[12:05:52][C][logger:186]:   Level: DEBUG
[12:05:52][C][logger:187]:   Log Baud Rate: 115200
[12:05:52][C][logger:188]:   Hardware UART: UART0
[12:05:52][C][esp32_ble_tracker:530]: BLE Tracker:
[12:05:52][C][esp32_ble_tracker:531]:   Scan Duration: 300 s
[12:05:52][C][esp32_ble_tracker:532]:   Scan Interval: 320.0 ms
[12:05:52][C][esp32_ble_tracker:533]:   Scan Window: 30.0 ms
[12:05:52][C][esp32_ble_tracker:534]:   Scan Type: ACTIVE
[12:05:52][C][ble_presence:011]: BLE Presence 'Mi band 3'
[12:05:52][C][xiaomi_hhccpot002:012]: Xiaomi HHCCPOT002
[12:05:52][C][xiaomi_hhccpot002:013]:   Moisture 'Ropot Moisture'
[12:05:52][C][xiaomi_hhccpot002:013]:     Unit of Measurement: '%'
[12:05:52][C][xiaomi_hhccpot002:013]:     Accuracy Decimals: 0
[12:05:52][C][xiaomi_hhccpot002:013]:     Icon: 'mdi:water-percent'
[12:05:52][C][xiaomi_hhccpot002:014]:   Conductivity 'Ropot Soil Conductivity'
[12:05:52][C][xiaomi_hhccpot002:014]:     Unit of Measurement: 'µS/cm'
[12:05:52][C][xiaomi_hhccpot002:014]:     Accuracy Decimals: 0
[12:05:52][C][xiaomi_hhccpot002:014]:     Icon: 'mdi:flower'
[12:05:52][C][ota:029]: Over-The-Air Updates:
[12:05:52][C][ota:030]:   Address: miflora.local:3232
[12:05:52][C][ota:032]:   Using Password.
[12:05:52][C][api:095]: API Server:
[12:05:52][C][api:096]:   Address: miflora.local:6053
[12:05:52][D][debug:023]: ESPHome version 1.15.2
[12:05:52][D][debug:025]: Free Heap Size: 69244 bytes
[12:05:52][D][debug:053]: Flash Chip: Size=4096kB Speed=40MHz Mode=DIO
[12:05:53][D][debug:086]: Chip: Model=ESP32, Features=WIFI_BGN,BLE,BT, Cores=2, Revision=1
[12:05:53][D][debug:088]: ESP-IDF Version: v3.2.3-14-gd3e562907
[12:05:53][D][debug:091]: EFuse MAC: 0000598EC62DE6B4
[12:05:53][D][debug:143]: Reset Reason: Software Reset CPU
[12:05:53][D][debug:186]: Wakeup Reason: Unknown

Additional information and things you've tried: Schermafbeelding 2020-10-02 om 12 01 00

I know the MAC address is ok, I checked it with the MiHome app

probot-esphome[bot] commented 3 years ago

xiaomi_hhccpot002 source xiaomi_hhccpot002 issues xiaomi_hhccpot002 recent changes (message by IssueLinks)

probot-esphome[bot] commented 3 years ago

xiaomi_ble source xiaomi_ble issues xiaomi_ble recent changes (message by IssueLinks)

danieljkemp commented 3 years ago

I am seeing the same. I am seeing the MiFlora broadcasts in the logs, but no data is making its way to HA.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.