Browse Source

Update 'README.md'

master
cse47242 4 years ago
parent
commit
206226af53
  1. 11
      README.md

11
README.md

@ -48,14 +48,15 @@ and use Chronograf UI to visualize generated data.
const connection = FakeDeviceConnection()
const deviceManager = FakeDeviceManager({
deviceCount: 100,
metricsInterval: 30,
deviceCount: 10,
metricsInterval: 30000,
connection: FakeDeviceConnection,
onUpdateStats: updateStats,
measurements: {
usage: {type: 'integer', min: 0, max: 100},
voltage: {type: 'integer', min: 0, max: 15},
temperature: {type: 'integer', min: -20, max: 60}
temperature: {type: 'integer', min: -20, max: 60},
air_humidity: {type: 'integer', min: 20, max: 100},
ground_humidity: {type: 'integer', min: 20, max: 100},
airforce: {type: 'integer', min: 0, max: 10}
}
})
deviceManager.start()

Loading…
Cancel
Save