Skip to content

Turning on LEEDEVICE, when it's already on, should not change output behavior #967

@dermotduffy

Description

@dermotduffy
  • I confirm that this is an issue rather than a question.

Bug report

Turning on the component LEDDEVICE via the API, when the LEDDEVICE is already on, should not result in any noticeable output behavior. However, it appears to 'reset' the connection to WLED causing WLED to stop showing streamed UDP data. I don't know if this is specific to WLED, or a more general issue.

Steps to reproduce

  • Turn LEDDEVICE on in the Hyperion UI.
  • Set a color with infinite duration.
  • Observe WLED output: Color shows up as expected.
  • Turn on LEDDEVICE via the API:
echo '{"command":"componentstate", "componentstate":{"component":"LEDDEVICE", "state": true} }' | nc  hyperion 19444

What is expected?

No change should be observed.

What is actually happening?

WLED appears to lose the "connection" to Hyperion, and resets to it's state to that prior to streaming the data from Hyperion.

System

Fresh build from head yesterday.

Hyperion Server:

Hyperion Server OS:

  • Distribution: Raspbian GNU/Linux 10 (buster)
  • Arch: arm
  • Kernel: linux (5.4.51+ (WS: 32))
  • Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions