jms3000
(Martin)
November 8, 2020, 12:09pm
1
I bought a LoRaWan sensor and registered it with “the things network”. It works, but it is not reliable. What do I need to have a LoRa receiver which I can integrate into HA (w/o using TTN)? Are there ready made products?
frank451
(aaron)
November 9, 2020, 2:59pm
2
i would like to achieve the same. A private lorwan gateway and sensors.
If anybody could assist on this subject it would be much appreciated.
thanks
1 Like
jms3000
(Martin)
November 9, 2020, 4:04pm
3
This is an example of how to send and receive without TTN and without HA:
/*******************************************************************************
* Copyright (c) 2015 Matthijs Kooijman
* Copyright (c) 2018 Terry Moore, MCCI Corporation
*
* Permission is hereby granted, free of charge, to anyone
* obtaining a copy of this document and accompanying files,
* to do whatever they want with them without any restriction,
* including, but not limited to, copying, modification and redistribution.
* NO WARRANTY OF ANY KIND IS PROVIDED.
*
* This example transmits data on hardcoded channel and receives data
* when not transmitting. Running this sketch on two nodes should allow
* them to communicate.
*******************************************************************************/
#include <lmic.h>
#include <hal/hal.h>
#include <SPI.h>
// we formerly would check this configuration; but now there is a flag,
This file has been truncated. show original
1 Like