Browse Source

Upload files to ''

master
cse47242 4 years ago
parent
commit
3c0d133018
  1. 11
      README.md

11
README.md

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

Loading…
Cancel
Save