Files
hawkbit/examples/hawkbit-device-simulator/README.md
Kai Zimmermann 64deaeea3c Remove swagger and minor feature extensions and bug fixes
- Various Bug fixes and improvements
- Management API extended
- Swagger removed
- Guava Upgraded to 19
2016-01-21 13:42:38 +01:00

1.0 KiB

hawkBit Device Simulator

The device simulator handles software update commands from the update server.

Run

java -jar examples/hawkbit-device-simulator/target/hawkbit-device-simulator-*-SNAPSHOT.jar

Or:

run org.eclipse.hawkbit.simulator.DeviceSimulator

Notes

The simulator has user authentication enabled by default. Default credentials:

  • username : admin
  • passwd : admin

This can be configured/disabled by spring boot properties

Usage

The device simulator exposes an REST-API which can be used to trigger device creation.

Optional parameters:

  • name : name prefix simulated devices (default: "dmfSimulated"), followed by counter
  • amount : number of simulated devices (default: 20, capped at: 4000)
  • tenant : in a multi-tenenat ready hawkBit installation (default: "DEFAULT")

Example: for 20 simulated devices (default)

http://localhost:8083/start

Example: for 10 simulated devices that start with the name prefix "activeSim":

http://localhost:8083/start?amount=10&name=activeSim