Event hub data generator
Running this command will generate random mock data in a loop every 1 second
Options
Options:
Options:
-h, --help Display help information [string]
--version Show version number [boolean]
-i, --hostName Mock Iot Device hostname [string]
-n, --hubName Event hub name [string]
-s, --sasKey Event hub name shared access key [string]
Example Usage
`iotgenerator -s YOUR_SAS_KEY -n HUB_NAME -i HOSTNAME
This will send a payload with the following properties
{ mname: hostName, temperature: number, frequency: number, voltage: number, timestamp: now, }
Numbers will be randomly generated