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.

LIFX lights not autodiscovered

See original GitHub issue

I installed powercalc and I don’t see any sensors or meters created. I do see this in the logs:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:96
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 9:10:21 PM (3 occurrences)
Last logged: 9:10:22 PM

[547758578704] Received invalid command: energy/info

Here’s my config:

powercalc:
  enable_autodiscovery: true
  create_energy_sensors: true

I have several varieties of LIFX Bulbs, some are in the look up tables.

Did I miss some configuration or did I find a bug?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
owen2commented, Mar 13, 2022

Okay, the rest are not in the table, so I think this issue can close!

1reaction
bramstrokercommented, Mar 13, 2022

That’s nice, than this was the correct fix for autodiscovery. Looking again I misinformed you about the LIFX Z, for this one you also need to manually configure as the BR30. https://github.com/bramstroker/homeassistant-powercalc/tree/master/custom_components/powercalc/data/lifx/LIFX Z. Depending on the amount of sections your led strip have you must select a suitable LUT file for it.

For example:

sensor:
  - platform: powercalc
    entity_id: light.window_seat
    manufacturer: lifx
    model: LIFX Z/length_2
Read more comments on GitHub >

github_iconTop Results From Across the Web

My Light does not appear in my network list - LIFX Support
Open your Wi-Fi settings and look for the light's network name "LIFX...." If the light does not appear: Reset the light again; After...
Read more >
Hardware Resetting your LIFX - LIFX Support
Instructions. How to reset a LIFX light. These instructions will work for all LIFX models with the exception of the LIFX Original.
Read more >
LIFX appears disconnected in app - LIFX Support
If it does not reappear after about 60 seconds, try power cycling your router, then the bulb again, and wait another minute or...
Read more >
Troubleshooting setup - LIFX Support
WiFi connection issues. It can be helpful to isolate your phone or tablet to WiFi, and disable mobile data. As LIFX lights don't...
Read more >
Connecting taking a long time - LIFX Support
Force quit the app on your device · Reopen the LIFX app, and see if the light is actually available to complete connection...
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