Closed mrsteakhouse closed 4 years ago
@mrsteakhouse just waiting on the one small spacing change.
Commit https://github.com/WebThingsIO/zigbee-adapter/commit/4518496ba207cd1649da8512e1c833693869e04e means that the adapter no longer crashes. However, the Tradfri remote control with deviceId = 0820 no longer has a scene property and the scene buttons do not work. Initial debugging indicates that
const genScenesOutputEndpoints =
node.findZhaEndpointWithOutputClusterIdHex(
CLUSTER_ID.GENSCENES_HEX);
results in null whereas previous to this PR it did return an end point. I accept that the physical device appears to be buggy as it does not initially report the Cluster Id for Scenes however later it sends messages to that Cluster Id. Which means that a good fix may be difficult. I will look into this as my other commitments allow.
@mrsteakhouse @mrstegeman see Zigbee adaptor crashing I'm suggesting that this PR be reverted until the collateral damage is resolved.
Good day,
This is based on this PR: https://github.com/WebThingsIO/zigbee-adapter/pull/124 In regards to this issue https://github.com/WebThingsIO/zigbee-adapter/issues/236 i made some changes to additionally support multiple endpoints on a single device. Also many thanks to @dhylands for doing the hard work. Tested with my local Gateway setup and the Innr RC 110.
When setting the remote to scenes, the on/off button and +/- buttons work, however i did not manage to get the numbered buttons to work. Setting the slider to lights enables the numbered buttons to alter the codes for the top 3 buttons. Each now controls a different property with each on/off and level state. Anyways i'm very happy with the result.
I'm not very fluent with JS so please point out any bad parts.
The classifier log messages: