Go to "Data Flow" in the left-side menu and select "Create Data Flow". As we have with the Multisense button a LoRa device, you select LoRaWAN as Device connector.
Make use of the Connectivity-as-a-Service that akenza offers. Therewith you do not need to have an account ready from a network provider. You simply connect your LoRa device to a network provider which is hosted and managed from akenza. To do so select Swisscom LPN and proceed to the Device Type.
Use the search field to search for Multisense in the Device Type library. In this tutorial we chose the Multisense Button Device Type, as we only want to trigger a Service request when the Service button gets pressed. Select the Multisense Button device type and proceed further to the Output Connector.
When the Service button gets pressed, an E-Mail shall be sent to a recipient. Sent data shall be also stored on the Akenza DB. Therefore select Akenza DB and Mailgun as output connectors.
To store all data on the Akenza DB, select "all" on the Akenza DB Topic. Select "All" on the E-Mail topic, as this Device Type only consists the "Button" topic. Create following Mail notification:
Name: Service on Demand
Subject: Service request
Message: You have a Service request.
Recipients: Your mail address
Once your mail notification is created, proceed with "Save Data Flow". Now you are ready to create the Multisense button Device.
To create a new device, select "Create Device" within the menu of Assets Inventory.
Add a device name and optional a description. Choose the Data Flow of the Multisense button that you just have created.
Before we proceed with the Connectivity Parameters, reset your device to connect to Swisscom LoRaWAN. To do so, press the Multisense button for three seconds. The green LED will flash accordingly. Your device is now ready to be integrated.
Fill in the following Connectivity Parameters about your Multisense button and select "Create Device".
Now you will see your added Multisense device in the Asset Inventory Overview.
Now with your device up and running you can configure it with a downlink of your choice. Choose the downlink respective to the selected device type. If you are going with your own user specific configuration, choose the general device type to fetch all data. In this tutorial we use the Downlink HEX string of the Multisense button Device Type.
Downlink Hex string
Swisscom Multisense Button
Swisscom Multisense Ambience
Swisscom Multisense Workplace
Swisscom Multisense Reed
Swisscom Multisense Vibration
Swisscom Multisense General
[PINCODE] = first 4 characters and last 4 characters of your Application key Port = 100
This mode will trigger a network-confirmed uplink message for each button press. If the button isn't pressed within 24 hours, the device will trigger a life sign message to report it is still working and under network coverage.
This mode reports the temperature and relative humidity of the sensor in regular intervals.
This mode will use the internal accelerometer to measure the occupation of a desk by the vibrations on that surface. The occupancy or usage of any other object could also be measured, however the configuration of this mode is matched for the workplace occupancy.
This mode reports how often a magnet has approached the reed contact on the device sufficiently. With an appropriate installation on the door, this mode can be used eg. to count the number of times a door is opened. Use cases: Door counting, predictive maintenance, monitoring of moving parts etc.
This mode counts the number of times an acceleration is detected above the defined threshold, no matter the directionality.
This mode is only for demo purpose and enables all sensors for an immediate feedback on the device while demonstrating. The demo mode is not intended for a productive use and might drain the battery quickly. After using the demo mode, please reset the device to a standard mode.
To send the downlink to your Multisense button device, go to "Downlink" on the Asset Detail View, insert the Payload HEX as well Port 100 and select "Send message". You will get notified if the Downlink was sent successfully.
Go to Message Logs on the Asset Detail View of your Multisense button device to see incoming data. Press also the Service button and check your mailbox, if you receive the Service-request-Mail.
Congratulations, you have successfully integrated your Multisense button device.