Access Rapid SCADA data from Node-RED

Forum Home Forums Development and Integration Access Rapid SCADA data from Node-RED

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7262
    Avatarkumajaya
    Participant

    Here it is: Node-RED flow

    But got too much data for 5 minutes last data and we must set minutes data to 1 minute for a proper data response.

    #7264
    greenfoxxgreenfoxx
    Participant

    Hi!

    Could you please clarify your question?

    #7265
    Avatarkumajaya
    Participant

    I expect last 5 minutes ‘minutes data’ = 5 datapoints but I got a thousands datapoints. My request:

    
    {
       "panelId":1,
       "range":{
          "from":"2020-09-14T12:29:52.810Z",
          "to":"2020-09-14T12:34:52.811Z"
       },
       "interval":"30s",
       "intervalMs":30000,
       "targets":[
          {
             "target":"3201",
             "type":"timeserie"
          },
          {
             "target":"3202",
             "type":"timeserie"
          }
       ],
       "format":"json",
       "maxDataPoints":5
    }
    

    And no data update in between 23:59 – 06:59, it’s strange.

    • This reply was modified 4 days, 13 hours ago by Avatarkumajaya.
    #7267
    Avatarkumajaya
    Participant

    I’m talking about Grafana Data Provider API access from Node-RED.

    #7275
    greenfoxxgreenfoxx
    Participant

    Could you please provide response from Grafana?
    Grafana Data Provider API represents parameters transmitted to Grafana for build graph and converts the specified date and time to the unix milliseconds.

    • This reply was modified 3 days, 12 hours ago by greenfoxxgreenfoxx.
    #7277
    Avatarkumajaya
    Participant

    Yes, I analyzed Grafana communication using Wireshark, same result. I always got today minutes data (from 00:00) even Grafana asking for 5 minutes last data.

    #7281
    greenfoxxgreenfoxx
    Participant

    Could you please provide response from Grafana? It’s help me.

    #7283
    Avatarkumajaya
    Participant

    Request from Grafana dashboard: https://api.npoint.io/3b18da2d456f256ec75e
    Response from Grafana Data Provider: https://api.npoint.io/c8625b14b7d1d496f6a8

    #7288
    greenfoxxgreenfoxx
    Participant

    Thank you for details. We’ll investigate the problem and issue a fix. Thanks for the report.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.