• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. dovydasz
    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 10
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by dovydasz

    • D

      No authentication set in security context

      User help
      • • • dovydasz
      1
      0
      Votes
      1
      Posts
      102
      Views

      No one has replied

    • D

      Grey out data points if no connection

      Dashboard Designer & Custom AngularJS Pages
      • • • dovydasz
      3
      0
      Votes
      3
      Posts
      1.2k
      Views

      BGB

      Hello,
      I have a way of doing this in Mango 2.8 and DGlux. It does not apply to Mango 3 but I am sure someone could script this into a data point and use it like I have.

      I have a numeric data point in the meta data source called time_diff. The data point has the following script using the timestamp of incoming data:

      var time = raw.time;
      var d = new Date();
      var now = d.getTime();
      var diff = (now-time) / 1000;
      if (diff < 3600) return 1; return 0; //1 is good

      I then use the result to change a colour setting in DGlux and to trigger an event for a "No Data" alarm

      I am still getting to grips with Mango 3 but I am sure this could be used to grey out an indicator or gauge in the dashboard.

      Cheers
      Brian

    • D

      permission groups

      User help
      • • • dovydasz
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      Jared WiltshireJ

      @dovydasz said in permission groups:

      So now I created a user 'test' with permissions group 'user1',

      Ensure every user has the 'user' permission also.

      @dovydasz said in permission groups:

      edited my dashboard page "apzvalgine" to "Permissions required: user, user1" in Edit menu items window.

      This will control who can see the menu item not who can access the page. You are only required to have one of the permissions to see the menu item.

    • D

      apache2 reverse proxy setup

      User help
      • • • dovydasz
      4
      0
      Votes
      4
      Posts
      2.1k
      Views

      D

      Thank you! It's working now :)

    • D

      Data Source Copy error

      User help
      • • • dovydasz
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      phildunlapP

      Hi dovydas,

      Thanks for bringing this to our attention. This is fixed in the upcoming 3.3 release (this upcoming Monday, partially released if you're on the beta release channel or lower). This was its git issue: https://github.com/infiniteautomation/ma-core-public/issues/1163

    • D

      List of events for users

      User help
      • • • dovydasz
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      Jared WiltshireJ

      @dovydasz said in List of events for users:

      I think I found that it's a Firefox issue..
      I can see events list with Chrome browser (for both user and superadmin), and with MS Edge, but it's not working on Firefox ESR 52.5.2 (32-bit) for Windows. So it's not related to user permissions.

      Yep you're quite right I can replicate in Firefox 52, thanks for tracking that down. Sorry for the inconvenience. I'll try and get a fix out soon.

      edit. Turns out its a bug in Angular.js, I've added a workaround for the next release. A lot of pages would have been broken by this same bug.

    • D

      SNMP set-request sent with wrong community

      User help
      • • • dovydasz
      2
      0
      Votes
      2
      Posts
      827
      Views

      phildunlapP

      Hi Dovydas,

      I have sent you an email!

    • D

      webcam view

      User help
      • • • dovydasz
      3
      0
      Votes
      3
      Posts
      2.2k
      Views

      Jared WiltshireJ

      @dovydasz If you are just trying to put a live view of the camera onto your dashboard you can probably use a simple HTML5 <video> tag as suggested by Maxim. It will depend on the camera and the codec it uses, I suggest you consult your camera's documentation.

      The HTTP image data source can save a frame from your video every x seconds provided it provides its output as an image via HTTP. This is not really well suited to video though.

    • D

      Intesis integration

      User help
      • • • dovydasz
      6
      0
      Votes
      6
      Posts
      2.2k
      Views

      phildunlapP

      Great!

      You may consider placing the m2m2-core-3.2.2.zip into your Mango/ directory again and then simply restart Mango. It will automatically perform an upgrade if there is a new core zip in the Mango/ directory. It's possible there were other JARs update and you'd have duplicates of those too, which would produce uncertain results.

    • D

      Events Table refreshing

      User help
      • • • dovydasz
      4
      0
      Votes
      4
      Posts
      1.7k
      Views

      Jared WiltshireJ

      So you will need to add a custom AngularJS module as per this link - https://help.infiniteautomation.com/getting-started-with-a-user-module/

      This component will just watch for new events of a certain level and play the sound, you can customize it to your needs.

      define(['angular', 'require'], function(angular, require) { 'use strict'; var userModule = angular.module('userModule', ['maUiApp']); userModule.component('eventAudio', { bindings: { audioFile: '@', eventLevel: '@' }, controller: ['maEvents', '$scope', function(maEvents, $scope) { this.$onInit = () => { maEvents.notificationManager.subscribe((event, mangoEvent) => { if (mangoEvent.alarmLevel === this.eventLevel) { new Audio(this.audioFile).play(); } }, $scope, ['RAISED']); }; }] }); return userModule; }); // define

      Use it like this

      <event-audio audio-file="/audio/critical.mp3" event-level="CRITICAL"></event-audio>

      If this is all too complicated, I might add something similar to this into the UI module for the next release so sit tight.