Documents the end to end scenario for registering user, devices, shields and generating events for the devices.
- Run the command
node createUser.js
to create a user. - Run
node createShield.js
to create a shield. - Then run the command
node createUserShieldAssociation.js
to associate the user created in step 1 with the shield created in step 2. - Then run the command
node updateAnalyticsEngine.js
to have the analytics engine update to reload the latest associations. - Use the
node simulateHazard.js
command to trigger an event.
See [IBM IoT for Insurance] (https:// console.ng.bluemix.net/docs/services/IotInsurance/index.html) for more details.