Skip to content

Commit

Permalink
Update TTN/LoRaWAN README
Browse files Browse the repository at this point in the history
  • Loading branch information
thiasB committed Apr 27, 2020
1 parent ba6271e commit a970eb9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions client/TTN/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ In case of using the Terkin Datalogger firmware with the Hiveeyes.org environmen

``hiveeyes-USER-LOCATION-NAMEOFHIVE``

and replace upper case strings with your individual lower case namings without additional dashes. ``hiveeyes-USER`` will becomce your InfluxDB client data base and ``LOCATION-NAMEOFHIVE_sensors`` your InfluxDB measurement name.
and replace upper case strings with your individual lower case namings without additional dashes. ``hiveeyes-USER`` will become your InfluxDB client data base and ``LOCATION-NAMEOFHIVE_sensors`` will be your InfluxDB measurement name.

In ``settings.py`` networking section enter your TTN device credentials (copy and paste from TTN console) and deactivate all telemetry targets except ``CayenneLPP over TTN-LoRa``. ``datarate`` defines the `bandwidth and spreading factor <https://www.thethingsnetwork.org/docs/lorawan/modulation-data-rate.html>`_ for the joining process while ``'adr' = True`` enables the `Adaptive Data Rate <https://www.thethingsnetwork.org/docs/lorawan/adaptive-data-rate.html>`_.
In ``settings.py`` networking section enter your TTN device credentials (copy and paste from TTN console) and deactivate all telemetry targets except ``CayenneLPP over TTN-LoRa``. ``datarate`` defines the `bandwidth and spreading factor <https://www.thethingsnetwork.org/docs/lorawan/modulation-data-rate.html>`_ for the joining process while ``'adr' = True`` enables the `Adaptive Data Rate <https://www.thethingsnetwork.org/docs/lorawan/adaptive-data-rate.html>`_ for subsequent
data packages depending on the LoRa signal quality.

**********
CayenneLPP
Expand All @@ -35,6 +36,6 @@ A Telegram bot for interactinhg with the device via LoRaWAN downlinks is availab
Currently these two capabilities are implemented:

- ``/pause`` and ``/unpause`` for pausing and continuing the inclusion of sensor data into the payload, e.g for times when you are working on the bees hives
- ``/sleep MIN`` for remotely setting the Deep Sleep interval in MIN minutes
- ``/sleep MIN`` for remotely setting the Deep Sleep interval in MIN minutes. Send ``/sleep 0`` to return to the interval defined in your device configuration.

Please see `Telegram bot documentation <https://core.telegram.org/bots>`_ for how to get started with a bot at first. An always on server under your control will be needed to run the bot. Remember that downlink messages to the device are not being sent immediately but always shortly after an uplink message has been successfully received by the network.
Please see `Telegram bot documentation <https://core.telegram.org/bots>`_ for how to get started with a bot at first. An always-on server under your control will be needed to run the bot. Remember that downlink messages to the device are not being sent immediately but shortly after an uplink message has been successfully received by the network.

0 comments on commit a970eb9

Please sign in to comment.