• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Jokke
    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
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 53
    • Groups 0

    Topics

    • J

      Problem with meta point

      Watching Ignoring Scheduled Pinned Locked Moved User help
      3
      0 Votes
      3 Posts
      2k Views
      M
      No, no trick, just a bug with execution delays. A fix will be in the next release.
    • J

      Here are some view component examples

      Watching Ignoring Scheduled Pinned Locked Moved User help
      8
      0 Votes
      8 Posts
      11k Views
      F
      Very useful examples, I would like to set an RTC clock using two select combobox: Hours 0-23 and Minutes 0-59. The datapoint must be set in seconds, so I need two combos performing some scripting like get the value of hours3600 plus minutes60. I am trying but could not do it yet. Here is my code, it works outside mango, but could not set the datapoint from this, anyone could help? <script language="JavaScript"> function checar() { campo1 = document.form.select1; campo2 = document.form.select2; if(campo1.value!="") { valor1=campo1.value; } else { valor1=""; } if(campo2.value!="") { valor2=campo2.value; } else { valor2=""; } um = valor1*3600; // hour to seconds dois = valor2*60; // minutes to seconds totalSec = um+dois; if(um=="" && dois=="") { document.form.total.value=""; } else { document.form.total.value=totalSec; //mango.view.setPoint("+ point.id +", \""+ pointComponent.id +"\", "+totalSec+" )'>"; } } </script> <form name="form"> <select name="select1" onChange="checar()"> <option></option> <option value="1">1</option> <option value="0">...</option> <option value="23">23</option> </select> <select name="select2" onChange="checar()"> <option></option> <option value="1">1</option> <option value="0">...</option> <option value="59">59</option> </select> <input type="text" name="total" value=""> </form>
    • J

      Serverside script and var "events"

      Watching Ignoring Scheduled Pinned Locked Moved User help
      7
      0 Votes
      7 Posts
      4k Views
      M
      It can't find the method because the method takes a ResourceBundle parameter, so it looks for a method that takes no parameters, which doesn't exist. I've added the appropriate resource bundle to the script context under the var "bundle". So, your script would be "events.get(0).message.getLocalizedMessage(bundle)". This will be available in the next release. Do note though that the rendered events should appear in a warning rollover to the left of the component.
    • J

      Finnish translation/Mango puhuu suomea

      Watching Ignoring Scheduled Pinned Locked Moved User help
      10
      0 Votes
      10 Posts
      4k Views
      M
      Hi Jokke, Regarding the findings you had mentioned earlier... This was seen "Modbus pointo locator test: "Illegal data address: {1}"" This has been found and fixed. The {1} part was removed. This was not localized so it is same on all language settings. "SomeCompoundEventDetectorName: java.lang.Exception: Detector S3 not enabled or does not exist" This was fixed too. On audit events the publisher deletion/change does not make any event. The commission to do the audit work did not extend to publishers. The common.true and common.false is used on logical true/false and in the audit events. It has a slight difference on translation if the context talking about something is on/off or binary/logical value true/false. It's not exactly correct to use true/false in those contexts in English either, but it's common to do so.
    • J

      Trick to get support for all 1 wire devices

      Watching Ignoring Scheduled Pinned Locked Moved Hardware
      6
      0 Votes
      6 Posts
      6k Views
      F
      May be a better way of doing this is to 1 - write a JSP page to run an op system command 2 - use the JSP to loop through the reply to create a neat page with the collected data 3 - use an HTTP retreiver to pick up the data (same way as I am doing for op sys stats) This means thoe whole process is under mango control and mango timings But I like the idea of using OWFS if a device is not mango supported Francis
    • J

      Setting value to MySql

      Watching Ignoring Scheduled Pinned Locked Moved User help
      6
      0 Votes
      6 Posts
      4k Views
      M
      After years of using prepared statements in many databases, i have to admin i have no idea. It never came up.
    • J

      Modbus IP

      Watching Ignoring Scheduled Pinned Locked Moved Hardware
      8
      0 Votes
      8 Posts
      5k Views
      M
      Nice catch. This was a bug in Modbus4J in the WriteMaskRegister failover. I've checked the fix into the CVS repo.
    • J

      Owfs

      Watching Ignoring Scheduled Pinned Locked Moved Wishlist
      4
      0 Votes
      4 Posts
      4k Views
      J
      Thanks for the idea. Your solution for 1-wire sounds intresting. I think i will use similar method. I have also USB dongle. An other problem is that I have thermocouples connected which are not supported with Mango.