• MattFox

    @francisco-salinas
    If you have a copy of the source you're trying to parse from, use regexr.com and work from that to create your RegExp string.
    The Cerro Patacón should be part of the text, not a variable. I think there's a lot of detail missing here that you've not made clear.

    posted in How-To read more
  • MattFox

    @francisco-salinas said in HTTP Retriever - Value RegEx works whit accent:

    <tr><td><span>Cerro Patacón</span></td><td><span>(.?)</span></td></tr>

    If that's the case:

    <tr><td><span>Cerro Patacón<\/span><\/td><td><span>(.?)<\/span><\/td><\/tr>
    

    posted in How-To read more
  • MattFox

    The following characters have special meaning, and should be preceded by a \ (backslash) to represent a literal character:
    +*?^$.[]{}()|/

    So your

    <tr><td><span>(Cerro Patacón)</span></td><td><span>(.*?)</span></td></tr>
    

    Should be

    <tr><td><span>\(Cerro Patacón\)</span></td><td><span>(.*?)</span></td></tr>
    

    posted in How-To read more
  • MattFox

    Many thanks Phil, you'll see a lot of the docs have the same exact model in them. Is it something that can be easily rectified?

    Fox

    posted in User help read more
  • MattFox

    My suggestion would be saving into an alphanumeric point that triggers a scripted datasource. Parse the information provided and create/set separate virtual datapoints with it. You can affix the virtual points with tags (ideal for your device id) or an xid of your choice to make it easier to select and pull data for display.
    IMO, keep it generic and dynamic if you can. Gives you more breathing room for future amendments.

    Edit: Another thought. If you're going to use a basic application to handle the incoming data you can draw on the mango api to make your points on the fly if an insertion fails.

    posted in Mango Automation general Discussion read more
  • MattFox

    As mentioned in the other post, you need to duplicate that index.html file into the overrides to do it. That and modify the manifest.json file as well as that's what smart phones draw from when you save the page as a bookmark. It's been this way for a while.

    posted in User help read more
  • MattFox

    Hi All, trying to import information from other sources en masse. However, I am struggling to understand the swagger docs...
    The model example shows no instance of where the points value should be put, let alone the correct format...
    All the documentation shows me here is

    [
      {
        "data": {},
        "editPermission": "string",
        "folderIds": [
          0
        ],
        "id": 0,
        "modelType": "NUMERIC",
        "name": "string",
        "params": [
          {
            "label": "string",
            "name": "string",
            "options": {},
            "type": "string"
          }
        ]
        "validationMessages": [
          {
            "level": "INFORMATION",
            "message": {
              "args": [
                {}
              ],
              "key": "string"
            },
            "property": "string"
          }
        ],
        "xid": "string"
      }
    ]
    

    Looks more like a datapoint model excerpt rather than point value information here...

    Thanks!

    posted in User help read more
  • MattFox

    Why not use the script setting for the event when it fires from your advanced scheduler?
    You could tie all of your context points in there and link it all that way.
    Just a suggestion here.

    posted in User help read more
  • MattFox

    You should read the help and use the datapoint query utilityto make an rql query under the mango javascript help.
    DataPointQuery.query(stringRql);
    You can then pull them all when the script runs and loop through them to see what is higher.

    That's all I can suggest for now, if I have more time I'll look into it further later.

    Fox

    posted in Scripting general Discussion read more