A simple program which just invokes the DHT11 reader program, encodes the data using a CBOR library, and sends it over LoRa to TTN / AllThingsTalk.
Refer to the original post at https://community.onion.io/topic/2982/omega2-as-a-lorawan-node/2
Note: RESET of the I2C bridge must be held high.
The CBOR-CPP library is taken from https://github.com/naphaso/cbor-cpp. License is Apache 2.0. [Copyright 2014-2015 Stanislav Ovsyannikov]