ZigBee Cluster and how to configure the ZigBee stack for my soil moisture sensor?
Hi,
I´m designing a ZigBee-based soil moisture sensor with three different sensors on it:
- A cap field for the soil measurement
- A temperature sensor for the ambient temperature
- A light sensor for the ambient light
But I´m unsure about a good approach to the ZigBee integration for this sensor and I also don´t understand the idea behind "Clusters" and "Endpoints" so far. Is a "Cluster" something like a "Service" and the "Endpoint" like a "Characteristic" in BLE? If not, what is a good explanation for it?
For the configuration, I have two ideas in my mind
1) Use a different endpoint for each of these sensors. The device ID is set to "Simple Sensor" and "Light Sensor" with profile ID "HA" and don´t use any Cluster
2) Use one endpoint with device ID "Simple Sensor" and profile ID "HA" and use the "Water Content Measurement", "Illuminance Measurement" and "Temperature Measurement" cluster
Which one is the best way (or does an even better solution exist)?
