diff --git a/README.md b/README.md index a58be02..e520f7b 100644 --- a/README.md +++ b/README.md @@ -48,15 +48,14 @@ and use Chronograf UI to visualize generated data. const connection = FakeDeviceConnection() const deviceManager = FakeDeviceManager({ - deviceCount: 10, - metricsInterval: 30000, + deviceCount: 100, + metricsInterval: 30, connection: FakeDeviceConnection, onUpdateStats: updateStats, measurements: { - 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} + usage: {type: 'integer', min: 0, max: 100}, + voltage: {type: 'integer', min: 0, max: 15}, + temperature: {type: 'integer', min: -20, max: 60} } }) deviceManager.start()