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'm struggling to plan Zigbee structure for my device to use in z2m.
The device (based on ESP32C6) should have the following properties exposed (all read & write):
// main
binary main_onoff;
int main_mode; //0-2
int fan_level; //0-5
float main_target_temp; // I saw temperature stored and reported as int *100 in Zigbee specs, but not sure how the division by 100 should handled
// section 1
binary z1_onoff; // 0-1
float z1_target_temp;
float z1_current_temp;
// section 2
binary z2_onoff;
float z2_target_temp;
float z2_current_temp;
and so on for 6 more sensors (8 in total)
// section 8
binary z8_onoff;
float z8_target_temp;
float z8_current_temp;
I want to be able to operate all on-off's normally in HA, how exactly the rest is handled is not a big concern as long as they're all read-write.
Should I be creating main endpoint (10) and then an endpoint starting from 1 to 8?
What clusters should I use? Nothing seems to fit perfectly, an on-off cluster and a temperature cluster are the closest, but then I'd need 2 for the temperature, and I also don't think those are read-write by the specs.
I'd love to just use a simple on-off for the 'main' and a custom cluster for the rest, but it appears z2m does not support that...
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'm struggling to plan Zigbee structure for my device to use in z2m.
The device (based on ESP32C6) should have the following properties exposed (all read & write):
I want to be able to operate all on-off's normally in HA, how exactly the rest is handled is not a big concern as long as they're all read-write.
Should I be creating main endpoint (10) and then an endpoint starting from 1 to 8?
What clusters should I use? Nothing seems to fit perfectly, an on-off cluster and a temperature cluster are the closest, but then I'd need 2 for the temperature, and I also don't think those are read-write by the specs.
I'd love to just use a simple on-off for the 'main' and a custom cluster for the rest, but it appears z2m does not support that...
Beta Was this translation helpful? Give feedback.
All reactions