• P
    peadar

    I recently purchased an Android phone and now have semi-permanent retina damage.

    However, just before the i completely lost my marbles, i installed an App called "Torque"
    After connecting it to my cheap ebay elm327 OBD interface on my car, i was presented with some wonderful dials and a way to upload my car's ECU data to the interweb.

    So i thought to meself, "hey, i could send it to mango!" and there was born unto me an idea.

    And so now, mango now emails me on certain conditions...over-speed (yes really!!) average fuel consumption too low and a host more i'm working on. like a weekly report.
    I'm working on a kind of geofence idea to email me when i go through the toll bridge too as i've been overcharged from time to time. (it's a camera system they use...and i have a very generic car...grrr)

    Well, thats just another use i've found for Mango. Maybe it can fuel some good ideas. pardon the pun :-)

    Peadar

    posted in Stories read more
  • P
    peadar

    I'd like to share a little work-around my buddy and i discovered whilst developing a certain project.

    We use mango for our SCADA environment and especially love the flexibility of it.

    This is shown out in the way we use the nmea listener.

    PROJECT:
    We needed a way to parse a comma separated sentance from a self built board and micro-processor (16fxxx for the nerds out there)
    Well, the nmea listener did the trick, but then out in the field it proved a little difficult as rs232 doesn't really like a 15 mile cable!

    So we packaged it up with a modem and sent it via GPRS on, well, lets say TCP port 5555

    We then installed a piece of free software (see below) to forward the TCP message to a Virtual Serial Port - COM6.

    And...as you can see from the attached screenshots, it worked pretty well

    SOFTWARE:
    Mango (of course!)
    Virtual Serial Port Emulator from www.eterlogic.com (free for 32bit platform)
    Install the software and create a new 'connector' (er...com port) set it with defaults and tick the 'emulate baud rate' box.
    Then create a 'TCP Server'. Enter the TCP port you want the Server to listen on. Then choose the newly created serial port and in serial port settings, choose 19,200 baud and leave rest as default.
    Initialize the new 'Devices' and send some data.
    Create your NMEA listener as a data source in Mango and listen for data. With any luck, you should see some data coming in.

    THINGS TO WATCH OUT FOR:
    The NMEA listener is limited to 9600 baud. Thats fine, but your COM Port must be set to at least double that (19,200) for mango to hear your transmission.
    I don't know the exact reason, maybe someone else could offer an explanation.
    Don't 'enable' the NMEA data source in mango if you're trying to listen to test data. It will hog the serial port. I'm sure you know that, but it took me while to figure !!

    I hope someone finds this useful. After all we've benefited so much from this resource.

    njoy

    posted in How-To read more
  • P
    peadar

    hi guys, (er and gals...:-o )

    i was wondering is there any way that the NMEA listener can run at a higher baud rate?
    It seems limited to 9600 and i need it to go to 19,200...

    has anyone any suggestions?

    regards

    posted in User help read more
  • P
    peadar

    Did you ever want to display feed from Yahoo Pipes?

    In my case, i show a Google Map of a vehicle's position in relative realtime
    The reason for this is that i am monitoring a bunch of data being relayed from a truck and wanted to display its position in realtime, on a map in the same webpage.

    Yahoo Pipes handles the KML data from my GPS Tracking Software, providing a live feed.

    I imagine you can display any Yahoo Pipes feed, its just i use the KML feature.

    this is a demo link i put up for all to see:
    http://limcoco.dyndns.org:9090/public_view.htm?viewId=4

    if you'd like to know more, just let me know and i'll post some sample code.

    Ps. remember please that i'm a bit of a novice, and there is probably a much simpler way of achieving what i've done here. :-)

    posted in How-To read more
  • P
    peadar

    First off i'd like to say i was a complete novice when i downloaded the package, but was up and running within weeks.

    This is what we've accomplished so far:

    We've succesfully installed a datalogger in test mode which will eventually be mounted on a vehicle to monitor various temperature readings, pressure sensors, and pulse counters.
    This data will be given to the driver in a live graphical format
    We're using a datataker DT80 for the job.

    From there we've fed all this info into Mango through ModBUS IP, which then pushes the data out through a GPRS connection to a second Instance of Mango at the depot.

    Administration at the Depot can then view a live display of the truck's activities and job reference.

    Also on the recieving end, the data is parsed through Advanced Data Logger which puts the history into a MSSQL database for later analysis.

    I'd like to know if Mango can put the Data into a MSSQL database itself, but for now, the Advanced logger does the job nicely.

    Hats off to you guys...this is an exceptional piece of software...
    It was easy to install, configure, and use...
    only once in a while do you come across something as flexible and intuitive as this...Well Done!!

    I'll keep you posted as to how the live install goes in April

    posted in Stories read more
  • P
    peadar

    I recently purchased an Android phone and now have semi-permanent retina damage.

    However, just before the i completely lost my marbles, i installed an App called "Torque"
    After connecting it to my cheap ebay elm327 OBD interface on my car, i was presented with some wonderful dials and a way to upload my car's ECU data to the interweb.

    So i thought to meself, "hey, i could send it to mango!" and there was born unto me an idea.

    And so now, mango now emails me on certain conditions...over-speed (yes really!!) average fuel consumption too low and a host more i'm working on. like a weekly report.
    I'm working on a kind of geofence idea to email me when i go through the toll bridge too as i've been overcharged from time to time. (it's a camera system they use...and i have a very generic car...grrr)

    Well, thats just another use i've found for Mango. Maybe it can fuel some good ideas. pardon the pun :-)

    Peadar

    posted in Stories read more
  • P
    peadar

    I'd like to share a little work-around my buddy and i discovered whilst developing a certain project.

    We use mango for our SCADA environment and especially love the flexibility of it.

    This is shown out in the way we use the nmea listener.

    PROJECT:
    We needed a way to parse a comma separated sentance from a self built board and micro-processor (16fxxx for the nerds out there)
    Well, the nmea listener did the trick, but then out in the field it proved a little difficult as rs232 doesn't really like a 15 mile cable!

    So we packaged it up with a modem and sent it via GPRS on, well, lets say TCP port 5555

    We then installed a piece of free software (see below) to forward the TCP message to a Virtual Serial Port - COM6.

    And...as you can see from the attached screenshots, it worked pretty well

    SOFTWARE:
    Mango (of course!)
    Virtual Serial Port Emulator from www.eterlogic.com (free for 32bit platform)
    Install the software and create a new 'connector' (er...com port) set it with defaults and tick the 'emulate baud rate' box.
    Then create a 'TCP Server'. Enter the TCP port you want the Server to listen on. Then choose the newly created serial port and in serial port settings, choose 19,200 baud and leave rest as default.
    Initialize the new 'Devices' and send some data.
    Create your NMEA listener as a data source in Mango and listen for data. With any luck, you should see some data coming in.

    THINGS TO WATCH OUT FOR:
    The NMEA listener is limited to 9600 baud. Thats fine, but your COM Port must be set to at least double that (19,200) for mango to hear your transmission.
    I don't know the exact reason, maybe someone else could offer an explanation.
    Don't 'enable' the NMEA data source in mango if you're trying to listen to test data. It will hog the serial port. I'm sure you know that, but it took me while to figure !!

    I hope someone finds this useful. After all we've benefited so much from this resource.

    njoy

    Attachment: download link

    posted in How-To read more
  • P
    peadar

    hi guys, (er and gals...:-o )

    i was wondering is there any way that the NMEA listener can run at a higher baud rate?
    It seems limited to 9600 and i need it to go to 19,200...

    has anyone any suggestions?

    regards

    posted in User help read more
  • P
    peadar

    here's 2 screens from a current project.
    not the best artistically, but you get the idea :-)

    hope that helps

    Peadar

    Attachment: download link

    posted in Stories read more
  • P
    peadar

    Did you ever want to display feed from Yahoo Pipes?

    In my case, i show a Google Map of a vehicle's position in relative realtime
    The reason for this is that i am monitoring a bunch of data being relayed from a truck and wanted to display its position in realtime, on a map in the same webpage.

    Yahoo Pipes handles the KML data from my GPS Tracking Software, providing a live feed.

    I imagine you can display any Yahoo Pipes feed, its just i use the KML feature.

    this is a demo link i put up for all to see:
    http://limcoco.dyndns.org:9090/public_view.htm?viewId=4

    if you'd like to know more, just let me know and i'll post some sample code.

    Ps. remember please that i'm a bit of a novice, and there is probably a much simpler way of achieving what i've done here. :-)

    posted in How-To read more
  • P
    peadar

    nothing wrong with mango at all!

    The hiccup is, its not so clear from an initial glance how mango correlates to pachube in relation to feed ID and Datastream ID.

    It's easy now i understand it, but is a steep learning curve for a novice like me. Plus Pachube is a little weak on the documentation side of things

    in my case i didn't put the correct 'Feed ID' into mango so although the publisher was sending the API key and getting a response, it was a 404 or 503 response, so i imagine mango just kept trying to send it until a 200 would come back.

    sorry for the confusion, i'll try not to accomplish large tasks like this at night time...all was clear after a few hours kip :-)

    hope that can help a few of the members

    Peadar

    posted in How-To read more
  • P
    peadar

    Ok, here's a quick and dirty guide on how to create a pachube publisher in mango to a pachube feed

    1. 'signup' for a free account with pachube at www.pachube.com

    2. you'll be sent a welcome email with an API key, so copy that key to the clipbaord

    3. go back and sign in to pachube

    **4. ** on the right hand side of the page, click "register a feed"
    feed type = Manual
    feed title = test

    then click 'add' under datastreams
    
    ID = 1
    type = basicSI
     add another datastream
    ID = 2
    type = basicSI
    	these are your 'Datastream ID"s for mango
    

    5. Now click 'save feed' and you'll be taken to your feeds page:

    **6. ** note the 4 or 5 digit number just before ".xml", ".csv", ".json". this is your 'Feed ID' for mango.

    **7. ** Create a pachube publisher in Mango
    name = test
    update events = changes only
    send regular snapshots = Do not Tick

    API Key = paste in the key from the welcome email from pachube
    
    Add one or two points you'd like to publish, then fill in the boxes:
    	Feed ID = see step 6
    	Datastream ID = see step 4
    

    8. click 'save' and enable the publisher.

    9. if all goes well, you should be able to see a green 'live' in your "my feeds" page on pachube.
    Bear in mind this may take a few minutes to come live. mine took about 5-10 mins initially.

    10. click "use a feed" on the right of the page to see what you can now do with all this data flying about the internet

    11. let me know how you get on :-)

    here's one i did earlier:
    http://www.securi-trax.com/?p=141

    posted in How-To read more
  • P
    peadar

    Ok, i'm gonna volunteer a walkthrough to integrating with pachube...it should be ready by the end of the day...

    Pachube are a bit weak on the documentation side, despite the absolutely fantastic product they have.

    i think the 'mango - pachube' marriage is one made in (ahem...geek) heaven :-)

    anyhoo....watch this space :-)

    ps. thanks again for the quick reply...

    posted in How-To read more
  • P
    peadar

    ah think i made a mistake

    its working now

    will come back later and explain...sorry

    posted in How-To read more
  • P
    peadar

    its the latest upgrade 1.10.0

    posted in How-To read more
  • P
    peadar

    hi, well done with the recent version of mango! this product just keeps improving day by day..

    i set up a basic pachube publisher and all seems work fine under the free account from pachube.
    my test scenario:
    i read two fields from a database and then use the pachube publisher to send to pachube.

    however i cant seem to stay under the rate limit! i understand the limitations and and am happy to comply, however, when i look at my upload stats on the pachube site, it says i'm publishing too many per minute.

    my question: how does one slow down the rate at which mango publishes to pachube?
    i've tried sending on "all updates" which seems to blast pachube with reems of data.
    my data changes about once every minute, my sql data source collects every 2 minutes.
    If i set to "changes only" it works ok until a data change which then blasts the pachube with up to 28 api requests in 7 seconds.

    i know i'm missing something, i just cant see what :-)
    please let me know if i've got something wrong...

    Peadar

    posted in How-To read more
  • P
    peadar

    hi you've probably worked this out by now, but if you install tomcat from the .exe instead of .zip, you can install as a service instead of in a window...

    http://apache.mirrors.esat.net/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.exe
    ...is where i got mine.

    dont install over current installation. plus dont forget to backup your mango in the root folder either if you decide to install the tomcat service.

    hope that helps

    posted in How-To read more