How would I add live video streaming code to the graphite dashboard?

279 Views Asked by At

I am running an apache2 graphite host from an Orange Pi One, having written a service to translate and send data from sensors on the GPIO to the carbon line receiver. My project is to incorporate all the I/O from the device into a dashboard.

There are loads of graphite dashboards, but I can't find one that has a simple video stream applet/plugin.

I have searched graphite-web github and can easily adapt dashboard.html, but I am not sure whether the entire file is a placeholder, and whether any additions would render properly after all the javascript has run and rendered the page. It would seem I might need to reverse engineer the javascript, which seems quite an effort for the simple task I want.

If I can figure out the video stream code for the CSI camera, then I can adapt it to modify the dashboard with all the other data I want to display.

So, I am really looking for some guidance on getting started with dashboard code modification?

1

There are 1 best solutions below

3
On BEST ANSWER

You can use the text panel to add HTML content to the dashboard.