Using R172341 Official Raspberry Pi AI Camera (Sony IMX500 Sensor) with ChirpStack Gateway OS

I am currently setting up a project with a ChirpStack Gateway OS installed on Raspberry Pi 3/3B with RAK5146 gateway is also configured, and I am using the R172341 Official Raspberry Pi AI Camera with the Sony IMX500 sensor. I would like to know how I can integrate this camera with my ChirpStack setup.

Specifically, I need guidance on:

  1. Camera configuration: How to configure the R172341 camera and interface it with the Raspberry Pi running ChirpStack Gateway OS?
  2. Data transmission: How can I send data (images/video streams) from the camera through the ChirpStack gateway and into the backend server?
  3. Integration with ChirpStack: Are there any specific modules, scripts, or steps I should follow to ensure proper integration?

I would appreciate any help, documentation, or advice on how to proceed with this integration. Do This is Possible Or Not??

Thank you in advance!

Wrong tools for the job.

Video streaming isn’t what Chirpstack, Openwrt, or LoRaWAN are made for. It would take immense reworking: openwrt is meant for networking and doesn’t naturally support the camera drivers, the MQTT uphaul doesn’t support video/photos, Chirpstack doesn’t support data that isn’t from a LoRaWAN device, and the UI doesn’t support adding elements unless built from scratch.

If you did make it work, it would essentially be an entirely different software/pipeline, just living on the same Pi. You would be better off adding your camera to a separate Pi running the appropriate software.

Maybe share your end goal (do you want video streams from each gateway on the gateway page in Chirpstack?) and people might be able to give some better suggestions on how to get it done.

Yes!! Good Suggestion,

I also have Studied this that ChirpStack doesn’t Support the data that isn’t from LoRaWAN device but the setup that i actually looking for is :

I have Raspberry Pi Installed with ChirpStack Gateway OS mounted with Gateway on It also (RAK 5146) Now I want to Access Camera which is (Official Raspberry Pi AI Camera with the Sony IMX500 sensor), and after taking image i want to send the taken image throgh Lora and Gateway to the Server (ChirpStack)

I am looking for positive suggestions this what are the options are there whether It is Possible or Not?

ChirpStack is designed for managing LoRaWAN networks. Its primary purpose is to enable communication between Internet of Things (IoT) devices using the LoRaWAN protocol. The Chirpstack LNS cannot be used to send images. I’m sorry, but that discussion has no other outcome.

Let me assume you have a running LoRaWAN gateway that is connected over an internet connection to the LNS. yes, you may be able to use the hardware of the gateway for other tasks than being a LoRaWAN gateway. If that is the case you can send the image or stream to any other endpoint on the web. that’s one problem solved. The other thing is where to send your image/stream, you have to answer that yourself.

I hope the last suggestion helps to take the next step.

So the first thing that i want to be clear is that whether it is possible or there is any way to take Image or access camera from Official Raspberry Pi AI Camera with the Sony IMX500 sensor when the Raspberry pi is installed with the ChirpStack Gateway OS

No (and only because I can’t send such a short message: maybe if you work at OpenWRT or the RPi HQ and have lots of expertise, it may be possible, but never for us mortals).

No, Chirsptack OS does not have the provisions to do so.
Yes, if you add it yourself.
No, you cannot send an image over LoRaWAN unless you reduce it to 52 Bytes.