Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward packets to private Chirpstack server #324

Open
RickerStem opened this issue Feb 28, 2023 · 3 comments
Open

Forward packets to private Chirpstack server #324

RickerStem opened this issue Feb 28, 2023 · 3 comments

Comments

@RickerStem
Copy link

RickerStem commented Feb 28, 2023

Hi,

At first, we are running your gateway already for 3 years steadily! Great project, thank you.

We are now expanding to LoRaWAN and a private Chirpstack server. We are running your gateway in mode 1. I read your documentation and you use the pkt forwarder. I tried to set the gw to LoRaWAN mode but then the sensors are not working anymore ofc. Furthermore I added the chirpstack to the cloud.json and changed the IP adress in the key_chirpstack.py to connect to my chirpstack server. In the post processing output (option 5 in cmd.sh) I'm seeing the processing of my custom scripts that are called, but I'm not seeing anything of the chirpstack script? And the gateway status in Chirpstack is "Never seen" instead of "Online" I also used the alternative gw ID without the prefix zeros and the "FFFF" in the middle

Do you have any suggestions?

Is it even possible to forward the non LoRaWAN packets to chirpstack? Or do I also need LoRaWAN code on my sensors?

*Official Dragino gateway is working in Chirpstack.

Thank you in advance.

Rick

@CongducPham
Copy link
Owner

3 years! that's great! thank you for the feedback. Well, it is simpler to have LoRaWAN on your sensor node because the network server expects a LoRaWAN packet (in terms of packet format). Although it could be possible to wrap the non-LoRaWAN packet from sensors in a LoRaWAN packet at the gateway, that would need the knowledge of encryption keys,... It is not really advised to do so.

regards,

@RickerStem
Copy link
Author

Thank you for your quick response, I think I will go for the simpler option :)
I will look into your LoRaWAN examples and change it to that software.

@tk5ep
Copy link

tk5ep commented Jul 16, 2023

@RickerStem

I'm almost in the same situation as you.
I've build a gateway, installed a private Chirpstack server. So far, the gateway appears online.

I have partially wired a low power board with a PCB found on this GitHub and I'm waiting for LoRa modules to complete the board and gateway.

I'm in the learning process and understand that I need to use LoRaWan on my sensors.

I found the 2 LoRaWan examples here and others on other sites but I'm a bit lost... :-(
Did you succed to use LoRaWan on your sensors ? What sketch did you use ? (found here or other)

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants