Neowit developer docs
API referenceSupportKnowledge baseStatusApp
  • Overview
  • REST API
    • Introduction
    • Authentication
      • OAuth2
      • Basic Auth
    • Error codes
    • API reference
    • Coordinate systems
    • Query Language
      • Query Language Reference
  • Service Accounts
    • Introduction
    • Creating service accounts
  • Integrations
    • Introduction
    • MQTT
      • Native Sparkplug
      • Custom Starlark
  • Starlark
    • Introduction
    • Modules
      • time module
      • json module
      • math module
      • devices module
      • series module
      • sensors module
  • Tutorials
    • Introduction
    • Create users using API
Powered by GitBook
On this page
  • Introduction
  • Example
  1. Starlark
  2. Modules

sensors module

Introduction

The sensors modules provides constants for the different sensors Neowit supports. A full table of values is provided on the integration configuration page.

Example

# Air Flor per cubic hour
sensorType = sensors.AIR_FLOW_CUBIC_HOUR

# Indoor temperature in Celsius
sensorType = sensors.TEMP

# Outdoor temperature in Celsius
sensorType = sensors.OUTDOOR_TEMP
Previousseries moduleNextIntroduction

Last updated 11 months ago