• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Davide27
    3. Topics

    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
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Davide27

    • D

      JSON Dynamic Floor Plan

      Mango Automation general Discussion
      • • • Davide27
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      D

      Hi,
      I apologize for not having posted the link.
      Thank you so much for the reply, that's just what I was looking for.

      After importing the JSON, I confirm that everything works.

      Thanks again.

    • D

      DataPoint values into a var javascript

      How-To
      • • • Davide27
      9
      0
      Votes
      9
      Posts
      2.3k
      Views

      Jared WiltshireJ

      @davide27 said in DataPoint values into a var javascript:

      I need to download a csv file with the values ​​of multiple data points, but not all values ​​have the same timestamp. For this reason, I would like to have the values in a variable so I can process it and write it all in one line.

      Please have a play with the CSV download from the watch list. Try it with different rollup options and see if you can get something that works for you. If this suffices I can give you an example of a new URL you can use in the example I posted above.

      The reason I am suggesting this is because it will be easier for you, I have given you suggestions on how to proceed if you really want to process the values using JavaScript but you haven't given me any indication that you have looked at the documentation I referenced.

    • D

      Change XID dynamically

      User help
      • • • Davide27
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      Jared WiltshireJ

      Here's another way of doing it that will only fetch the values for the selected point. The buttons also highlight to show which point is selected.

      <!-- set the initial data point XID for when the page loads --> <div ng-init="dataPointXid = 'temperature'"></div> <ma-get-point-value point-xid="{{dataPointXid}}" point="selectedPoint"></ma-get-point-value> <md-button ng-click="dataPointXid = 'temperature'" ng-class="{'md-raised': dataPointXid === 'temperature'}">Data point 1</md-button> <md-button ng-click="dataPointXid = 'voltage'" ng-class="{'md-raised': dataPointXid === 'voltage'}">Data point 2</md-button> <ma-point-values point="selectedPoint" values="pointValues" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}"> </ma-point-values> <ma-serial-chart style="height: 300px; width: 100%" series-1-values="pointValues" series-1-point="selectedPoint"> </ma-serial-chart>

      0_1548952726907_cca593a7-6577-4b09-b4b7-70066a9d8e9a-image.png