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 connection = FakeDeviceConnection()
const deviceManager = FakeDeviceManager({ const deviceManager = FakeDeviceManager({
deviceCount: 100, deviceCount: 10,
metricsInterval: 30, metricsInterval: 30000,
connection: FakeDeviceConnection, connection: FakeDeviceConnection,
onUpdateStats: updateStats, onUpdateStats: updateStats,
measurements: { measurements: {
usage: {type: 'integer', min: 0, max: 100}, temperature: {type: 'integer', min: -20, max: 60},
voltage: {type: 'integer', min: 0, max: 15}, air_humidity: {type: 'integer', min: 20, max: 100},
temperature: {type: 'integer', min: -20, max: 60} ground_humidity: {type: 'integer', min: 20, max: 100},
airforce: {type: 'integer', min: 0, max: 10}
} }
}) })
deviceManager.start() deviceManager.start()

Loading…
Cancel
Save