npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

smithtek-node-red-lora

v2.8.0

Published

NodeRED nodes.

Downloads

55

Readme

Smithtek LoRa Module

Antenna Locations.

The PassPort LoRa antenna is on the top left of the unit. The Mako LoRa antenna is on the top left of the unit. The antenna fitting is a SMA female. All your device LoRa settings should be the same for communication to work! This includes Mako V2 PLC and PassPort IGW

PassPort LoRa Unit

WARNING

  • Ensure you set the properties of this node to match the regulations of your region/country.

COMMUNICATION SETUP

  • The default LoRa Port is: /dev/ttyAMA2. You do not need to change this!
  • Make sure no other nodes in your flow are using /dev/ttyAMA2. Check your configuration nodes first and disable any configurations using this serial channel.
  • If you don't, the node won't work, and you will be unable to write settings. The default serial nodes and Modbus nodes can often be a culprit.
  • Check all configs before starting!

MODE

There are 3 modes: Read, Write, Service and AES mode.

  • In Read or Write mode, a payload must be injected into the input of the node to make it work.
  • The result will be printed on the debug bar a few seconds later.

Read

  • Read mode will read the current status of the LoRa module. The result will be displayed in the debug bar in JSON format.

Write

  • Write mode will send the new settings you have created in the node properties.

Service & AES mode

  • Service and AES mode has two functions:
    1. It will act as a transparent serial interface. In this mode, you can send and receive data from other LoRa modules in your network. The serial interface can be tuned to detect when packets arrive and end. The input message property can recognize a special character or silence detection, to determine the end of a payload message. The output message property can add a special character. Messages can be delivered in ASCII or binary.
    2. In this mode, you can use the additional Smithtek-nodered-lora-aes node. It will allow you to dynamically turn on/off the AES mode and change the 8-digit magic key.

PROPERTIES

  • Default request timeout in ms. Set this property higher when you are transmitting messages over long distances or have larger messages to send.
  • Frequency: This is the radio band the module will communicate on. Warning: Please ensure the setting used is compatible with your country's rules and regulations.
  • BW (k) kHz: This is the bandwidth in kHz.
  • Spreading Factor: This is the air data rate in Kbps.
  • NET ID: This is the ID of your module. This allows you to have multiple communications networks in the same area. Only devices with the same Net ID will communicate with each other. The ID range is 0 - 255.
  • Power: This is the amount of power applied to the RF transmitter. The Settings are 1-7 (1=4dBm, 2=7dBm, 3=10dBm, 4=13dBm, 5=14dBm, 6=17dBm, 7=20dBm).

Frequency Range

  • AU = 430 - 510Mhz
  • EU (CE) 863 - 875Mhz
  • USA 902 (FCC) - 928Mhz

Programming

When using this node, you must press the deploy after every action for the changes to take effect. For example, if you are selecting read mode and want to read the current settings, you must:

  1. Drop the LoRa node to the flow area.
  2. Drop and wire the Inject node to the LoRa Node in.
  3. Drop and wire the debug node to the LoRa Node out.
  4. Deploy the flow.
  5. Hit inject; the current settings of the module will display in the debug window.

How to relate the settings from the PassPort and the Mako.

The below image shows the relationship between the (PassPort NodeRED) and Mako PLC. all the properties (settings) must match apart from the power. When working with both pieces of hardware regularly check they match

PassPort LoRa Unit

License

Copyright (c) 2020 www.smithtek.com.au Licenced under the terms of the GPLv3

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAMIEN CLARK BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Acknowledgements

We would like to thank the following people for their hard word, time and effort.

  • Sensorhub.tech
  • Nick O'Leary and Dave Conway-Jones for creating Node-Red

Contact

[email protected] www.smithtek.com.au