SIGFOX is a cellular-like system that connects remote devices using Ultra Narrow Band (UNB) technology. It is mainly targeted at low data rate applications. A large number of devices can be interconnected using SIGFOX technology. mySCADA provides a direct connection to the SIGFOX portal. You can retrieve current data from all of your devices registered in SIGFOX portal and use them freely in mySCADA to visualize, log, and use for alarming.
1. First, log into the SIGFOX portal at https://backend.sigfox.com, select your group, and enable “Api access.” You will be presented with login details as in the picture below:
2. Create a new connection in the mySCADA project and enter the Login and Password from the previous step.
3. Now please add all the devices you wish to use the SIGFOX portal.
Reading data from devices: To read data from your devices connected to SIGFOX network, all you need to know is the ID of your device. You can find the ID in the device list:
When you know ID of your device, you can read various pieces of information from the device: for example, latitude and longitude, time of delivered message, or the message itself. To read the message, you have several options of how to retrieve values from the message automatically. To do so, please look at the format on how to do it.
This is the format on how to retrieve a value from your device:
deviceID is the ID of your device as registered in SigFox portal; it is a five-digit hexadecimal number.code specifies which data you want to read from the device. Possible options are:
- data – message from the device (up to 12 bytes)
- lat – latitude
- lng – longitude
- time – time of received message in UTC unix timestamp format
- tap – TAP ID of the base station that received the message
- state – The device stateOK
- TIP: if you just want to read values from the message, you can omit writing “data” and directly write: deviceID.datatype[index].bit