Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
  • Guides
  • Device capabilities & events
    • Browse by device type
    • Device capabilities
      • Common methods
      • Detection and alarms
        • Arming
        • Attention zone
        • People counting
        • Cry detection
        • Absence from post
        • Face recognition
        • Fall detection
        • Gesture call
        • Intrusion
        • Loitering
        • Minor detection
        • Person and vehicle mix
        • Motion detection
        • Video occlusion
        • Illegal parking
        • Person detection
        • Pet detection
        • PIR
        • License plate recognition
        • Vehicle guard
        • Siren
        • Voice SOS
        • Abnormal sound
        • Tripwire
        • Unoccupied detection
        • Vehicle
        • Door contact
        • Tamper
        • Gate accessory
        • Environment sensing
          • detection.environment.humidityHigh (High humidity alarm)
          • detection.environment.humidityLow (Low humidity alarm)
          • detection.environment.temperatureHigh (High temperature alarm)
          • detection.environment.temperatureLow (Low temperature alarm)
          • detection.environment.humidity (Read current humidity)
          • detection.environment.temperature (Read current temperature)
          • detection.environment.humidity (Set current humidity)
          • detection.environment.temperature (Set current temperature)
        • Target detection frame
      • Image
      • PTZ
      • Light
      • Recording
      • Audio
      • Media
      • Network
      • Power
      • Privacy
      • Call
      • Storage
      • System
      • Algorithm
      • Maintenance
      • Control
    • Events overview
    • Permission codes
    • Capability error codes
    • Alarm and capability messages
    • Capability FAQ
    • Legacy ability and push types
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
Scope
Reader notes
Index in this folder

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

OperationID
Read current temperaturedetection.environment.temperature
Set current temperaturedetection.environment.temperature
Read current humiditydetection.environment.humidity
Set current humiditydetection.environment.humidity
High temperature alarmdetection.environment.temperatureHigh
Low temperature alarmdetection.environment.temperatureLow
High humidity alarmdetection.environment.humidityHigh
Low humidity alarmdetection.environment.humidityLow