I'm using DHT11 to create temperature + humidity multi level sensors. I've initialized my ZUno with this sensors like this:
Code: Select all
ZUNO_SETUP_CHANNELS(
ZUNO_SENSOR_MULTILEVEL_TEMPERATURE(getterTemperature),
ZUNO_SENSOR_MULTILEVEL_HUMIDITY(getterHumidity)
);
2 questions:
1. I'm wondering if there is a way to have only 1 channel with 2 sensors in it, so I can query for the desired sensor using the sensor type.
2. using the zunoSendReport to report sensor value change, the report received in the controller don't have the endpoint value, so if I have 2 temperature sensors for example, I won't be able to distinguish what sensor sending me the updates. Is there a way to send the endpoint id with the zunoSendReport function?
Thanks!