• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. iperry
    3. Best

    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
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 39
    • Posts 95
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by iperry

    • RE: How to create data points to handle MQTT from multiple devices?

      For another option, the strategy I took was that I created global scripts to create the data points (MQTT/Modbus, virtual, meta) for my devices.

      The scripts I have are:
      dataPointJsonTempates
      --> This script contains the minimal set of values I need to set for each type of data point.
      createDataPointFunction
      --> This script contains the list of points I need for each of the devices. It loops through each list of points and calls the appropriate function below.
      createDeviceFunctions
      --> This script creates each of the appropriate data point, event detector, and event handlers.

      The intention was to detect the error generated when an unknown MQTT topic is subscribed to and create the required data points from the device id in the topic. I haven't gotten that working yet but it is a lower priority item at the moment.

      For now, I have a scripting data source to call the function:
      createDevice('PCU_110006');

      I have created multiple 'createDataPointFunctions' scripts for the different devices I need. The same pattern is applied.

      Ian

      posted in Mango Automation general Discussion
      I
      iperry
    • RE: Adding multiple axes

      Hi @dgm

      You are close:

                  options="{
                      synchronizeGrid: false, 
                      valueAxes:[
                          {title: 'Connected', titleColor: '#ff4d4d', minimum: 0, maximum: 1, integersOnly: true, baseValue: 2},
                          {title: '°C', titleColor: '#ff4d4d', minimum: -50, maximum: 50}
                      ]
                  }"
      

      Each axis is an element in the valueAxes array.

      Ian

      posted in Dashboard Designer & Custom AngularJS Pages
      I
      iperry