• A
    aussieMESH

    Hi all,

    I am using Mango to get MODBUS data from various sources, including RTU's residing on Xbee nodes via a Digi Connectport X4.

    I would like to POST data to the Etherios cloud using the Mango HTTP sender publisher, and have successfully tested this using HTTP POST with a Python Script.

    However, I am unsure as to the format of the Static Parameters in the Mango HTTP sender properties.

    The path is http://<hostname>/ws/DataPoint/one
    I need to add the following snippet of the HTTP POST method to a KEY:

    <DataPoint>
    <staticId>one</staticId>
    <data>42</data>
    </DataPoint>

    I cannot use just the two entries:
    KEY=data and Value=42
    KEY=staticId and Value=one
    Somewhere I need to add the "DataPoint" header

    Obviously the value "42" would be where I put the Mango point "Parameter name", but
    I am first trying to send just a static value.

    The "staticId" is the Etherios Data stream ID, and remains constant.

    Can anyone shed some light on this?

    posted in User help read more
  • A
    aussieMESH

    Hi all,

    I have had my 1.12.4 server running for about a month.
    I have BEEN able to connect to:
    8080 on my LAN
    8080 on the WAN (Phone and PC)(Static WAN IP)
    8080 via iframe remote view from my website.

    Now the 8080 WAN has dropped off, but I can still connect via the other two methods.
    I am getting gateway timeouts.

    I have called my ISP, they said they have not blocked 8080.(anyway the iframes are getting through)
    I have tried changing everything to 8081, no success.
    I have obviously restarted and checked firewall exceptions and port forwarding.
    Also I can access my webcams and modbus TCP devices directly from the WAN.

    I'm using M2M as a test bench before moving to (and hopefully selling) Mango Automation,
    and remote access is a must.

    I recently ran a Java update, but that was JRE not JDK.....????

    Any ideas? Can anyone throw me a freakin bone here?

    posted in User help read more
  • A
    aussieMESH

    Hi all,

    Probably a quickie for all you Windows Guru's out there.
    I am running 1.12.4 and have it running as a Windows service on XP. It now runs TOTALLY in the background,
    I mean TOTALLY! The console is nowhere to be found.
    Can anyone tell me how to see then console? I need to see what is going on.

    posted in User help read more
  • A
    aussieMESH

    Matthew/Joel,

    How do I delete the user notes from a point?

    I have looked through the system, but could not find the answer.

    Thanks Hayden

    posted in Mango Automation general Discussion read more
  • A
    aussieMESH

    Hi,

    It may be advantageous to have a "Pulse Target" in the Event Handler Active action. The pulse time could be set in system settings maybe.

    This would be used to "Trigger" devices that just require one set pulse.

    Hayden

    posted in Wishlist read more
  • A
    aussieMESH

    Simple licensing question.

    I am currently using the FREE core version. It is running on an XP PC 10.1.1.26.

    When I attempt to log on from another machine(on the same subnet) to 10.1.1.26:8080, I get the error:

    "Your license domain 'localhost:8080' does not match the current domain"

    So, in the free licence conditions, what are the 3 unique IP addresses?
    I would like to see how this runs on my android, and will be looking to purchase
    a full license after complete testing.

    Maybe you guys are looking toward an android app in the furture, but for now it should work
    pretty well using a browser over a LAN or Cellular.

    Thanks.

    posted in Mango Automation Installation read more
  • A
    aussieMESH

    Hi all,

    What is the best way to scale data in Mango?

    Getting RAW data from my new ADAM - 2031 Zigbee wireless temperature/humidity sensor node.
    The RAW data is 0 - 65535.

    The formula is Degrees C = -46.85 + 175.72 * [RAW TEMP] / 65535

    I have this working by means of:
    Creating a new Virtual Data Source "Scaled data"
    Creating a new Data Point called "Converted temp", which is settable, numeric, no change and start value of 0.
    Create a Point Link with Source as "2031 - RAW data" and Target as "Scaled Data - Converted Temp"
    Create a script in this Point link containing the script "return -46.85 + 175.72 * source.value/65535"

    Is this the easiest way to do these conversions? Seems very cumbersome.

    posted in Mango Automation general Discussion read more
  • A
    aussieMESH

    Hi Guys,

    I have been experimenting with Connecting Arduino to SCADA systems vis Xbee for the past year and would like to pass on some info.

    I have just finished installing and setting up MANGO, and have the following up and working:

    Arduino with 6 Analog inputs, 6 Digital inputs, 4 Digital outputs and 2 Analog outputs.
    Connected to a DFRobot IO Expansion shield V5 with a Digi Xbee Series 2 Radio.

    This communicates AS a slave with Modbus RTU, however, this is where it gets better...
    I then use my Digi Connectport X4 Gateway's Industrial Automation(IA) capabilities to convert this to Modbus TCP.
    The X4 has a built in Xbee S2 and Ethernet.
    Then, the Mango data source simply points to the IP address of the X4 Gateway on port 502, Slave ID 1.
    This means that I can can connect to this data from anywhere and not limited to a serial connection.

    And it gets better even still...
    I can set up lots of these Arduino nodes. I just set a new slave ID in the Arduino code, say 2, set a new table entry in the X4
    with a new port, say 503, then direct Mango to the X4 address, 503 and Slave 2.

    Analog sensors I have used include, LM35 temperature, light, voltage divider, Pots, sound, current.
    I have a fan hooked up to one of the analog OUTPUTS via a MOSFET that I can set the speed from within Mango.
    All this over a Digi Xbee Series 2 Mesh up to 3 kilometres (theory) away!

    The code Arduino code size is only 6.9K, and I can have as many registers as I want, limited by the speed of the Xbee mesh.
    From my understanding, you could also use a Connectport X2, which has just the Xbee radio, and Ethernet, but has firmware
    available for flashing that includes Modbus. (Check before purchase, as I do not have one)

    So lets look at the price:
    Arduino/compatible $25 (DFRobot)
    Xbee/expansion shield $20 (DFRobot)
    Xbee Series 2 $45 (DFRobot)
    Connectport X2 $139 (Sparkfun) (X4 $400+)
    Mango $Free

    So once you have an X4/2 the node cost is only $90, plus sensors of course.

    OK so what Arduino libraries you ask???

    http://code.google.com/p/arduino-modbus-slave/

    I AM having one problem that hopefully someone can help me with.
    I cannot get the Digital outputs to stay on in Mango. After a couple of reads they go off. I have tried just about every setting,
    but have come to the conclusion that it is the Arduino code. I also use ADAMView(advantech), and it also turns off the outputs,
    but only when you stop the service, not WHILE IT IS RUNNING like Mango.

    Attached Arduino INO. Get the library from the above link.

    Enjoy!

    posted in Hardware read more
  • A
    aussieMESH

    Hi all,

    I am using Mango to get MODBUS data from various sources, including RTU's residing on Xbee nodes via a Digi Connectport X4.

    I would like to POST data to the Etherios cloud using the Mango HTTP sender publisher, and have successfully tested this using HTTP POST with a Python Script.

    However, I am unsure as to the format of the Static Parameters in the Mango HTTP sender properties.

    The path is http://<hostname>/ws/DataPoint/one
    I need to add the following snippet of the HTTP POST method to a KEY:

    <DataPoint>
    <staticId>one</staticId>
    <data>42</data>
    </DataPoint>

    I cannot use just the two entries:
    KEY=data and Value=42
    KEY=staticId and Value=one
    Somewhere I need to add the "DataPoint" header

    Obviously the value "42" would be where I put the Mango point "Parameter name", but
    I am first trying to send just a static value.

    The "staticId" is the Etherios Data stream ID, and remains constant.

    Can anyone shed some light on this?

    posted in User help read more