Skip to content

weeve-modules/dht-sensor-simulator

 
 

Repository files navigation

DHT sensor simulator

name DHT sensor simulator
version v1.0.1
GitHub dht-sensor-simulator
authors Paul Gaiduk

Table of Content


Description

DHT sensor simulator module emits temperature (in °C) and humidity (in %) data periodically as if they would be comming from a sensor.

Features

  • Emits realistic temperature and humidity data in JSON format.

Environment Variables

Module Specific

The following module configurations can be provided in a data service designer section on weeve platform:

Name Environment Variables Type Description
Temperature label TEMP_LABEL string Label for the temperature data.
Humidity label HUMIDITY_LABEL string Label for the humidity data.
Data send interval SLEEP_INTERVAL integer Time interval (sec) between the messages.

Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.

Set by the weeve Agent on the edge-node

Environment Variables type Description
EGRESS_URLS string HTTP ReST endpoint for the next module
MODULE_NAME string Name of the module

Dependencies

The following are module dependencies:

  • requests

About

Simulates incoming data for an edge application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 56.8%
  • Shell 22.0%
  • Makefile 15.9%
  • Dockerfile 5.3%