• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. glamprecht
    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
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 12
    • Posts 28
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by glamprecht

    • RE: How to recover missing dashboard Page ??

      @phildunlap said in How to recover missing dashboard Page ??:

      /ui/administration/json-store

      Can you please provide the full path:
      find / | grep json-store
      does not return anything.
      find / | grep /ui/administration
      does not return anything.

      I found these, but it does nothing looks anything to what you describe. I have the latest version installed. My page went missing during an update the last couple of months.

      /opt/mango/web/resources/amd/dojox/app/schema/store.json
      /opt/mango/web/resources/dstore/bower.json
      /opt/mango/web/resources/dstore/package.json
      /opt/mango/web/resources/dojox/app/schema/store.json

      posted in Dashboard Designer & Custom AngularJS Pages
      G
      glamprecht
    • Drop down DataSources instead of Watchlist

      I have 100 DataSources for 100 routers. Each DataSource contains 10 Datapoints. I want the user to select a router in the drop down box, and then display its points, like temperature, signal, etc. For each of the 100 routers their datapoints have the same names, like temperature.

      In this example: https://help.infiniteautomation.com/linking-to-dynamic-pages/ you have to create a Watch list first. I dont want to create 100 Watch lists (one for each DataSource)

      I have had a look at the examples, but I cannot get it working at all.

      posted in Dashboard Designer & Custom AngularJS Pages
      G
      glamprecht
    • Mango XHR request failed

      I am trying to do a bulk read permissions set, but get this error. I have tried changing the search criteria to other points, but still get this error. There are about 8 datapoints associated with this data source name.
      I just want to add another item to the read permissions.

      0_1539952360306_6b124b0d-f701-40ac-9529-44184c284dd4-image.png

      posted in User help
      G
      glamprecht
    • RE: Multiplicand and Augend on HTTP Receiver

      I have for example 15 BLE devices asynchronously transmitting their values through BLE advertisements (not being connected) every 5 seconds. I have a python scanner that get the value and spawns off a thread to post its value with the MAC to Mango.

      If I need to add a new sensor in Mango, I just need to enter the MAC in the datapoint and bring the BLE device within 100m of any PI and it works. I can also build redundancy by having multiple PI's in reach of each other without any extra coding. I dont even have to add/register the PI on Mango. It is completely transparent. And all I need to do to add another node is copy the PI sdCard and put it in another PI. The elegance of the system is great, except the real world values is not so elegant at the moment.

      Wont using virtual serial port limit this connection to 1 stream, ie 1 PI ?

      posted in Mango Automation general Discussion
      G
      glamprecht
    • RE: Multiplicand and Augend on HTTP Receiver

      Yes I have control over the HTTP messages, so I can add anything to that, I would appreciate help with the script. Thank you

      posted in Mango Automation general Discussion
      G
      glamprecht
    • Multiplicand and Augend on HTTP Receiver

      We are implementing a transparent BLE - HTTP Receiver solution using Raspberry Pi. So the Pi will transmit all bluetooth values that it receive. There is a combination of water, beer, electricity, etc pulses that are transmitted. However on some flow meters it is 5 pulses per litre, sometimes 10 pulses per kWh, and so on. It will become a complete mess if we have to configure the Pi or the bluetooth device in the field that is a $10 part with "real world translation"

      So we would like to configure Multiplicand and Augend (optional) on the back-end.

      Is there a way to do this without having to create 2 datapoints (point link or virtual data point) for each sensor?

      SNMP works well, but many raspberry pi's are behind networks that only allow HTTP traffic. So we have to use HTTP Receiver.

      posted in Mango Automation general Discussion
      G
      glamprecht
    • RE: Opening image based on datapoint value under watch list

      @jared-wiltshire said in Opening image based on datapoint value under watch list:

      I can now see how to get the point value. Likewise I can get the dataSourceXid like this:
      (designer.points | filter:{name:'Camera_name'}:true | maFirst).dataSourceXid)

      Instead of using the value as in the past, I would now like to get the last digits of the IP address of the dataSourceXid (being an SNMP datasource)

      I can see how to access the datapoint through designer.points ,but I cannot figure out how to access the datasource and its address?

      posted in Dashboard Designer & Custom AngularJS Pages
      G
      glamprecht
    • How to refresh image by time or by click

      Is there an elegant way in mango to refresh/reload an img (image) either periodically or when clicked on? Or can it somehow detect a change in date/time of the file that ng-src points to?

      There are lots of help on the internet using javascript and/or angular, but they all seem to be very wide workarounds for quite a common requirement.

      posted in User help
      G
      glamprecht
    • RE: Event Handlers not saving after Mango 3

      This worked. Thank you.

      posted in User help
      G
      glamprecht
    • RE: Does Mango has modbus tcp master function?

      The Modbus DataSource act as a master. Configure that to get data from a PLC or Modbus capable RTU.

      The Modbus Publisher act as a slave. You would need to use virtual Datasource/datapoint in this case for each value you want to transfer, unless those datapoint that you want to transfer come from another source.

      It is a bit more effort to work through the publisher (as a slave) because you need to anticipate or figure out what the Master (maybe another SCADA software) want from Mango (publisher) In our case after much debugging we found the modbus master poll register 1-30 from Mango publisher. if those are not configured, Mango do not respond, and the modbus master gives up and never get to the real registers above 4000 that we were actually interested. So we had to create 30 dummy virtual points to make the master happy.

      posted in Mango Automation general Discussion
      G
      glamprecht
    • RE: Custom Event Messaging

      I have a similar requirement in the event detectors. I would like to pass the point value that triggered the event detector the the process (in my case a bash script on a linux server) I can trigger the bash script with parameters, but I cannot give it the point value as a parameter. Is this at all possible? Event detectors seems to be the best way to do server side stuff such as running rsync to a remote device.

      posted in User help
      G
      glamprecht
    • Mango can monitor 6 phases power & 127 sensors in a 1U device.

      There are many power meters that can interface to Mango. There are many RTU's and loggers as well. However this is something quite unique I believe. It is a 1U rack mount device that does dual 3 phase (400VAC) monitoring. So a total of 6 phase voltages and up to 8 current transformers. Apart from being an IEC compliant dual power meter, it also supports a sensorbus that can daisy chain up to 127 sensors. Each sensor has 5 analog/digital inputs/output, temperature, humidity and ambient light.

      We have a couple of these doing power monitoring, temperature, humidity, motion, cabinet door, server room door, etc via Mango. Mango interface is primarily SNMP over Ethernet.

      0_1523445996924_Power6 Front View.jpg

      0_1523446324810_Power6 Rear View.jpg

      posted in Hardware
      G
      glamprecht
    • Event Handlers not saving after Mango 3

      Hello

      I can no longer create or edit new event handlers running processes.

      When saving event handler PROCESS I get this error. I also noticed that the "command" under Process of all the event handlers that existed previously is also gone.

      I am running Version 3.3.4. I updated to latest to see if it helps.

      WARN 2018-04-11T13:09:27,407 (com.serotonin.m2m2.web.dwr.MiscDwr.jsError:176) - Javascript error Description: Uncaught TypeError: Cannot read property 'dataSourcePermissions' of undefined Page: http://myURL/event_handlers.shtm Line: 1557 Browser name: Chrome Browser version: 65 osName: Windows location: http://myURL/event_handlers.shtm

      posted in User help
      G
      glamprecht
    • Opening image based on datapoint value under watch list

      Hello

      I have a filtered watchlist select which contains data from 2 IP addresses that are inside the same device in the field: <ma-watch-list-select id="a9c722c9-aac1-492a-b026-799c6922ab1f" style="position: absolute; left: 0px; top: 203.97px; width: 206.996px; height: 58.9915px;" ng-model="designer.watchList" parameters="designer.parameters" query="{name:'X1_'}"></ma-watch-list-select>

      Based on the watch list selected above I display various parameters, amongst others a serial number: <ma-point-value id="3883ca56-bae3-465d-99ee-7a21c90fec6c" style="position: absolute; left: 283.999px; top: 0px; font-size: 32px;" enable-popup="hide" point="designer.points | filter:{name:'Camera_name'}:true | maFirst" label="Serial"></ma-point-value>

      Now I want to display an image in a particular folder (where 50 need to be replaced by the point value above):
      <img id="20775be3-db0d-4080-a358-713e89d5dcff" style="position: absolute; left: 213.8px; top: 50px; width: 600px; height: 450px; display: flex;" ng-src="/50/lastimage.jpg">

      I understand that I can use {{myPoint}}, but I cannot find a way to get the particular point from the watch list and bind it to a variable?

      I have looked at ma-get-point-value, but the help file says: "This directive pulls the live value of a data point and outputs it onto the point object", however the help is unclear what the SOURCE and what the SINK(DESTINATION) objects are.

      The designer creates this:
      <ma-get-point-value id="3152e3f9-be26-4e9d-9357-312f474a7018" style="position: absolute; left: 84px; top: 342px;" point="designer.points | filter:{name:'Camera_name'}:true | maFirst"></ma-get-point-value>
      but how do I define what this point value should then be assigned to in order to use it elsewhere {{ }}

      I appreciate your help. Do you have somewhere a list of all the parameters for each of your "ma-" objects? The help files dont seem to list all. I find some assignments in the dashboard designer that are not in the help.

      posted in Dashboard Designer & Custom AngularJS Pages
      G
      glamprecht
    • RE: Thumbnail image

      Thank you. If the images does not have to be recorded in the database, I guess it is easier to just put a HTTP component down that point to the image?

      posted in User help
      G
      glamprecht
    • Thumbnail image

      Under [Graphical Views] there is a Component called "Thumbnail Image". If this is placed one can select a point. The help ? does not refer to how this works or what this is. I have tried putting a base64 image in a alphanumeric virtual point, but it says data point invalid. How does this work?

      posted in User help
      G
      glamprecht
    • RE: Mango Crashes

      I looked at system log dmesg | tail
      Nothing seems off
      I looked at memory using free -m
      1.2GB free.

      What is the proper ways to determine if Mango is running or not, other than accessing the web interface? I tried ps ax | grep ma

      but I dont see anything running.

      I looked at the current open ports with netstat -atn, but do not see webserver listening on port 80

      posted in Mango Automation general Discussion
      G
      glamprecht
    • Mango Crashes

      I have an installation on 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

      This is the last entry that I see in the log file:
      INFO 2016-02-24 00:05:00,004 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.execute:94) - Starting database backup WorkItem.
      INFO 2016-02-24 00:05:00,005 (com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.createLogOutputStream:179) - Writing upgrade log to /opt/mango/logs/com.serotonin.m2m2.rt.maint.work.DatabaseBackupWorkItem.log
      INFO 2016-02-24 00:05:02,631 (com.serotonin.m2m2.rt.maint.work.BackupWorkItem.execute:102) - Starting backup WorkItem.

      About 6 hours hereafter I noticed that it is down. How can I debug further what happened, before I start it again? I has run fine for the past 6 months.

      posted in Mango Automation general Discussion
      G
      glamprecht
    • RE: Handling Bit Fields

      Hi Thanks Joel. Yes the scripting works very easily. I could just not figure out if it is important to make the variable name different for each meta data point. Currently all the meta data points variable name is the same, as I am not using it in the script.

      posted in User help
      G
      glamprecht
    • Handling Bit Fields

      I am reading hundreds of data points that consist of 16 bit values. Each 16 bit value consist of 4 nibbles. If the nibble value = 15 it means item not implemented. If it is 1 it means that the value is set, if it is 0 it means the data is not set. For example a 16bit data point will have 4 values be Error|Start|Overheat|Manual. so if Start is not implemented, it will send for example 0000 1111 0001 0001 through or 0F11 hex.How can I put this into 4 Binary data points? We are using SNMP data source, but I have a similar problem with HTTP Receiver.

      posted in User help
      G
      glamprecht