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 apologize if it is not a proper place for that kind of discussion.
I'm trying to add new my custom device to zigbee2mqtt. Device has an atrribute of struct type. As I understood I should use writeStructure method for that. I've managed to send an array, but I have problems how to form payload is datatype is struct.
But in the end I have the error in the log:
Cannot read properties of undefined (reading 'length')
Could anyone provide me an example how to send data of STRUCT type?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I apologize if it is not a proper place for that kind of discussion.
I'm trying to add new my custom device to zigbee2mqtt. Device has an atrribute of struct type. As I understood I should use writeStructure method for that. I've managed to send an array, but I have problems how to form payload is datatype is struct.
But in the end I have the error in the log:
Cannot read properties of undefined (reading 'length')
Could anyone provide me an example how to send data of STRUCT type?
Beta Was this translation helpful? Give feedback.
All reactions