I have a Raspberry Pi with ChirpStack Gateway OS 4.3.2 Full installed. After configuring the gateway and adding an application, I can see data arriving from sensors, and the graphs of the values received. I want to send this data into an AWS SNS queue.
The documentation I have found, says I need to modify the .toml file (See Configuration - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server).
I can’t find a way using the web interface to configure AWS SNS, so have used SSH to connect.
The service is started using: /usr/bin/chirpstack -c /var/etc/chirpstack
I have used vi to modify the /var/etc/chirpstack/chirpstack.toml file, adding the AWS specific data required.
When I reboot the system, the changes I made to the chirpstack.toml file are no longer there, and it has reverted to the original settings, so there is no attempt to connect to SNS when data arrives.
How can I modify the configuration so that it attempts to communicate with my SNS service,and keeps this after a reboot?
but if I try to modify anything in it, or even read it, then uci complains:
root@chirpstack-a766de:/var/etc/chirpstack# uci get chirpstack.integration.mqtt.json
uci: Parse error
root@chirpstack-a766de:/var/etc/chirpstack# uci get chirpstack.integration.mqtt
uci: Entry not found
I’ve tried various ways to add the aws_sns option to the enabled set, as required, but can’t get it to work: