Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
201 stars 67 forks source link

Scene can't be triggered clip Api v2, scene node depreciated. #316

Open andesse opened 2 years ago

andesse commented 2 years ago

Describe the bug Can not trigger a scene, error code 500

Expected behavior Starting the scene

Screenshots image

Additional context The recall scene parameter is wrong. status leads to a 500 error, using action instead triggers the scene correctly. See code in scene node. Tested it with Rest app

image image

andesse commented 2 years ago

This is an additional thing that I just recognized, browsing the code of the scene note. Related to my previous bug report. With this change the scene problem should be solved. @Foddy

andesse commented 2 years ago

It works. I changed the "status" to "action" the hue-scene.js file, like mentioned in my bug report, replaced it and am able to trigger scenes again.