• M
    mhradom

    I stumbled on the CAI WebControl I/O board on another forum. it is an exceptional value at $34.00. 8 TTL out, 8 digital in, 3 analog in, 1-wire temperature (non-parasite power and very voltage sensitive), and humidity sensor input, microprocessor with PLC or Boolean 4000 line of code possible. Order on Amazon.com

    Hooks up to your LAN via standard TCP/IP. I can access it internally on any computer on the LAN or remotely off site with appropriate router settings.

    I have it interfaced with Mango retrieving data with HTTP Retreiver data source. Took me awhile of googling to find the xml. It is not documented for some reason in the manual.

    http://www.redhillnetworks.com/products/webcontrol/index.html

    Latest firmware also reportedly handles X-10 output by using two of the DO and an RF transmitter (310 mhz in US). I am very excited about this since Mango never did implement X-10. I have not tried this yet.

    Here is a screen shot of data source retreiving temperature sensor 1 data:

    posted in How-To read more
  • M
    mhradom

    There was some discussion some time ago about using Labjack with Mango (someone wanted to monitor and control a remote cabin). At that time it was not possible due propriatary protocol. Labjack is now Modbus capable and has been tested ( if briefly) with Mango.

    See here: http://labjack.com/support/ljsocket about halfway down the page.

    This may open up a lot more possibilites for some folks.

    Mike

    posted in Hardware read more
  • M
    mhradom

    I thought I had seen when I first started with Mango there was some discussion of implementing X-10 for Home (or other) Automation. Has this died or is there still a possibility? X-10 Power Line Carrier is a great way to avoid geeting involved with mains voltage when desiring to control various AC devices. It's pretty much plug and play and widely available from many suppliers.

    posted in Wishlist read more
  • M
    mhradom

    So, Mango is working great for me and I keep trying to do new things. I currently have the system e-mail me when certain parameters go out of wack. So far so good.

    Obviously I am not always on e-mail and would prefer a SMS text message. I tried to have the Mango email "myphonenumber@messaging.sprintpcs.com" through my email account at XXXXXX@cox.net. I receive an error back (I assume from Cox) that no relaying is allowed.

    When I am personally logged in to Cox I can send the email to myphonenumber@messaging.sprintpcs.com with no problem.

    Has anyone figured out how to have Mango send you a SMS text message? Do all email providers prevent relaying?

    Thanks,

    Mike

    posted in User help read more
  • M
    mhradom

    I have 1-wire DS2450 A/D numerical data available I would like to convert to binary for simple on/off notification. Can someone please give me some direction as to the proper script to do this for a metadata point?

    For example:

    If the input is <= 0.5 then output 0 binary
    If the input is >0.5 then output 1 binary

    I am not familiar with JS programming and syntax (last programming I did was 30 years ago in FORTRAN) and have tried several things with no success.

    Thanks in advance!

    posted in User help read more
  • M
    mhradom

    I wanted to try to use the DS2450 A/D converter to interface with Mango to monitor field signals from HVAC equipment. I have only several temp sensors on my one wire so far. I use the standard serial adapter to my Win XP PC as the bus host.

    I built a circuit to interface with and isolate from the field voltage which uses an LTV-814 (one channel) up to LTV-844 (four channel) AC/DC input opto-isolator. The output transistor of the LTV chip drives the input of the DS2450. I am using 5VDC (currently USB powered) to drive the output side of the LTV chip.

    Initially it did not work. However after plowing through the DS2450 datasheet, I learned the default setting for the DS2450 for input voltage is 2.55 volts maximum on the inputs. Since I was using 5V it did not know what to do and returned a big fat 0.0 to Mango (and One Wire Viewer). I then used a voltage divider network to bring the input down to a level that the chip would recognize and report in it's default state.

    An optional input value is 5.10V, but there is currently no way in Mango to select the input voltage or the resolution (default 8 bits) of the DS2450.

    The default settings for memory map page 1, Control/Status starting at 08h is:
    (hex) 08 8C 08 8C 08 8C 08 8C

    If it could be modified to:
    (hex) 08 8D 08 8D 08 8D 08 8D this would give 5.10V input enabled

    The settings are all volatile and revert to default when the chip is repowered so they need to come from the host software every time the one wire bus is powered or reset. I'm not a programmer so I leave that to Matthew as a possible improvement !

    Hope this helps someone.....at least I got to relearn hex to figure this out. Short lesson is if you are over the input voltage you will get 0.0 output. Also, when you really are at zero input voltage the chip output floats at 0.03 or so on all channels. I have two DS2450 and they both do the same thing.

    Next job is to get it off my desk and into the field.

    posted in Hardware read more
  • M
    mhradom

    I have multiple DS18S20 temperature sensors running with no problems. However, I have found an issue with the DS18B20 temperature sensor. Whenever I restart Mango The reading of the DS18B20 spikes to 85 deg C. This happans after every restart (loading Tomcat from startup). Not after a manual rescan of the one wire network. This really screws up the resolution of the y-axis on my charts.

    Data from a restart last night:
    23.0 °C Dec 03 23:06
    23.0 °C Dec 03 23:05
    23.0 °C Dec 03 23:04
    23.0 °C Dec 03 23:03
    85.0 °C Dec 03 23:02
    23.0 °C Dec 03 23:01
    85.0 °C Dec 03 23:00
    23.1 °C Dec 03 22:51
    23.1 °C Dec 03 22:50
    23.1 °C Dec 03 22:49
    23.1 °C Dec 03 22:48
    23.1 °C Dec 03 22:47

    Anyone else seen this or have any ideas?

    Thanks,

    Mike

    posted in Mango feedback read more
  • M
    mhradom

    I have successfully integrated TED, The Energy detective, into Mango. I have been using TED for over a year to track energy data in an effort to reduce electrical consumption and cost. The consumption has been reduced by over 15% but the cost has stayed the same since my utility keeps raising rates. Overall I have avoided the increased expenditure by reducing consumption.

    TED will output an XML file (not well known or documented) when commanded assuming you have the USB data option enabled. TEDService must be running but their "Footprints" software does not have to be to get the XML file. You can use the command "dashboarddata" to get the XML output.

    On the Mango side I used the HTTP Retreiver as a data source. In the URL I used "localhost:8085/dashboarddata" (TED default port is 9090). In my case TED is on the same computer as Mango so I used localhost. You could use any computer on your LAN as long as your firewall setting are correct and use that computers static IP. Then in the Value RegEx field I used <DlrMtd>(.*?)</DlrMtd> to parse the XML file for specific data. In this example this returns the value for Dollars Spent Month-To-Date.

    See my public page at http://mikeshouse.homedns.org

    The 1-wire temp sensors are sitting on my desk so all the data is the same. I need to get around to running the Cat5 cable to the field devices.

    posted in Stories read more
  • M
    mhradom

    Can the DS2406 switch be used as an input to Mango? I see I can set the output binary value. My DS2406 is found by Mango but when I close contacts in the field, the state does not change in Mango. Dallas One Wire Viewer does see the field contact closure. For example, I want to sense air flow paddle switches and current switches such as CR Magnetics CR9321.

    If not, can anyone suggest another way to do this with another kind of 1-wire input device?

    Thanks for your help in advance,

    Mike

    posted in User help read more
  • M
    mhradom

    Thanks for the great information. I'm going to have to get around to trying this on my 512 Pi. Right now I have it streaming 1080 video from my NAS with no issues at all using Raspbmc. Some folks with the 256 version have issues streaming so you may be correct with your assessment of memory and performance of Mango. Also as you pointed out, voltage supply to the Pi is critical to good performance. Many people without meters are astonished to see their "5V supply" is running much less, especially under load.

    I am amazed you are doing all this in an apartment! Good job.

    I have the Pi case from Sparkfun in the US. It has the opening for the GPIO pins and is a good cheap case. I must be available on your side of the pond.

    Too many projects and ideas floating around in my head and garage...........

    Mike

    posted in Mango Automation Installation read more
  • M
    mhradom

    I've been thinking of doing a minimal Mango installation on a raspi as well. If it works I can shut down my 24/7desktop and save some electricity.

    What OS version are you using? Is it all running off the SD card? Please describe your setup a little more......please!

    The Raspi is an amazing little device for 35 bucks. Currently using one as a media center with Raspbmc and it's working pretty well.

    Thanks,

    Mike

    posted in Mango Automation Installation read more
  • M
    mhradom

    Can you clarify your system a little bit more? The arduino is running Window 7 or your arduino is communicating to a Windows 7 PC?

    I have a PC "on" 24/7 and would like to reduce my electrical footprint drastically. I now have a wireless printer, so there is no need to have my PC on other than hosting Mango for data collection of various systems. So I've been looking at other options such as Foxconn Atom D425 like this :

    http://www.amazon.com/Foxconn-1-8GHz-Booksize-Barebone-NT435H-0H0W-B-A-NA/dp/B005F0MDNW

    I have always benn interested in the arduino, so if that can be a solution, I like that.

    Or, if any one is running (or has an opinion) Mango on a booksize PC like above, I would be interested in your comments as well.

    thanks,

    Mike

    posted in Stories read more
  • M
    mhradom

    There are many good examples in this forum. Look under the"stories"or "how to" sections. Your questions is very generic and would be best answered by spending some time reading. Pretty much everything you need to know is here.

    posted in User help read more
  • M
    mhradom

    I stumbled on the CAI WebControl I/O board on another forum. it is an exceptional value at $34.00. 8 TTL out, 8 digital in, 3 analog in, 1-wire temperature (non-parasite power and very voltage sensitive), and humidity sensor input, microprocessor with PLC or Boolean 4000 line of code possible. Order on Amazon.com

    Hooks up to your LAN via standard TCP/IP. I can access it internally on any computer on the LAN or remotely off site with appropriate router settings.

    I have it interfaced with Mango retrieving data with HTTP Retreiver data source. Took me awhile of googling to find the xml. It is not documented for some reason in the manual.

    http://www.redhillnetworks.com/products/webcontrol/index.html

    Latest firmware also reportedly handles X-10 output by using two of the DO and an RF transmitter (310 mhz in US). I am very excited about this since Mango never did implement X-10. I have not tried this yet.

    Here is a screen shot of data source retreiving temperature sensor 1 data:

    Attachment: download link

    posted in How-To read more