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.

Strange WLED + group behaviour

See original GitHub issue

I’m having issues with WELD lights. For each WLED light I did create manual sensor:

platform: powercalc
entity_id: light.stream_desk
wled:
  voltage: 5

But during bootup and group creation, I see this:

2022-07-10 10:44:59 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.stream_desk: Auto discovered model (manufacturer=WLED, model=FOSS)
2022-07-10 10:44:59 ERROR (MainThread) [custom_components.powercalc.sensors.power] Skipping sensor setup light.stream_desk: Model not found in library (manufacturer: WLED, model: FOSS)
2022-07-10 10:44:59 ERROR (MainThread) [custom_components.powercalc.sensors.power] light.stream_desk: Error setting up calculation strategy: Model not found in library (manufacturer: WLED, model: FOSS)
2022-07-10 10:44:59 ERROR (MainThread) [custom_components.powercalc.sensor] Could not resolve any entities in group 'Loft lights PM'

And because of this this and upper level group is not created.

While later in logs I see this:

2022-07-10 10:44:59 DEBUG (MainThread) [custom_components.powercalc.model_discovery] light.stream_desk: Auto discovered model (manufacturer=WLED, model=FOSS)
2022-07-10 10:44:59 DEBUG (MainThread) [custom_components.powercalc.sensors.power] Creating power sensor (entity_id=light.stream_desk entity_category=None, sensor_name=Stream desk power strategy=WledStrategy manufacturer= model= standby_power=0 unique_id=500291fd4cb9_0)

And it looks like it was recognized and power sensor is created. image

My (un)educated guess would be that it’s frist trying to create group and fails, but later looks at individual light setup. Maybe.

I have split configuration (YAML files), so each light and each sensor is in separate file.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bramstrokercommented, Jul 17, 2022

That’s awesome! I’m planning to release the first version in beta for new version v0.24, which I am planning to do somewhere this week. Need some beta testers during that time because it is a huge development, which can potentially introduce new bugs. And also the new config screens can contain bugs of course. Did a lot of testing myself already. Will notify on the community forum and github when the beta hits the road.

0reactions
bramstrokercommented, Jul 18, 2022

GUI is almost feature complete. Will release an alpha version maybe today or within a few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Esp8266 d1 mini WS2812 weird behavior - Issues - WLED
Hey, I recently bought a WS2812 lightstrip (This one). When powering it, only 4 LEDs are lightning up: I also tried powering it...
Read more >
0.108.0 WLED causing strange LED strip behaviour #33921
The problem Before 0.108.0 i was very happily using the WLED integration on 2 LED strips. With 0.108.0 both strips (both with their...
Read more >
Having trouble with WS2801 - Only first LED lights.
I have Arduino Duemilanove, 25 strand of WS2801 LEDs, 5V 10A power supply. I have double checked that I have the power correctly...
Read more >
(PDF) Ecological approaches to cognition and action in sport ...
This article examines the influence of different streams of thought in ecological psychology for studying cognition and action in the diverse behavioural ......
Read more >
I have a Yeelight bedside lamp and can control it in HA
Never tried with different models of lights but give it a try: just group both lights together and see ... I encounter a...
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