-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about HHCCJCY01 #1390
Comments
This device is also sending data in Xiaomi format (look for messages with However, you might also be able to use the other data format you are showing. In general, it is either a one byte or two byte data format, that has to be reversed order. for example you have to do some guessing how the message is spit up, but the first two bytes look like temperature to me. In helps to make a long log with multiple messages. If a byte changes a lot, is is most likely the second byte of a two byte value. If it hardly changes, it is most likely a single byte value. |
Thanks! My values were: Moisture: 31% So 1f can be matched to Moisture, but rest are unclear. So my device is not sending these broadcasts with xiaomi format? Can I somehow force it to send the xiaomi format? Service data is fe95, and interpreted as xiaomi (by btmon). |
You can force it to send xiaomi format by adding it to the Xiaomi Mi Home app. After adding it, it should start broadcasting in xiaomi format. |
Thanks, I gave it a shot, but MiHome doesn't see it at all. It works with "Flower care" app, is it possible this is something different device? On the packaging it shows: HHCCJCY01HHCC |
95fe should be xiaomi format, so you can use that info. Can you post the 95fe service data? |
@danergo In "Flower care" you can check firmware version of HHCCJCY01HHCC (... in right top corner, Hardware settings), in my case the latest is v3.3.5 |
This device returns in passive ble monitor battery as unknown but in the Xiaomi BLE integration reports a percentage. I think here is parsed: |
That is because the battery data can only be received with a connection, unlike the other sensor data, which is send passively. BLE monitor can’t connect to devices. |
@myhomeiot
|
@Chreece I use this for years, should work. Check that you have Flower Care with ${flower_care_mac} defined in BLE Monitor and you already receives data like illuminance, conductivity and temperature. Edit: Check that you have battery sensor enabled for this Flower Care in Passive BLE Monitor settings. |
@Chreece: Looks good. The same ESP forwards data about this Flower Care (illuminance, conductivity and temperature) for Passive BLE Monitor using BLE Gateway? |
No, the data that you see in ha are parsed on the host from its own bt chi. They existed before installing your library on an esp32 that I have near the plant sensor |
@Chreece OK, in this case you need to check if on HA side you have automation which receives automation:
- alias: ESPHome BLE Advertise
mode: queued
trigger:
- platform: event
event_type: esphome.on_ble_advertise
action:
- service: ble_monitor.parse_data
data:
packet: "{{ trigger.event.data.packet }}"
gateway_id: "{{ trigger.event.data.gateway_id if trigger.event.data.gateway_id is defined else 'unknown' }}" |
Wonderful! Worked as intended. |
Hi, I'm trying to understand this plant sensor's LE Service data.
I know it's not sending its battery state, but I'm interested in others (temperature, soil, fertilization, sun).
Can you help me decoding, or point me to some docs?
For example: (service data in LE packet):
Packets have a fixed prefix:
(AA:BB:CC:DD:EE:FF is its MAC)
But I'm having issues understanding the rest bytes:
Can you please help me with this?
The text was updated successfully, but these errors were encountered: