• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Dan M
    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 12
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Dan M

    • D

      Mango install script issue

      Mango General
      • • • Dan M
      1
      0
      Votes
      1
      Posts
      568
      Views

      No one has replied

    • D

      Event Detectors

      Mango General
      • • • Dan M
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      D

      ok i just found it. I did not see event detectors when I went to edit the data point. I had to click on the 3 vertical bullets on the right hand side of the list of points, and click event detectors.
      Suggest to put an event detectors tab when editing a data point if possible.
      Thanks.

    • D

      md-theme-provider injecting itself without cssInjector in app.js

      User help
      • • • Dan M
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      Jared WiltshireJ

      Perhaps you are looking for https://material.angularjs.org/1.1.18/api/service/$mdThemingProvider#mdthemingprovider-disabletheming-isdisabled

    • D

      Script to restart mango

      Mango General
      • • • Dan M
      3
      0
      Votes
      3
      Posts
      2.7k
      Views

      phildunlapP

      Hi Dan,

      One of the easiest ways to ensure Mango restarts on crash is to touch /path/to/mango/RESTART which will cause the ma-start.sh or ma-start.bat script to start Mango again when the currently running Mango finishes. Scripts in Mango/bin/ext-enabled are called with the first argument 'restart'

      To your question, yes it is possible to schedule a restart from within a Mango script, but there aren't any wrapper hooks, so you have to do it the same way the modules page would,

      com.serotonin.m2m2.web.dwr.ModulesDwr.scheduleRestart(); //Schedule restart for ten seconds from now.

      or you can get whatever delay you want,

      var timeout = com.serotonin.m2m2.Common.getMillis(com.serotonin.m2m2.Common.TimePeriods.MINUTES, 17); var lifecycle = com.serotonin.provider.Providers.get(com.serotonin.m2m2.IMangoLifecycle.class); lifecycle.scheduleShutdown( timeout, true /* restart */, null);
    • D

      RS485 issues and Exception from modbus master: Function code: 0x3f and 0x7f

      Hardware
      • • • Dan M
      7
      0
      Votes
      7
      Posts
      2.6k
      Views

      D

      Thanks, that's what I was going to try this weekend.

    • D

      JSON Store not updating from script into HTML

      Dashboard Designer & Custom AngularJS Pages
      • • • Dan M
      3
      0
      Votes
      3
      Posts
      1.7k
      Views

      D

      @Jared-Wiltshire said in JSON Store not updating from script into HTML:

      ="ou

      Awesome, works. Just had to up the interval as my script/getSQL interval was 5 seconds and caused some conflict.

    • D

      LoginPageTemplate help, logging in goes to mango not dashboard

      User help
      • • • Dan M
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      D

      So I managed to figure something out, hopefully it won't mess with other stuff.. I modified maMaterialDashboards and removed Md-pickers, which was what was causing my problem.
      Is there a way to just bypass all this and not call maMaterialDashboards? It won't load with just calling maDashboards in my app.js. I want to still be able to use mdAdmin if needed..

      /** * @copyright 2016 {@link http://infiniteautomation.com|Infinite Automation Systems, Inc.} All rights reserved. * @author Jared Wiltshire */ define(['angular', './maDashboards', 'angular-material-data-table'], function(angular, maDashboards) { 'use strict'; return angular.module('maMaterialDashboards', ['maDashboards', 'md.data.table']); }); // define
    • D

      Set-point-value and show-button=false not working

      User help
      • • • Dan M
      5
      0
      Votes
      5
      Posts
      2.1k
      Views

      D

      Im using v3.4. It was working in v3.2 though.