How to set the FeatureMap attribute in the Occupancy sensing?

Hi,the Nordic team

    I found that I couldn't set the FeatureMap attribute in the occupancy sensing section within .zap. How can I set it then?

the borad:Nrf54L115

the sdk:2.9.1

Best Regards,

Liisa

  • Hi,

    Lets see if what I suggested in  The app does not have a color temperature adjustment display works for your case:  

    For the Occupancy Sensing cluster specifically, you should:

    1. Open your .zap file using the ZAP tool
    2. Navigate to the Occupancy Sensing cluster configuration
    3. Look for the FeatureMap attribute in the cluster's attribute list
    4. Set the FeatureMap value according to your requirements (the specific value depends on which features you want to enable)

    If you cannot find the FeatureMap attribute in the ZAP tool GUI, you may need to edit the .zap file directly as a JSON file, since the ZAP file is a JSON file that contains the data model configuration.

    Note: Make sure to regenerate your code after modifying the ZAP configuration to apply the changes.

    Kind regards,
    Andreas

Related