1 # AllWize - WIZE 2 TheThings.IO
3 Listens to messages on the same channel, data rate and CF and
4 forwards them to an MQTT broker.
5 This example is meant to run on a Wemos D1 board (ESP8266).
7 Configuration: copy the `configuration.sample.h` file to `configuration.h` and
8 edit it to configure your WiFi network credentials and the TheThings.IO mapping.
10 The payload format is very simple at the moment being just a comma separated list of values.
11 The topic is configured to be a placeholder with the node identification
12 (now using the message CI file) and an index for each value in the payload.
14 The TheThings.IO mapping is encoded as a JSON document inside the code and parsed on boot.
15 This document is an array of devices. Each device has the following fields:
17 * `id` for the node id, currently using the CI field
18 * `token` for the thing token in TheThings.io
19 * `keys` is an array of keys that will be mapped to values in the message payload
21 Always remember to connect the antenna before powering the board!
25 Copyright (C) 2018-2020 by AllWize ([http://allwize.io](http://allwize.io))
27 AllWize library is free software: you can redistribute it and/or modify
28 it under the terms of the GNU Lesser General Public License as published by
29 the Free Software Foundation, either version 3 of the License, or
30 (at your option) any later version.
32 AllWize library is distributed in the hope that it will be useful,
33 but WITHOUT ANY WARRANTY; without even the implied warranty of
34 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 GNU Lesser General Public License for more details.
37 You should have received a copy of the GNU Lesser General Public License
38 along with AllWize library. If not, see <http://www.gnu.org/licenses/>.