Hello,
i configure chipstark v4 on my rpi, i did everything in the tutorial, the data is seen by chirpstack-gateway-bridge, but in web browser, after adding gateway, it always says never seen.
With chipstark v3 on the rpi, i manage to do it all, i decided to try with v4, because of documentation and recommendation from people in this forum.
Here are my steps from a clean raspbian partition
Run:
-sudo apt install \
mosquitto \
mosquitto-clients \
redis-server \
redis-tools \
postgresql
-sudo -u postgres psql
Inside the prompt:
-- create role for authentication
create role chirpstack with login password 'chirpstack';
-- create database
create database chirpstack with owner chirpstack;
-- change to chirpstack database
\c chirpstack
-- create pg_trgm extension
create extension pg_trgm;
-- exit psql
\q
-sudo apt install apt-transport-https dirmngr
-sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1CE2AFD36DBCCA00
-sudo echo "deb https://artifacts.chirpstack.io/packages/4.x/deb stable main" | sudo tee /etc/apt/sources.list.d/chirpstack.list
-sudo apt update
-sudo apt install chirpstack-gateway-bridge
-sudo nano /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
[integration.mqtt]
event_topic_template="au915/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
command_topic_template="au915/gateway/{{ .GatewayID }}/command/#"
[integration.mqtt.auth.generic]
server="tcp://localhost:1883"
-sudo systemctl start chirpstack-gateway-bridge
-sudo systemctl enable chirpstack-gateway-bridge
-sudo journalctl -f -n 100 -u chirpstack-gateway-bridge
-sudo apt install chirpstack
-sudo nano /etc/chirpstack/chirpstack.toml
Secret="dasecret"
enabled_regions=[
"au915_0",
"au915_1",
"au915_2",
"au915_3",
"au915_4",
"au915_5",
"au915_6",
"au915_7",
]
-sudo systemctl start chirpstack
-sudo systemctl enable chirpstack
-sudo journalctl -f -n 100 -u chirpstack
Configure lorawan gateway:
Lps8n
On web browser enter gatewayIp:8000
User: root
Pass: Dragino
Go to lorawan: semtech udp
Server Address is the address of the rpi
On web browser:
Connect to localhost:8080
Add gateway https://www.chirpstack.io/docs/guides/connect-gateway.html
Add device https://www.chirpstack.io/docs/guides/connect-device.html
Here is the result of : $ sudo journalctl -f -n 100 -u chirpstack-gateway-bridge
I remember that on v3 you have to configure somthings on network, but here i can’t seem to find any other configuration i must do before configuring gateway
Gateway configuration on api.
also, i created a python script to subscribe to topic and see data:
Could the problem be with chirpstack-network-server?
in the guide for v3 you have to add and configure this manually, and then on the web api you have to add the newtork server, i don’t see any of that on v4