A script to take messages from an MQTT channel on either LoRaServer.io or TheThingsNetwork and publish them as sensor data on a FarmOS.org installation
We already have a configuration flag to select the type of LoRaWAN server that we will be connecting to, however at present we only have functionality for LoRaServer.io.
We already have a configuration flag to select the type of LoRaWAN server that we will be connecting to, however at present we only have functionality for LoRaServer.io.
We should add an additional
if
statement after the code for loraserver.io at https://github.com/mockingbirdconsulting/FarmOSMQTT/blob/master/farmosmqtt.py#L85 that unpacks the Loriot Payload and puts it into the right format for FarmOS.