All Projects → sigfox → Sigfox Downlink

sigfox / Sigfox Downlink

Basic examples to handle Sigfox downlink requests

Labels

Projects that are alternatives of or similar to Sigfox Downlink

Pytradfri
IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.
Stars: ✭ 778 (+3141.67%)
Mutual labels:  iot
Paho.mqtt.embedded C
Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)
Stars: ✭ 887 (+3595.83%)
Mutual labels:  iot
Coapnet
CoAPnet is a high performance .NET library for CoAP based communication. It provides a CoAP client and a CoAP server. It also has DTLS support out of the box.
Stars: ✭ 23 (-4.17%)
Mutual labels:  iot
Sitewhere
SiteWhere is an industrial strength open-source application enablement platform for the Internet of Things (IoT). It provides a multi-tenant microservice-based infrastructure that includes device/asset management, data ingestion, big-data storage, and integration through a modern, scalable architecture. SiteWhere provides REST APIs for all system functionality. SiteWhere provides SDKs for many common device platforms including Android, iOS, Arduino, and any Java-capable platform such as Raspberry Pi rapidly accelerating the speed of innovation.
Stars: ✭ 788 (+3183.33%)
Mutual labels:  iot
Datastream.io
An open-source framework for real-time anomaly detection using Python, ElasticSearch and Kibana
Stars: ✭ 814 (+3291.67%)
Mutual labels:  iot
Ulnoiot Upy
retired version of ulnoiot based on micropython
Stars: ✭ 17 (-29.17%)
Mutual labels:  iot
Epoc.js
Node.js addon for the Emotiv C++ SDK
Stars: ✭ 763 (+3079.17%)
Mutual labels:  iot
Pymb1a
Python class to communicate with Xiaomi Mi band 1A fitness tracker
Stars: ✭ 24 (+0%)
Mutual labels:  iot
Hslcommunication
An industrial IoT underlying architecture framework, focusing on the underlying technical communications and cross-platform, cross-language communication functions, to achieve a variety of mainstream PLC data reading and writing, to achieve modbus of various protocols read and write, and so on, to support the rapid construction of industrial upper computer software, configuration software, SCADA software, factory mes system, To help enterprise Industry 4.0 take-off, to achieve intelligent manufacturing, smart factory goals. The main PLC contains Siemens, Mitsubishi, Omron, Panasonic, Modbus, AB-PLC, Redis
Stars: ✭ 816 (+3300%)
Mutual labels:  iot
Nativescript Particle
🕹 Control your https://particle.io devices from NativeScript
Stars: ✭ 19 (-20.83%)
Mutual labels:  iot
Arraymancer
A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
Stars: ✭ 793 (+3204.17%)
Mutual labels:  iot
Raspberrymatic
🏠 A lightweight, buildroot-based Linux operating system alternative for your CCU3, ELV-Charly or for running your IoT "HomeMatic CCU" as a virtual appliance (using ESXi, Proxmox, VirtualBox, Docker/OCI, Kubernetes/K8s, Home Assistant, etc.) or on your own RaspberryPi, Tinkerboard, etc. SBC devices...
Stars: ✭ 803 (+3245.83%)
Mutual labels:  iot
Awesome Ttn
A curated list of awesome things related to The Things Network
Stars: ✭ 18 (-25%)
Mutual labels:  iot
Volantmq
High-Performance MQTT Server
Stars: ✭ 785 (+3170.83%)
Mutual labels:  iot
Iota.js
IOTA JavaScript monorepo
Stars: ✭ 921 (+3737.5%)
Mutual labels:  iot
Ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Stars: ✭ 6,896 (+28633.33%)
Mutual labels:  iot
Mqttx
MQTT X - Elegant MQTT 5.0 Client Tool of Cross-platform
Stars: ✭ 892 (+3616.67%)
Mutual labels:  iot
Home Assistant Config
Home Assistant config files, rewritten to use the latest features, 100+ documented automations, automatically generated ToC 🏠 🤖
Stars: ✭ 926 (+3758.33%)
Mutual labels:  iot
Send altitude cocoos
IoT program for Arduino Uno / STM32 Blue Pill (libopencm3) that reads BME280 temperature + humidity + altitude sensors, via I2C or SPI with DMA and multitasking. Sends sensor data to Sigfox via Wisol Sigfox module on UART. Runs on cocoOS task scheduling library http://www.cocoos.net
Stars: ✭ 24 (+0%)
Mutual labels:  iot
Jackal
Instant messaging server for the Extensible Messaging and Presence Protocol (XMPP).
Stars: ✭ 899 (+3645.83%)
Mutual labels:  iot

Sigfox Downlink Callback

About Sigfox

Sigfox operates a global network, dedicated to the IoT.
Very low energy consumption, allowing devices to last years on battery.

The network is all about small messages (12 bytes of useful payload) every now and then (up to 140 times per day).

As the network is bi-directionnal, you can send data from your server to your devices whenever they ask for an update

Check out our developers portal to get more informations about Sigfox.

Downlink details

A downlink message is a message sent to your device.
Using the Sigfox network, this message can be sent either by the network itself (direct, with a few built-in vars), or by the user's application server (callback)

Each downlink message is an 8-bytes frame.

Every time one of your devices will request a downlink message, the callback URL you defined will be called. You need to send back an HTTP 200 OK response, and the 8 bytes response. In some cases, you may have no data to send, then simply reply with a HTTP 204 No Content. This way, no message will be sent to your device.

When sending back some data, you must comply with the following:

Header : Content-Type: application/json

Response body:

{
  '{{deviceId}}': {
	'downlinkData':{{data}}
 }
}

Set up your downlink callback

  1. Log in your Sigfox Cloud account.

  2. Navigate to the appropriate device type menu

  3. Edit the device type, to set the Downlink mode to callback Device Type Edition

  4. In the Callbacks menu, create a custom callback

Callbacks list Custom Callbacks

  1. Set the following settings
  • Type: DATA / BIDIR
  • Channel: URL
  • Url pattern : Your domain + endpoint
  • Check the POST checkbox
  • Content type : application/json
  • Body : the data that will be sent to your service. Customize to your needs

In this example, the body was set as:

{
	"deviceId":"{device}",
	"data": "{data}"
}

Callback creation

  1. Activate your downlink callback

By default the BIDIRcallback will be inactive after creation

Downlink Inactive

Click the Downlink picto to activate it.
Bear in mind that only one downlink callback can be active at a time.

Downlink Active

Examples

This repository contains boilerplate examples in different languages. The goal is to help you getting started with your favorite language.
Fixes, pull requests, ... are all welcome :)

Available Code Samples

NodeJS

Php

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].