LoRaWAN Is Not Working
If LoRaWAN is not working, then follow the steps below to troubleshoot the problem.
Verify that the LoRaWAN driver is enabled on the LoRaWAN Configuration page and that ChirpStack is enabled and properly configured.
Verify that the LoRaWAN service (called lwd) is running by issuing the following console/SSH command (depends on SmartServer version). For SmartServer release 4.2 and higher, look for lwd.
SmartServer 4.2 and higher
smartserverctl status lwd
If devices do not show up, then datapoints are being seen or datapoint updates are not happening. Some devices only send updates once a day.
Go to the LoRaWAN gateway and make sure it is set up correctly.
Make sure that the LoRaWAN devices are working.
Look at device data and check for logs.
Check the Chirpstack setup in the SmartServer.
Verify that the gateway active.
Verify whether devices are added.
Verify whether you are receiving data from the devices.
If see data then check the *.lorawan file.
Check the SmartServer CMS.
Verify whether LoRaWAN devices appear in the Devices widget (they are automatically added after the *.lorawan file has been imported and after the next datapoint update from the device which could full day).
Verify whether you can see the datapoints in Datapoints widget.
Verify whether the Datapoint Properties widget shows that event-driven updates are enabled.
View real-time data using the following command:
SmartServer 4.2 and higher
sudo tail -f /var/log/syslog | grep "smartserver-lwd"
View the entire LoRaWAN log using the following command:
SmartServer 4.2 and higher
sudo grep "smartserver-lwd" /var/log/syslog
LoRaWAN datapoint values are pushed from the LoRaWAN device. Some devices only push data once every 24 hours. Many sensors will send once an hour. To get all updates, set up event-driven updates in the CMS Datapoint Properties widget.