Skip to main content

TG-LRX2 Utilities

Utilities to generate and publish command and configuration messages for TG-LR82, TG-LR92 LoRaWAN devices.

Example

Command source file:

# lora-script.txt
frame set-cfg 1,601,0,0,current-state,activity
frame set-cfg 1,43200,1,0,mag-switch

Generate downlink messages (lora-pub.yml) to schedule on LoRaWAN network server:

tg-lrx2-encode --script ./lora-script.txt --max-len=50 --out ./lora-pub.yml

Optionally publish to TTN network server from CLI:

tg-lrx2-pub --host ./ttn-app.yml --dl-msg ./lora-pub.yml device-id

Example credential file:

# ttn-app.yml
app-id: "ttn-tag-demo@ttn"
host: "eu1.cloud.thethings.industries"
port: 1883
user: "ttn-tag-demo@ttn"
password: "NNSXS.5G..."

See https://help.mikrotik.com/docs/spaces/UM/pages/181338171/TG-LR for more details.

Changelog

1.1.0

  • Changed tg-lrx2-encode help.
  • Device descriptor "--dev-desc" is not mandatory. Latest descriptor is now distributed with package.
  • Fixed data rule encoding bug. Wrong rule expression encoding if other variable name is part of longer variable name.

1.0.0

  • Initial release

Metadata

Release files for tg-lrx2-utils 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tg-lrx2-utils 1.1.0
File Size Uploaded Provenance Actions
tg_lrx2_utils-1.1.0.tar.gz 14.8 kB Without provenance Details for tg_lrx2_utils-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tg-lrx2-utils 1.1.0
File Interpreter ABI Platform Actions
tg_lrx2_utils-1.1.0-py3-none-any.whl Python 3 none any Details for tg_lrx2_utils-1.1.0-py3-none-any.whl

Total release size: 29.1 kB

Release files / tg_lrx2_utils-1.1.0.tar.gz

Download URL tg_lrx2_utils-1.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
530ab32175b19fb05a3ca8e3daeb2bd5af1b978eb37910126f32cf0051ed8fde
BLAKE2b-256 checksum
How to use checksums
4e3c60bc4844ffb814258ffa3f37cca57b33b148b2092277280def4ecfe15b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / tg_lrx2_utils-1.1.0-py3-none-any.whl

Download URL tg_lrx2_utils-1.1.0-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed21692ccf206b3370b4c319446a674a892cf1d3ab5306dd8731680b4992c5c8
BLAKE2b-256 checksum
How to use checksums
3b864e16ee505e35d709777c45ac8cee1830a0d66706f28869cad8186a8fc2db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for tg-lrx2-utils 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page