• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Json data?

    Scheduled Pinned Locked Moved User help
    7 Posts 3 Posters 2.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hairyballs
      last edited by

      Hi,

      I searched around in the forums - I couldn't find anything. Is there any easy way, to get datapoints out of JSON formatted data?

      I have this data ---

      {"s0":
      	{"status":"2",
      	"enabledSensors":"964691456",
      	"sensorName":"Testing",
      	"nodeAddress":"beef"
      	,"dio9": "1"
      	,"dio10": "1"
      	,"batteryVoltage": " 0.00"
      	,"internalTemp": " 0.00"
      	,"dr1048temp": "0"
      	,"dr1048humid": "0"
      	,"dr1048light": "0"
      

      I'm interested in S0->dio9, "1".

      I've got a regex express to grab dio9, but what if I have more than 1 s0?

      Anyone have any experience getting json data?

      sean

      1 Reply Last reply Reply Quote 0
      • M Offline
        mlohbihler
        last edited by

        Have you looked at import/export?

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • H Offline
          hairyballs
          last edited by

          The data is on a webserver - I can sort of grab it via regex on a http retriever -

          1 Reply Last reply Reply Quote 0
          • M Offline
            mlohbihler
            last edited by

            Ah, when you said "datapoints" i thought you meant the creation of a point based upon external data. If you're just grabbing readings, http retriever should do it, yeah.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • C Offline
              craig
              last edited by

              I want to pull data off an inverter, which replies to http GETS in JSON

              Here is the manual for the device http://files.sma.de/dl/2585/SWebBoxRPC-BEN092713.pdf

              I can see this could kind of work using the regex, but is there an easier way?

              1 Reply Last reply Reply Quote 0
              • M Offline
                mlohbihler
                last edited by

                Regex is the only way at the moment. Of course, a data source could be built probably easily.

                Best regards,
                Matthew

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post