• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Dan M

    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

    Dan M

    @Dan M

    0
    Reputation
    817
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Dan M Unfollow Follow

    Latest posts made by Dan M

    • Mango install script issue

      Tried installing mango 4 to play with it a bit on linux. Found a couple potential issues. When running the script, it stopped and said:

      install-mango.sh: 144: cannot create /opt/mango/overrides/properties/env.properties: Directory nonexistent
      

      Had to add mkdir overrides and mkdir properties to the install script for it to finish..

      Mango configured to use latest MySQL. After setting it up, mango went into a restart loop. Found this in the log:

      Caused by: java.sql.SQLException: The server time zone value 'EDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC>
      

      To fix, I had to add "?serverTimezone=UTC" to the env.properties

      db.url=jdbc:mysql://localhost/mango?useSSL=false&serverTimezone=UTC
      
      posted in Mango General
      D
      Dan M
    • RE: Event Detectors

      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.

      posted in Mango General
      D
      Dan M
    • Event Detectors

      Using latest version of Mango Enterprise. Does the Event Detectors button not supposed to work under Admin Home? Its there, but doesn't work as a link..

      posted in Mango General
      D
      Dan M
    • md-theme-provider injecting itself without cssInjector in app.js

      I'm looking to see if I can port my previous project from Mango 2.8 to the current version. I have a custom dashboard that is quite customized and would prefer to keep using it. Using the admin-template, I've gotten it ported over but css is being forced into the <head> even though I've removed the cssInjector from app.js. Is there any way to disable this?

      posted in User help
      D
      Dan M
    • Script to restart mango

      Is there a way to restart the mango server from a script (like a RuntimeManager.restartInstance command)? I've been playing around with Mango (2.8.6 version) on a raspberry pi 3 and after a while, memory goes down. Once the JVM shows around 160MB free memory left, it will occasionally crash requiring a hard reboot. Is there a cheap and easy fix for now to just do a server restart? Not the ideal or finish solution, but will work for the time being..

      posted in Mango General
      D
      Dan M
    • RE: Scripting to reset serial (MODBUS) data source

      @phildunlap said in Scripting to reset serial (MODBUS) data source:

      RuntimeManager.sleep(200)

      @phildunlap I tried to use the sleep code for something else but I get this:

      TypeError: { dataSourceEnabled(xid): boolean, enableDataSource(xid): -1 0 1, disableDataSource(xid): -1 0 1, dataPointEnabled(xid): boolean, enableDataPoint(xid): -1 0 1, disableDataPoint(xid): -1 0 1, } has no such function "Sleep" in at line number 3
      at line:

      is RuntimeManager.sleep(XXXX) a valid function? I've seen it posted elsewhere but its not working for me..

      posted in Scripting general Discussion
      D
      Dan M
    • RE: Scripting to reset serial (MODBUS) data source

      I made a script data source to do this..

      if(RuntimeManager.isDataSourceEnabled('DS_Modbus') === true)
      {
          if (--Condition that occurs that means you need to reset, i.e slave monitor shows datasource is offline--)
          {
               RuntimeManager.disableDataSource('DS_Modbus');  // disable DataSource 
               while (RuntimeManager.isDataSourceEnabled('DS_Modbus') === true) {}    //loops until DataSource is disabled since it might take a few seconds to disable depending on your timeouts, etc..
               RuntimeManager.enableDataSource('DS_Modbus');    // re-enable DataSource  
              }
      }
      
      posted in Scripting general Discussion
      D
      Dan M
    • RE: RS485 issues and Exception from modbus master: Function code: 0x3f and 0x7f

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

      posted in Hardware
      D
      Dan M
    • RE: RS485 issues and Exception from modbus master: Function code: 0x3f and 0x7f

      Yes, I have 6 devices, 6 different ID's. Runs exactly as I want it for a few hours so I think the settings are correct in terms of parity.
      Unfortunately, I can only work on it every couple weekends so its hard to debug, especially when it fails after a couple hours, so I can't see it right away!
      I'm going to next try lowering the baud rate, possibly try to disconnect an isolator and thermostat one at a time to see if it will run longer, potentially being the isolator. I tried to disable individual units in Mango and see what happens but couldn't isolate the problem. I also replaced all the thermostats from Temco Control units to Isquared iStat6 units, so do not think the thermostat itself is the cause, unless the iStat6 firmware has an issue. Both Temco and iStat6 units used the ControlCore firmware. By the way, before switching to Mango, I used ControlCore software and was seeing similar communication issues as I see now..

      Reading the modbus logs, I see hex data coming in, and all of the sudden it stops. I don't see garbage data coming in or anything, just as if the istat stops sending data. When this happens, nothing can send data over the network (i think a driver stays enabled maybe?). I see voltages on the bus of 4 volts and 0 volts. When it communicates, it is typically in the 1-3 volt range.

      posted in Hardware
      D
      Dan M
    • RE: RS485 issues and Exception from modbus master: Function code: 0x3f and 0x7f

      Sorry I misspoke. I meant it sends data, data takes, and then a few seconds later the network stops working.

      I've since changed the RS485 converter to a USB/RS485 converter (was an RS232/RS485 converter previously). I get drastically less CRC errors now, maybe 1 or 2 every ten minutes, but the network again stops working after a minute or an hour. Does not seem related to writing to the network, it just stops.

      I think one of the units just stops transmitting and its driver stays enabled, though it is just a guess at this point. Restarting all the units fixes the problem for a little while. Wondering if a unit is messing up, or maybe an isolator. Just trying to get another set of eyes because I'm at a loss right now.

      posted in Hardware
      D
      Dan M