Generic URL that works for any node ID

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: Charting
    • None

      Provide a default/generic URL that works and shows useful data for any nodeId e.g.

      https://data.solarnetwork.net/generic?nodeId=183

      If a node has too many data channels (e.g. > 10) this will be cumbersome on the UI, hence we need to control or limit the number of data channels shown. If we simply limit it to the first 7 data points that could still be really useful and hopefully very easy to implement.

      As a V1 solution we don't need an all singing all dancing link, just a standard default/generic URL link that shows real data without knowing anything at all about the node (at the moment, the only way to get graphs out of a random node is to know a whole lot of hidden knowledge about that node). A first cut minimal viable product of this "Generic" URL would be a useful step forward.

      e.g.
      For node 111 (https://data.solarnetwork.net/solarquery/api/v1/pub/datum/mostRecent?nodeId=111), we would plot the following lines on a graph:

      “val” line for source “/power/pcm/1”
      “val” line for source “/switch/1”
      “watts” line for source “East”
      “wattHours” line for source “East"
      “watts” line for source “West”
      “wattHours” line for source “West”

            Assignee:
            Matt Magoffin
            Reporter:
            Philip Court
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: