We suggest you to follow the training: https://www.snap4city.org/944
-
Part 3: IOT App, Process Logic, Server Side Business Logic
-
Part 5: Data Ingestion and Interoperability
Older information and training as follows:
Snap4City support a large range of IOT Protocols and IOT protocols see for details on:
We suggest you to follow the COURSE / TUTORIAL before addressing this part, a lot of simpler solutions are presented there
You need to be registered and logged into the platform https://www.snap4city.org
The IOT Device that you have it could be in above depicted cases:
- Already registered on an IOT Broker of your/city organization. In this case, who provided you the IOT Device may have provided also at least: an IOT Device Identifier, a description of the data produced by the Device, the protocol kind and the IOT Broker in which it is registered, etc. For example: device ID: es286481295, temperature and humidity, NGSI, the “orionFinland” IOT Broker on https://ngsi.fvh.fi or the “Antwerp” IOT Broker on https://ext-api-gw-p.antwerpen.be. In order to exploit the data of your IOT Device in the Platform, you
- have an IOT Device which is registered on an IOT Broker (for example, you received with the IOT Device the name of the IOT Broker) that is registered to Snap4City. You have two cases:
- the IOT Device has been **already registered** on Snap4City by the organization/city. This case can be verified by using the steps described in:
- See in this case: HOW TO: verify if an IOT device is registered and accessible for me.
- if the IOT device is registered please note that you are in case A3, if not, go at case A1.2
- the IOT Device is **not yet registered** on Snap4City (for example when a IOT Broker is managed by a third organization for security aspects, for example the FHV or DIGIPOLIS, or IMEC, ...), they given to your the device to test on different platforms.
- need to access IOT Device data without registering the IOT Device in the Snap4City platform and Broker, you need to know some configuration parameter of the IOT Broker and IOT Device, and Snap4City IOT App can get data directly from the IOT broker of your device without the need of having the Broker officially registered on snap4City.
- See in this case: HOW TO: add IOT Device data source from external broker to the platform.
- the IOT Device has been **already registered** on Snap4City by the organization/city. This case can be verified by using the steps described in:
- have an IOT Device which is already registered to an internal Snap4City IOT Broker (a IOT Broker managed by Snap4City for security aspects). In this case, the IOT Device and corresponding data are immediately accessible, and you can find them into the list of your data in the Data Inspector view, for Dashboards, etc., go in the Data Inspector to search your data by GPS location, name, nature as you like.
- have an IOT Device which is registered on an IOT Broker (for example, you received with the IOT Device the name of the IOT Broker) that is registered to Snap4City. You have two cases:
- Not registered to an IOT Broker. In this case, you need to know, at least, how the IOT Device works and how it can be internally configured to communicate with an IOT Broker: to authenticate, register, etc. So that you need to know: an IOT Device Identifier, a description of the data produced by the device, the protocol, etc. For example: device ID: 286481295, temperature and humidity, NGSI with basic authentication,
- In this case, the first step is to register the IOT Device to an IOT Broker. Snap4City offers you a number of Snap4City IOT Brokers compliant with different protocols to which you can connect your device. To this end, please follow this tutorial:
- in alternative you can find some other brokers in your area according to the protocol of your device.
- Once registered the IOT Device to an IOT Broker please restart from case (A); if you registered with a Snap4City IOT Broker it will be easy an (A2).
- In this case, the first step is to register the IOT Device to an IOT Broker. Snap4City offers you a number of Snap4City IOT Brokers compliant with different protocols to which you can connect your device. To this end, please follow this tutorial:
Specific Snap4City Devices: Arduino, ESP32, Raspberry Pi, Android, PAX Counter, LoraWAN, etc.
- Snap4City: Arduino & ESP8266 IOT Device NGSI
- IDE Setup for Snap4All IOT Button, and source code
-
TC9.7- Connection from LoraWan Dragino/arduino to Orion broker
-
Tutorial: connecting an ESP-12 device to the snap4city network
- TC9.14: How to use a Mobile Phone Android as IOT Edge with IOT Applications in Node-RED
- Snap4All IOT Button: based on ESP32, NGSI compliant secure connection
-
TC9.15: PAXCounters of different kinds: Counting the number of people
- Solution: using PAX Counters, monitoring museum and events
- Creating: IOT Device, Raspberry Pi based, totally compliant with Snap4City
- Registering IOT Edge: example of Raspberry Pi, total security
- Tutorial: connecting a raspberry Pi to the Snap4city network
Other management activities
In all these cases, you can manage access and rights, use them for Dashboards, perform data analytic, etc.
Once the device and the data are added to the platform, they can be used to create dashboards together with other data sources already available on the platform: HOW TO: create a Dashboard
Please start a fully guided training cases:
- HOW TO: create a Dashboard in Snap4City
- HOW TO: add data sources to the Snap4City Platform
- HOW TO: define privacy rules for personal data, produced by the end-users own device
if You are a professional you could be also interested on this Tutorial on the Bulk Load Approach for IOT Devices on Snap4City
Recently we have added two features at level of Administrators for the IOT Device ingestion:
- Configuration for setting up IOT broker update. So that Snap4City can automatically update the number of IOT devices that may arrive from an IOT broker. This allows to see them automatically available for IOT App and Dashboard when attached to any IOT Broker registered on Snap4City.
- Allow the formalization of mapping rules for data arriving from the IOT Devices and those posted into the Snap4City Knowledge base according to the ingestion protocol.
- Please remind that at the same level, the administrator can perform the IOT device ingestion with a Bulk process, thus shortening the registration phase of large amount of IOT devices.