Hello, I am trying to create an ArcGIS Dashboard that shows real time data from a raspberry pi. My first question is, is this possible to do in ArcGIS Online or do I need to do this in Pro? My second question is how to do I get the data from the raspberry pi to ArcGIS in realtime? Thank you in advance!
Hi, first tings first, I am not sure if it is possible to link your RasPi data to ArcGIS.
Also, I do not know what data from the RasPi you want to show. I would assume that you have to write your data into one or the other database. Since the database can be connected through a data store it should be theoretically possible to do such thing.
On the other hand, there are a couple of dashboards available that you can run on your RasPi…
Great question @emmabard - what kind of data? Does it have an 'XY' or a geolocation? Or, do you want to 'join' it to an existing location (location of stream gauge sensor, or weather sensor, etc.).
Short answer is for sure - I would take a look at using ArcGIS Online and then scheduling a push/sync/update of your data from the Raspberry Pi via a Python script. The ArcGIS Python API has some great documentation and you could even use one of the ArcGIS Notebooks to schedule the script to run.
There is a blog right here with some older instructions/workflow: https://community.esri.com/t5/k12-instruction-questions/arcgis-api-for-python-on-a-raspberry-pi-happ...
-----------------------------------
Brian Baldwin, Esri Inc., Lead Solution EngineerI think @BrianBaldwin has the right answer here. I'd add, though, that the ArcGIS Python API can be a bit bloated for single-purpose scripts like updating a feature / layer. Odds are you only need a couple of the submodules or dependencies, and the rest will be wasted space.
If you use the requests and json modules, you should be able to do everything you need making POST requests to the feature layer's REST endpoint. We have a couple of lightweight scripts for updating single layers, and they can execute in less time than it takes to import the arcgis module.