You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-6Lines changed: 27 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,15 +80,36 @@ Solution:
80
80
## Adding an ADR Algorithm
81
81
When the ADR Algorithm has been tested, and is ready for deployment, the ADR Algorithm has to be added to chirpstack. It is mandatory that the custom adr module is writtin in js.
82
82
83
-
### Adding the Plugin to Chirpstack
83
+
## Adding the Plugin to Chirpstack
84
+
85
+
### Docker
86
+
84
87
If the default `docker-compose.yml` file is used, the folder `./configuration/chirpstack` is already copied to `/etc/chirpstack` in the docker container.
85
-
Therefore a new folder can be added such as `./configuration/chirpstack/adr-plugins` in which the js file can be added.
86
-
This makes the file available at `/etc/chirpstack/adr-plugins/example-file.js` within the chirpstack container.
88
+
Therefore a new folder can be added such as `./configuration/chirpstack/adr-modules` in which the js file can be added.
89
+
This makes the file available at `/etc/chirpstack/adr-modules/example-file.js` within the chirpstack container.
87
90
88
-
The last step is to specify the file as being an adr-plugin within the `chirpstack.toml` config file by adding `adr_plugins=["/etc/chirpstack/adr-plugins/example-file.js"]` under `[network]`, like this:
91
+
The last step is to specify the file as being an adr-plugin within the `chirpstack.toml` config file by adding `adr_plugins=["/etc/chirpstack/adr-modules/example-file.js"]` under `[network]`, like this:
Your should now be able to restart the chirpstack server and the new adr algorithm should be available in Chirpstack.
97
+
You should now be able to restart the chirpstack server and the new adr algorithm should be available in Chirpstack.
98
+
99
+
### Helm
100
+
101
+
When hosting via helm the steps are slightly different.
102
+
103
+
1. Make sure that the persistent volume claim belonging to the chirpstack exists in your hosted setup.
104
+
2. Find the actual name of the network-server pod. This can be done in a few ways. If you're have a connection via a GUI like `Lens` it can be found under the `Pods` list. If you're hosting on an Azure Kubernetes service, it can be found under the side menu `Workloads -> Pods`
0 commit comments