Closed dannyvanlierop closed 1 year ago
Hi π, I have added support for the sensor, Hue Tap Dial Switch to the underlying sensor model and published an updated version of node-hue-api@5.0.0-beta.15
that should remedy this error for you.
I do not have this switch so cannot test it out so you appreciate nay feedback as to whether or noth this solves the error for you π
Great! Thank you very much! π I will check this tomorrow and respond with feedback. :)
π― Approved! Thanks for your help.
Log of my (Hue tap dial switch) sensor: [69][Hue tap dial switch 1] lastupdated: "2022-12-15T11:11:53" rotaryevent: 1 expectedrotation: 0 expectedeventduration: 400 [69][Hue tap dial switch 1] lastupdated: "2022-12-15T11:11:53" rotaryevent: 1 expectedrotation: -15 expectedeventduration: 400 [69][Hue tap dial switch 1] lastupdated: "2022-12-15T11:11:56" rotaryevent: 1 expectedrotation: 15 expectedeventduration: 400 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:11:58" buttonevent: 4002 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:11:59" buttonevent: 2000 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:11:59" buttonevent: 2002 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:12:01" buttonevent: 1002 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:12:02" buttonevent: 3002 [70][Hue tap dial switch 2] lastupdated: "2022-12-15T11:12:04" buttonevent: 4002 [69][Hue tap dial switch 1] lastupdated: "2022-12-15T11:12:06" rotaryevent: 1 expectedrotation: -15 expectedeventduration: 400 [71][Hue dimmer switch 1] lastupdated: "2022-12-15T11:12:08" buttonevent: 3002 [71][Hue dimmer switch 1] lastupdated: "2022-12-15T11:12:09" buttonevent: 2002
Failed to create sensor from bridge model: Error: Unknown type 'zllrelativerotary' to create Bridge Model Object from.; payload:
Now I suppress error messages by comment line .\node-hue-api\dist\cjs\api\http\endpoints\sensors.js:104
Thanks for any help.