This page: https://bit.ly/3wt9PM4
- KPN Things Portal (sign up for Freemium account): https://portal.kpnthings.com/
- Device Simulator App
- KPN Things Portal documentation: https://docs.kpnthings.com/portal
- Developer manual: https://docs.kpnthings.com/dm
- SenML documentation: https://docs.kpnthings.com/dm/concepts/senml
- ThingsML documentation: https://docs.kpnthings.com/dm/processing/thingsml
- Webhook (receive messages without setting up a server): https://webhook.site
- tiny-asset-tracker (Free demo asset tracking web application): https://github.com/kpn-iot/tiny-asset-tracker
- Node LTS (16.x): https://nodejs.org/en/download/ or on Mac use
brew install nvm && nvm install 16
- NPM 8.x is included with Node
- Azure CLI: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli or on Mac use
brew install azure-cli
- Slides from the workshop: Will be added later
Submit light blinking sequence for Streamline:
fport: 119
payload: 0107050532
- Create a Freemium account on KPN Things Portal
- On the Home page, go to "Add new Device"
- Select "Device Simulator", enter a name and click "Add device"
- Install the Device Simulator App on your phone
- Scan the QR-code with the app
- Click "Add Network Info" and click "Finish"
- Go to the tab "Device Twin", click "the Device needs..."
- Select the flow "My First Flow"
- Click "Add more Data..." and select "Use all Data"
- Go back to Device Twin
- On the tab "Flows", click on "My First Flow"
- Select "Data Processing" and under "Device Simulator (Mobile Phone app)" enable the decoder and encoder
- Go back to "My First Flow" and select "Destinations"
- In a separate tab, go to webhook.site and copy the URL from the screen, not from the URL bar
- Back on the Portal, add a HTTPS destination with the webhook.site URL you copied
- Go back to Device Twin
- On your phone, select "Location" and click "Send data now"
- In Device Twin, click "Refresh"
- Follow the steps for the tiny-asset-tracker web app
- After uploading to Azure Web app, modify the destination for "My First Flow" to the URL returned by Azure CLI.
- Try sending data from your phone and refreshing the web app hosted on your Azure account.