Pyrrha-Platform / Pyrrha-Dashboard

This repository contains the next generation in-progress Pyrrha (created by Prometeo) solution dashboard based on the Carbon Design System and React.
Apache License 2.0
6 stars 7 forks source link

Update the new map page to use database and WebSocket data rather than the static 3 test devices #166

Open krook opened 2 years ago

krook commented 2 years ago

Right now the map page uses test data. It should instead be updated to pull devices from the database (checking to see if long and latitude attributes are in them), then use that to plot them on the map on the first load. Successive updates would come from the WebSocket to update them in real time. This is the same behavior as the dashboard.

matencar commented 1 year ago

I am currently working on this, and have talked to @mrodrise about it.

krook commented 1 year ago

Excellent. Thanks @matencar. I can help describe the issue in more detail if you want to walk through it.

matencar commented 1 year ago

@krook Hey Daniel I would appreciate that a lot. I'll let you know when I'm available. I'll be out on holiday most of next week, but sometime when I get back I'll let you know and perhaps we can discuss the issue on Webex if you're free? Thanks