Skip to content

IR capable lights timeout when light.getMaxIR is called #55

@ristomatti

Description

@ristomatti

I encountered the issue while testing Node-RED node plugin node-red-contrib-node-lifx. The two of my lights were not listed on Node-RED UI even though they show up when using node-lifx directly. I tracked this down to be the cause of getMaxIR timing out and returning an error on IR capable lights (the plugin does not request the state unless the lights report the capability).

I tried to get an idea what could cause this but didn't figure it out within the time I had available today, hence reporting this as an issue. The maxIR(brightness) command seems to work ok (the new value is updated to the Android app). This might be an issue with my lights or possibly a change within the firmware? I can look into this later on.

I submitted a PR to node-red-contrib-node-lifx that prevents the issue with Node-RED though (low hanging fruit for me).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions