iotgenerator
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i iotgenerator

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

15 kB

Total Files

9

Last publish

Collaborators

  • guyb2022