question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No entities appearing in HA

See original GitHub issue

Hi, I try to integrate LYWSD03MMC sensors to my homeassistant. I followed the installation process without any problem. I already connect the device to the Xiaomi Home app and I correctly receive the value. I use a raspberry pi 4, my ble device is hci0 as expected, I don’t have any problems scanning ble device with hcitool and gatttool I configured the configuration.yaml file with this configuration:

ble_monitor:
  hci_interface: 0
  discovery: True
  active_scan: False
  report_unknown: False
  batt_entities: False
  rounding: True
  decimals: 1
  period: 60
  log_spikes: False
  use_median: False
  restore_state: False
  devices:
    - mac: 'A4:C1:38:XX:XX:XX'
      name: 'test sensor ble monitor'
      encryption_key: '217C568CF5D22808DA20181502DXXXXX'
      temperature_unit: C

Once I reload homehassistant I can’t find any entities appearing in the list, I was expecting to see it appearting to integrate is correctly. I also tried with the “User Interface Configuration” but same result.

Am I doing something wrong or am I missing something to make it works ?

Thanks for your work and your help.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Thibaud45commented, Dec 24, 2020

Hey, I just find out that the key wasnt correct, maybe after the reset of the device it changes. It works now, I can have the data. Thanks a lot again.

0reactions
Thibaud45commented, Dec 24, 2020

Hi, Thanks a lot for your help, After a full clean up and after following your FAQ link I no longer have the error. However I do have this error now

2020-12-24 10:47:00 ERROR (Thread-3) [custom_components.ble_monitor] Decryption failed: MAC check failed 2020-12-24 10:47:00 ERROR (Thread-3) [custom_components.ble_monitor] token: 767021a9 2020-12-24 10:47:00 ERROR (Thread-3) [custom_components.ble_monitor] nonce: 86979e38c1a45b0522060000 2020-12-24 10:47:00 ERROR (Thread-3) [custom_components.ble_monitor] encrypted_payload: eb82d14e5d060000767021a9 2020-12-24 10:47:00 ERROR (Thread-3) [custom_components.ble_monitor] cipherpayload: eb82d14e5d

I checked the mac address with hcitool lescan and also with the xiaomi home app. All seems good

Read more comments on GitHub >

github_iconTop Results From Across the Web

No entities loading - entity not available - Home Assistant OS
After updating to version 84, my entities are no longer showing up. When I try the lovelace UI and copy my ui-lovelace.yaml file...
Read more >
Custom Component not showing Entity in HA #1785 - GitHub
Description of problem: The component in question does show that it's reading the inputs correctly (it's a multiplexer that can multiplex ...
Read more >
Home Assistant Entity Node - YouTube
Finally getting the time to fix my system monitoring flow and use the entity node to push data from Node Red over to...
Read more >
Successfully added Konnected boards to HA, no entities appear
I have successfully added 2 konnected boards through the automatic detection. After adding and configuring all the options for each board none of...
Read more >
Supplement No. 4 to Part 744 - ENTITY LIST - BIS.doc.gov
notifications and deleting notifications no longer in effect. COUNTRY. ENTITY. LICENSE REQUIREMENT. LICENSE REVIEW. POLICY. FEDERAL. REGISTER.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found