• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. TomW

    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
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    TomW

    @TomW

    0
    Reputation
    679
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    TomW Unfollow Follow

    Latest posts made by TomW

    • RE: How to input data from a GPS nmea-0183

      @jkonoth said:

      Thnank you very much for the prompt reply.Would be extremely greateful if you could provide specific directions to the online documentation
      Regards and Thanks Jkonoth

      I think by "online documentation" they mean the help in Mango you can get by clicking the "?" in the config pages?

      I never saw or found an online (spelled on the internet) set of documents.

      Just my experience and I asked several times for documentation and got the same response.

      Good luck with it.

      Tom

      posted in How-To
      T
      TomW
    • RE: Regex confusion, is there a tutorial?

      I think I am done with this app. No obvious documentation and not user friendly / intuitive enough for me. It has potential but too steep a learning curve for my hobby level interest.

      I tried. Back to crond scripts, perl,sed, awk and gnuplot, I guess.

      Thanks anyway.

      Tom

      posted in Hardware
      T
      TomW
    • RE: Regex confusion, is there a tutorial?

      OK, after I posted this the bit in the help pop up made sense. Sort of. Still not sure how to implement it, however.

      In my case there is nothing before the value I want and "usually" a space followed by an "F" unless it is humidity data then it is a value followed by a space and a "%".

      Thanks.

      Tom

      edited for typos / spelling

      posted in Hardware
      T
      TomW
    • Regex confusion, is there a tutorial?

      Folks;

      I am trying to use "http retriever" to gather data from some CAI Webcontrol boards I have scattered around the ranch monitoring Humidity,temperature, driving my smallish solar tracker, running my chicken coop lights and several other jobs. I see folks mention "it is in the documentation" in several unrelated threads but, for the life of me, I cannot find any documentation other than videos which don't work for me. :?:

      I have been logging to flat files and graphing with gnuplot. I thought Mango might be a way to consolidate a pile of scripts and cron jobs but at the rate I am not getting it I probably will toss in the towel. So far I hope to get it working so others can follow along and enhance control and monitoring of their RE systems so even the uninitiated can make sense of it. Luckily it is winter and my task list is light with no outdoor work on the ranch much so I thought I would tackle Mango when it got mentioned over on Midnite Solars' forum.

      Trying to migrate some of this stuff to Mango.

      A typical method to grab the values is via a cgi script on the CAI boards:

      
      
      wget -q -O- http://192.168.2.223/gett1.cgi|cat|awk '{ print $1'}
      
      
      

      This gets me just the number ($1) but the cgi returns a line like this: 90.5 F . This value can be from XXX.X to -XX.x depending on the temperature

      Just how do I translate these scripts to work with the http retriever? Or gather the data via a script and feed it to Mango? I have tried a bunch of things but none of it actually gets me any numeric values.

      Currently the regex is "(^\d\d.\d)" but it gives nothing.

      The value is always the first line and the first string in the page the cgi returns.

      In particular, I have no clue what this means in the help pop up?

      This is the text to parse with my value of 1234 embedded in the middle,

      If the desired value is the "1234", a RegEx pattern that works may be:

      my value of (.*?) embedded

      Do I need to include "my value of" in the regex?

      Frankly, some text based how to documents and examples would be nice but all I seem to find is videos which don't help me so much like being able to read it? I am fair with awk, sed and the like but never used regex the way Mango seems to.

      A thoroughly confused newbie running out of ideas.Maybe I am trying to kill a fly with a 12 gauge shotgun using Mango for my application?

      Tom

      posted in Hardware
      T
      TomW
    • RE: Regex confusion, is there a tutorial?

      Folks;

      I am trying to use "http retriever" to gather data from some CAI Webcontrol boards I have scattered around the ranch monitoring Humidity,temperature, driving my smallish solar tracker, running my chicken coop lights and several other jobs. I see folks mention "it is in the documentation" in several unrelated threads but, for the life of me, I cannot find any documentation other than videos which don't work for me. :?:

      I have been logging to flat files and graphing with gnuplot. I thought Mango might be a way to consolidate a pile of scripts and cron jobs but at the rate I am not getting it I probably will toss in the towel. So far I hope to get it working so others can follow along and enhance control and monitoring of their RE systems so even the uninitiated can make sense of it. Luckily it is winter and my task list is light with no outdoor work on the ranch much so I thought I would tackle Mango when it got mentioned over on Midnite Solars' forum.

      Trying to migrate some of this stuff to Mango.

      A typical method to grab the values is via a cgi script on the CAI boards:

      
      
      wget -q -O- http://192.168.2.223/gett1.cgi|cat|awk '{ print $1'}
      
      
      

      This gets me just the number ($1) but the cgi returns a line like this: 90.5 F . This value can be from XXX.X to -XX.x depending on the temperature

      Just how do I translate these scripts to work with the http retriever? Or gather the data via a script and feed it to Mango? I have tried a bunch of things but none of it actually gets me any numeric values.

      Currently the regex is "(^\d\d.\d)" but it gives nothing.

      The value is always the first line and the first string in the page the cgi returns.

      In particular, I have no clue what this means in the help pop up?

      This is the text to parse with my value of 1234 embedded in the middle,

      If the desired value is the "1234", a RegEx pattern that works may be:

      my value of (.*?) embedded

      Do I need to include "my value of" in the regex?

      Frankly, some text based how to documents and examples would be nice but all I seem to find is videos which don't help me so much like being able to read it? I am fair with awk, sed and the like but never used regex the way Mango seems to.

      A thoroughly confused newbie running out of ideas.Maybe I am trying to kill a fly with a 12 gauge shotgun using Mango for my application?

      Tom

      posted in Hardware
      T
      TomW
    • RE: Help File Errors ***SOLVED!!***

      OK switching to the mango directory and starting seems to have cured it. Will edit the ma-start.sh later.

      Thanks.

      Tom

      posted in User help
      T
      TomW
    • Help File Errors ***SOLVED!!***

      I am trying to import data from a smallish cluster of CAI Webcontrol boards. I can get this data via a wget script url an url to a cgi script on the CAI boards. So I downloaded the newest HTTP module and stuck the file in the web/modules directory. Perhaps I don't need this module to use a local script to gather numeric data via wget?

      This seems to have broken the "help" icons? I get this error:

      
          Document file not found: web/WEB-INF/dox/welcomeToMango.htm  
      
      

      I see lots of files in /opt/mango/web/WEB-INF/, including "welcomeToMango.htm" so I am not sure what has happened or why?

      They seemed to work before I added the HTTP module? I removed the http directory thinking it was the problem but after a restart still does not work.

      Any ideas on this?

      Thanks.

      Tom

      posted in User help
      T
      TomW
    • RE: Help File Errors ***SOLVED!!***

      I am trying to import data from a smallish cluster of CAI Webcontrol boards. I can get this data via a wget script url an url to a cgi script on the CAI boards. So I downloaded the newest HTTP module and stuck the file in the web/modules directory. Perhaps I don't need this module to use a local script to gather numeric data via wget?

      This seems to have broken the "help" icons? I get this error:

      
          Document file not found: web/WEB-INF/dox/welcomeToMango.htm  
      
      

      I see lots of files in /opt/mango/web/WEB-INF/, including "welcomeToMango.htm" so I am not sure what has happened or why?

      They seemed to work before I added the HTTP module? I removed the http directory thinking it was the problem but after a restart still does not work.

      Any ideas on this?

      Thanks.

      Tom

      posted in User help
      T
      TomW
    • RE: Working on some Mango Pi

      Steve;

      I have been looking at those videos you linked.

      They are helping me sort it out. I am trying to import data from a smallish cluster of CAI Webcontrol boards. I can get this data via a wget script and an url to a cgi script on the CAI boards. So I downloaded the newest HTTP module and stuck the file in the web/modules directory. Perhaps I don't need this module to use a local script to gather numeric data via wget?

      This seems to have broken the "help" icons? I get this error:

      
      
      Document file not found: web/WEB-INF/dox/welcomeToMango.htm
      
      
      

      I see lots of files in /opt/mango/web/WEB-INF/, including "welcomeToMango.htm" so I am not sure what has happened or why?

      They seemed to work before I added the HTTP module? I removed the http directory thinking it was the problem but after a restart still does not work.

      Any ideas on this?

      Thanks.

      Tom

      P.S.

      This problem was solved in this thread:

      http://forum.infiniteautomation.com/forum/posts/list/1389.page

      Tom

      posted in Mango Automation Installation
      T
      TomW
    • RE: Working on some Mango Pi

      Well, I got it going, thanks to stephendv via a thread on the Midnite Solar forum where we were discussing this.

      It seems it was mostly it needed jdk1.8.0 from Oracle. Using A fresh install of latest Raspbian "Wheezy" on a gen 2 Pi with 512 RAM.

      Now on to figuring out the interface. I haven't found a tutorial for getting started with the interface. Got it logging volts amps and watts to the battery while I get up to speed on using Mango.

      My logged values are generally XX.XX or XX.X but I get values in the data like 26.200000000000003? Any simple fix for how many digits past the . to use?

      Just an update in case others are following the progress.

      Tom

      posted in Mango Automation Installation
      T
      TomW