Query number of zones from LIFX Z

For my application it would be useful to know number of zones LIFX Z has. Starter kit has 2m length and therefore 16 zones but it is possible to extend this with 1m extensions, each adding 8 zones. Does the lightstrip know it’s size and is it possible to query that information? From LAN protocol I could not find that information. Thanks.

@superg

The StateZone and StateMultiZone responses



to GetColorZones

both include a count field containing the zone count of the strip.

Thanks for quick reply. Can’t believe how I missed that one :tired_face:
Studying LAN protocol for days has made me blind, better have a break.