The OpenSensors integration allows you to publish uplink data to the OpenSensors broker.
OpenSensors is a real time data exchange for the internet of things, called ‘Twitter for Sensors’ by wired.com. Their mission is to make data generated from IoT useful and accessible.
Go to www.opensensors.io for more information.
In the The Things Network Console you will be asked to enter the four following settings:
Device uplinks will be published to topics in the form users/<opensensors-username>/<ttn-device-id>
. The topics will be created automatically.
The payload contains the decoded payload and the raw
field with the base64 encoded raw payload. Note that this may overwrite an existing raw
field that is output of your decoder or converter payload function.
Example published payload:
{
"celcius": 25.19,
"light": 759,
"raw": "MDJGODAyMDcwMThB",
"sound": 473
}