xively feed?

    Jun 29 2013 | 8:46 pm
    Anyone had a go at bringing xively feed into max yet?

    • Aug 09 2013 | 10:51 am
      Hi James,
      I have got something working. The new dict object makes everything so much more easier with the json format (xml has always been a nightmare).
      I'll post something later if you are still interested.
    • Aug 09 2013 | 2:34 pm
      I'm having some trouble reading the xively data stream using json. While I can manage to read the main branch and the locations, I can't get the datastreams working...
      Here is a patch. Can anyone show me how to separate the two streams ? The dic.viewer gives me two streams called 1 and 2 but I can't slice them (dict.slice) or unpack (dic.unpack) since there is a dictionary inside...
      Any ideas ?
    • Aug 09 2013 | 7:36 pm
      This is one on of those Max monologues... found the solution, use datastreams[0] and datastreams[1] and it works, I will post the full patch later.
    • Aug 09 2013 | 9:23 pm
      Here is a simple xively to JSON parser using the Max 6 dict feature (love it !). You need to enter an API first then your feed. My feed has 2 data streams but it's really easy to add more in the json parsing subpatch. If anyone improves this patch, please post it back !