You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like short (friendly) names, so gave my first rgb-lamp as friendlyname 'rgb' in the config
After that I was unable to set/get messages for that specific device.
Renaming to rgblamp fixed this, so at first the idea was that there was a minimal length of friendly name, but 'xx' also seemed to work on further testing
After some q&a on the discord-channel, people pointed to:
So apparently 'rgb' ('left', 'right', 'center', 'bottom_left', 'bottom_right', 'l1', 'l2', 'default',
'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom', 'center_left', 'center_right',
'ep1', 'ep2', ) are a sort of 'reserved keyword', and using it made all fail via:
Bug Report
I like short (friendly) names, so gave my first rgb-lamp as friendlyname 'rgb' in the config
After that I was unable to set/get messages for that specific device.
Renaming to rgblamp fixed this, so at first the idea was that there was a minimal length of friendly name, but 'xx' also seemed to work on further testing
After some q&a on the discord-channel, people pointed to:
https://github.com/Koenkk/zigbee2mqtt/blob/dev/lib/util/utils.js#L30
So apparently 'rgb' ('left', 'right', 'center', 'bottom_left', 'bottom_right', 'l1', 'l2', 'default',
'top_left', 'top_right', 'white', 'rgb', 'system', 'top', 'bottom', 'center_left', 'center_right',
'ep1', 'ep2', ) are a sort of 'reserved keyword', and using it made all fail via:
zigbee2mqtt/lib/zigbee.js
Lines 167 to 177 in b459c35
On Discord people proposed:
and/or
How to reproduce it (minimal and precise)
Just give a device 'rgb' or 'left' as friendly name and try to get/set messages
Debug Info
zigbee2mqtt version 1.7.1 (commit #b459c35)
The text was updated successfully, but these errors were encountered: