How to add a new LoRaWAN end device in Node-RED in Home Assistant

Here is the flow of data:

  1. End Device (dragino temp sensor)
  2. RAK LoRaWAN gateway
  3. RAK MQTT packet forwarder
  4. HA MQTT broker
  5. Node-RED MQTT topic listener
  6. Nore-RED fPort filter
  7. Node-RED function to decode payload
  8. Node-RED sensor entity
  9. HA dashboard

All these elements need to be installed into Home Assistant.

The RAK gateway forwards nicely to Home Assistant. It’s a WISgate RAK7268V2

I started with a Milesight gateway and could not get it to forward vie MQTT to Home Assistant.

Here are the videos explaining how:

How to add a LoRaWAN end device to Home Assistant – Part 1

Part 2 – add the end device to the RAK

Part 3 – send a packet form the end device

Part 4 – listening to the MQTT message

Part 5 – setting the the decoder payload

Part 6 – creating a sensor entity (note this one has an error that is resolved in the next video!)

Part 7 Adding your device to the dashboard

Here’s the first one:

Leave a Reply

Your email address will not be published. Required fields are marked *