• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. DieselD
    3. Posts

    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 4
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by DieselD

    • DeviceNameList.js issue

      Found a bug I think.. when not using Angular Material, the device name list directive wasn't working. The optionsExpr when using <select> seems to need a different input.. adding 'deviceName for' in the optionsExpr seemed to fix it. I added another variable for the material design below..

      template: function(element, attrs) {
                var optionsExprmd = 'deviceName in deviceNames track by $index';
      	  var optionsExpr = 'deviceName for deviceName in deviceNames track by $index';
      
                if ($injector.has('$mdUtil')) {
                    return '<md-select md-on-open="onOpen()"><md-option ng-value="deviceName" ng-repeat="' + optionsExprmd + '" ng-bind="deviceName"></md-option></md-select>';
                }
      
                return '<select ng-options="' + optionsExpr + '"></select>';
      
      posted in Mango feedback
      D
      DieselD
    • RE: Modbus RTU RS-485 problem

      Make sure the Pi has an adequate power supply (>2 amps). I had some issues with mine until I got a proper power supply.

      posted in User help
      D
      DieselD
    • Multiple queries/array in ma-point-list

      Is there a way to filter a point list with a query that uses an array?
      I have a point list with 100 points, but i only want 30 of them to be selectable (all with various names). Essentially, I'm wondering if there is somehow that I can do;

          <md-input-container ng-init="nameFilter=['Data1','Data2']>
              <label>Filtered point list</label>
              <ma-point-list limit="200" ng-model="myPoint2" query="{name:nameFilter}"></ma-point-list>
          </md-input-container>
      
      OR with RQL
      
          <md-input-container">
              <label>Filtered point list using RQL</label>
              <ma-point-list ng-model="myPoint3" query="'name=in='+nameFilter+';'"></ma-point-list>
          </md-input-container>
      
      

      either way I can't get it to work, only works with a single variable input. thanks.

      Re: Filtering the Menu list for the Angular JS

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • Set-point revert to actual reading if set button not pressed

      One thing I notices with ma-set-point.. If a user edits the input box and doesn't hit enter (forgets to press it or changes their mind), the value stays to what the set, it won't change back to what the actual value is.

      For example, I have an input box to set a temperature setpoint. If it's changed and set is not pressed (or enter is hit), the value stays to what they typed, however, the actual setpoint is incorrect. I suggest a timeout feature so after 5-10 seconds that it revert to what it is actually set at. Ideally, it would only revert back if the input box is not in focus..

      posted in Wishlist
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      Thanks.. you make a good point there. I may have to rethink how I'm doing this...

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      I may just say screw it at this point! though I usually am too stubborn to give up on dumb things like this

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      Well I really wasn't trying to use the enable, but it was a good starting point. I want to be able to change the modbus slave id from the dashboard for a set of data points. Essentially I have six identical modbus units that all send identical data points (different values). If one of the units is replaced with another unit with a different slave id, I want to easily change it without having to go into the data points and change them all.
      I realize i could also change the id on the unit itself but didn't really want to do that and get them mixed up.

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      ok.. im not the best with JS as I'm still figuring out.. I thought I'd ask hoping there would be an easier way then writing up new code to do it.

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      Yeah.. though i don't think that works with setting other things like 'enabled', unless I'm wrong? When I do try it, the Set button gets grayed out.
      I figured out how to read it directly just doing something as simple as:

      <ma-point-list limit="100" ng-model="myPoint2"></ma-point-list>
      <button type="submit" class="btn btn-default" ng-click="myPoint2.$get()">Submit</button>
      <pre><code>{{myPoint2.enabled}}</code></pre>
      
      

      get figure out how to set it though.

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      I got that.. I'm looking for how to do it in HTML/JS, so it can be changed via the dashboard.

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • RE: Can we enable/disable a data point by REST API?

      Any chance someone could put together a quick example on how to update an existing data point property (like enabled) via the PUT request using the REST API? I'm just a bit lost..

      posted in Dashboard Designer & Custom AngularJS Pages
      D
      DieselD
    • MangoES - ethernet/wifi

      Does the hardware have an ethernet port or wifi, or does it need a usb adapter for connectivity to the internet, intranet, etc.?

      posted in MangoES Hardware
      D
      DieselD