• 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

    Pachube

    How-To
    4
    15
    7.1k
    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.
    • M
      mlohbihler
      last edited by

      What version are you using? A problem was discovered in 1.9.0, and fixed in 1.10.0. Some quick testing didn't reveal any 1.10.0 issues like you describe.

      Best regards,
      Matthew

      1 Reply Last reply Reply Quote 0
      • P
        peadar
        last edited by

        its the latest upgrade 1.10.0

        1 Reply Last reply Reply Quote 0
        • P
          peadar
          last edited by

          ah think i made a mistake

          its working now

          will come back later and explain...sorry

          1 Reply Last reply Reply Quote 0
          • P
            peadar
            last edited by

            Ok, i'm gonna volunteer a walkthrough to integrating with pachube...it should be ready by the end of the day...

            Pachube are a bit weak on the documentation side, despite the absolutely fantastic product they have.

            i think the 'mango - pachube' marriage is one made in (ahem...geek) heaven :-)

            anyhoo....watch this space :-)

            ps. thanks again for the quick reply...

            1 Reply Last reply Reply Quote 0
            • P
              peadar
              last edited by

              Ok, here's a quick and dirty guide on how to create a pachube publisher in mango to a pachube feed

              1. 'signup' for a free account with pachube at www.pachube.com

              2. you'll be sent a welcome email with an API key, so copy that key to the clipbaord

              3. go back and sign in to pachube

              **4. ** on the right hand side of the page, click "register a feed"
              feed type = Manual
              feed title = test

              then click 'add' under datastreams
              
              ID = 1
              type = basicSI
               add another datastream
              ID = 2
              type = basicSI
              	these are your 'Datastream ID"s for mango
              

              5. Now click 'save feed' and you'll be taken to your feeds page:

              **6. ** note the 4 or 5 digit number just before ".xml", ".csv", ".json". this is your 'Feed ID' for mango.

              **7. ** Create a pachube publisher in Mango
              name = test
              update events = changes only
              send regular snapshots = Do not Tick

              API Key = paste in the key from the welcome email from pachube
              
              Add one or two points you'd like to publish, then fill in the boxes:
              	Feed ID = see step 6
              	Datastream ID = see step 4
              

              8. click 'save' and enable the publisher.

              9. if all goes well, you should be able to see a green 'live' in your "my feeds" page on pachube.
              Bear in mind this may take a few minutes to come live. mine took about 5-10 mins initially.

              10. click "use a feed" on the right of the page to see what you can now do with all this data flying about the internet

              11. let me know how you get on :-)

              here's one i did earlier:
              http://www.securi-trax.com/?p=141

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

                Thanks for this peadar. Can you describe what was going wrong before so that others can avoid, or so that the software can be enhanced to avoid?

                Best regards,
                Matthew

                1 Reply Last reply Reply Quote 0
                • P
                  peadar
                  last edited by

                  nothing wrong with mango at all!

                  The hiccup is, its not so clear from an initial glance how mango correlates to pachube in relation to feed ID and Datastream ID.

                  It's easy now i understand it, but is a steep learning curve for a novice like me. Plus Pachube is a little weak on the documentation side of things

                  in my case i didn't put the correct 'Feed ID' into mango so although the publisher was sending the API key and getting a response, it was a 404 or 503 response, so i imagine mango just kept trying to send it until a 200 would come back.

                  sorry for the confusion, i'll try not to accomplish large tasks like this at night time...all was clear after a few hours kip :-)

                  hope that can help a few of the members

                  Peadar

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

                    Ok, thanks. We'll take a look at how non-200 responses are getting handled and see if there's anything more elegant than pounding Pachube with requests.

                    Best regards,
                    Matthew

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

                      Follow-up: the pachube send thread has been changed so that 4xx-type HTTP errors are treated as non-recoverable, under the assumption that the same request sent again will have the same result. This will prevent the publisher from trying to resend the same data over and over, and your receiving a complaint from Pachube.

                      Best regards,
                      Matthew

                      1 Reply Last reply Reply Quote 0
                      • M
                        mhradom
                        last edited by

                        I am successfully pushing data out to Pachube from Mango. Thanks for the tutorial above it was a BIG help. Pachube documentation is lacking or hard to find. Go to www.pachube.com and type in "Mikes House" in the search field and you will see me on the map. Double click the push pin and you will find my first few feeds. More to come. I gave Mango a little plug there as well.

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