Skip to content

SensorPot/SensorPotSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SensorPotSimulator

Sensor Simulator for SensorPot Project

The project support both simulated sensors or sensors defined in SensorPot database.

Running Steps

  1. Copy env to .env
  2. Configure options
  3. Start the program by node app.js directly

Configuration

Overall Sensor Number, (Performance Caution!!!):

SIMULATED_USERS=100

Lumen update Interval, 1000 = 1S

LUMEN_INTERVAL=3000

Humidity update Interval, 1000 = 1S

HUMIDITY_INTERVAL=5000

Temperature update Interval, 1000 = 1S

TEMPERATURE_INTERVAL= 10000

MQTT BROKER URL

BROKER_URL = 'mqtt://127.0.0.1:1883'

Simulate Sensor Data based on sensor stored in database

READ_SENSOR_FROM_DB = true

About

Sensor Simulator for SensorPot Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published