Skip to content
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

[Bug]: #27

Open
boop5 opened this issue Dec 4, 2024 · 0 comments
Open

[Bug]: #27

boop5 opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@boop5
Copy link

boop5 commented Dec 4, 2024

Node-Red-Contrib-Huemagic-Fork Version

4.2.8

Node JS Version

20.18.0

NPM Version

10.8.2

Node-Red Version

4.0.5

Operating System

Docker 27.3.1

What happened?

Ocassionally I get this error when pushing an id to an universal hue light

No light Id defined. Please check the docs.

I see you have applied the "fix" from the bug in the original repository Foddy#300
but I still get the warning. I confirmed that the id is properly set (not null, undefined, string empty, whatever) by logging it w/ node.warn right before pushing it into the huemagic node

image

How to reproduce?

push the following into an universal hue light. happens only ocassionally

const deviceId = "...";
node.send({
    payload: { "colorTemp": "auto", "brightness": "auto" },
    topic: deviceId
})

Expected behavior:

It does not fail

Additional comments?

Ticket in original repo: Foddy#300

Relevant log output

No response

@boop5 boop5 added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants