From 206226af53160f23a6808f15325f7404417d9dce Mon Sep 17 00:00:00 2001 From: cse47242 Date: Fri, 25 Dec 2020 16:07:24 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e520f7b..a58be02 100644 --- a/README.md +++ b/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()