Environment sensing
Environment sensing
Scope
detection.environment.temperature and humidity use property get/set with permission Config. temperatureHigh/Low and humidityHigh/Low are events; subscribe to capabilityEvent via setMessageCallback for pushes and use message query permission Alarm. See Detection and alarms and environment entries in the Event catalog. Device scope.
Reader notes
Start with Using capabilities. Call device.capability.list before you use IDs on this page. See Permission codes and Capability errors.
Index in this folder
| Operation | ID |
|---|---|
| Read current temperature | detection.environment.temperature |
| Set current temperature | detection.environment.temperature |
| Read current humidity | detection.environment.humidity |
| Set current humidity | detection.environment.humidity |
| High temperature alarm | detection.environment.temperatureHigh |
| Low temperature alarm | detection.environment.temperatureLow |
| High humidity alarm | detection.environment.humidityHigh |
| Low humidity alarm | detection.environment.humidityLow |
