zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Solution for groupID not / wrong reported (e.g. IKEA remote control)

Open didiht opened this issue 7 years ago • 3 comments

There is a little bug in file 'lib/controller.js' which leads to the debug message '... with groupID undefined ...' in the log file.

line 136:

(message.groupid ? ` with groupID ${message.groupID}` : '') +
                                            ^^^^^^^

has to be corrected to

(message.groupid ? ` with groupID ${message.groupid}` : '') +

With this change the groupID is reported as expected and sniffing is not necessary anylonger.

didiht avatar Jul 27 '19 08:07 didiht

Good catch, can you make a pr?

Koenkk avatar Jul 27 '19 09:07 Koenkk

Done. I hope I did it in a correct way since I am just learning to play with git.

didiht avatar Jul 27 '19 11:07 didiht

looks good, merged it so assume this can be closed, thanks!

Koenkk avatar Jul 27 '19 11:07 Koenkk