R Shinny/Plotly dashboards in Manager UI/Openremote?

Dear OpenRemote users,

I’m new to OpenRemote. I’d like to explore the possibility to integrate custom dashboards and data processing using R programming languange (https://www.r-project.org/) or Shiny (https://shiny.posit.co/) or Plotly (Plotly r graphing library in R) within Openremote.

I’ve read that one can use EmonCMS or RRD4J pacakges for the generation of nice dashboards.

And also, that it is possible to use “Widget customization on Insights”

So, it is possible to embed R scripts to (1) process and analyse IOT data and (2) subsequently present it in interactive dashboards using R Shiny or R plotly?

All the best and happy new year!

Josep M. Campanera,
Freelance water consultant,

Unfortunately, the integration of EmonCMS was a feature of the now-obsolete and unsupported OpenRemote 2.5, which is also not backward-compatible with OpenRemote 3 versions.

Hi, no one didn’t answer my little question, I’ll resend it again more clearly,

So, it is possible to embed into OpenRemote Manager UI an R scripts to (1) process and analyse IOT data and (2) subsequently present it in interactive dashboards using R Shiny or R plotly?

All the best,

Hi @aigualenc ,

There is no direct R integration for OpenRemote, but there are some options that you could use:

  1. Use our Groovy/flow rules to generate the KPIs/metrics you’re interested in, and then use our Insights dashboards to make your dashboard
  2. Use any of our APIs (WS/HTTP/MQTT) to retrieve the data in R, and then perform your calculations there.
  3. A combination of the two:
    • Generating the KPIs/metrics using Groovy rules and retrieving those using the APIs to R for your own dashboarding
    • Generating the KPIs/metrics using R and sending those to OpenRemote using the APIs to then display in an Insights dashboard

There’s many ways of going about this, but an R/Plotly integration does not currently exist.

Hope this helps!