TJF1960 Posted January 9, 2012 Posted January 9, 2012 MstrD, I am very interested in your updates in this venture, as I am sure others will be too. Please keep us posted. Michel, Were you able to talk with Wayne at CAI Controls, if so, how did it go? Thanks, Tim
Michel Kohanim Posted January 10, 2012 Posted January 10, 2012 Hi Tim, Unfortunately I do not remember! If you have his contact information (and know him), please do be kind enough to do the introductions again. I am so very sorry. With kind regards, Michel
apostolakisl Posted January 10, 2012 Posted January 10, 2012 Hi Tim, Unfortunately I do not remember! If you have his contact information (and know him), please do be kind enough to do the introductions again. I am so very sorry. With kind regards, Michel Oh, yeah, I think I was supposed to do that. I will PM you. Lou
Teken Posted January 16, 2012 Posted January 16, 2012 I know this thread is a couple weeks old, but I'm in the process of integrating a one-wire network with my iSY-99. Mainly for temperature sensors. It's somewhat of a hack, but opens up a bunch of doors. I purchased a Linksys NSLU2. (These go on eBay for about $30) It's a small server with 2 USB ports and designed to place it on your network and then you add in a flash drive, or USB hard drive. There is a whole community that has modified these. Internally it runs a version Linux. More information here: http://www.nslu2-linux.org/ It's really small. Smaller than what a Walkman used to be (don't know what other size reference). There are directions on that site to load a modified Linux firmware. The update takes about 10 minutes max. I did the simpler of the mods (unslung). It retains all it's original functionality (becomes a network drive), but, you can access Linux as well. I'm not a Linux guy, but I was able to play around with it. There are all kinds of software modules already written. In particular to temperature sensors is a program called Digitemp. It can read and log temperatures, among other things. The process can be automated as well, and it can post a REST command back to the iSY-99. At the moment, I also have a script that goes out to google weather (or yahoo, I can't remember), grabs the current conditions by zip code, and then updates the current temperature to a varibale on the iSY-99. The one-wire can also get the internal temp, by zone, and then update variables as well. You can create a CGI program on the NSLU2, and have the iSY-99 start (poll), a request and have the NSLU2 REST a command back. It's also added audio (with a USB controller), which once I get it setup, will be controllable from the iSY-99, and tied to my whole house audio (also controllable via Network Resources). I'm planning to use pre-recorded messages, but I've also been able to use google translate to convert text to speech, store the MP3, and then play it back. It's going to allow the weather forecast to be read over the audio system. Also wake up calls for the kids. I've also thought about grabbing live data (sports scores, news headlines, etc.), and connecting in a scrolling LED sign in my basement bar area. I'm also going to implement a bluetooth proximity program, that, I hope, will be able to tell the iSy-99 when anyone in our family with an iphone arrives home. I'm thinking that ultimately, I'll let the iSy-99 be the brain, and let the NSLU2 be the muscle. Or Conductor / Band. Pick your analogy. This isn't exactly Plug and Play, but it does open up a world of doors, and it's only $30. It's technically, still a computer, but then again, so is a dedicated ethernet one-wire board. It's well worth it just to play around. I think between the 2 units, I can do everything I need to. Once I get some scripts finalized, I'll post a thread with them so other non-Linux people like me can use them. Hello All, For the record please do add me as a interested member and buyer. Second, to the poster above please do keep us all updated on your progress! I am extremely interested in this alternative solution which looks very promising. Teken . . .
Michel Kohanim Posted January 19, 2012 Posted January 19, 2012 Hello everyone! Just wanted to let you know that I had a pleasant call with Wayne at CAI yesterday. Unfortunately, the bottom line didn't change: 1. No plans from CAI to support publishing events to ISY (ISY has to keep querying the CAI board) 2. They will have a new board coming out soon which has more code space and therefore they might consider pushing events to ISY 3. Their target audience is mostly scientific institutions (much less focus in HA) So, at least for now, we cannot really do much since polling devices is not something I believe is the right solution. With kind regards, Michel
TJF1960 Posted January 19, 2012 Posted January 19, 2012 Hi Michel, Thank you very much for taking the time to look into it. Tim
io_guy Posted January 28, 2012 Posted January 28, 2012 Well I pulled the trigger today and bought a basic/cheap .NETMF board to play with. I'm going to tackle it in 3 steps: 1. one-wire with push support to ISY variables 2. IO with push support 3. Integrating RS-232 ports for variables device modules Let the fun begin.
TJF1960 Posted January 28, 2012 Posted January 28, 2012 Hello io_guy, So will step 3 will include things like DSC alarm panels etc., and will it be able to communicate with the cai webcontrol board to utilize their 1-wire and I/O as well or are you going a different route with the .NETMF board physically accepting the 1-wire devices and I/O connections? Thanks, Tim
io_guy Posted January 28, 2012 Posted January 28, 2012 Good questions. Right, step 3 is DSC, etc. It would be very easy to link it to a CAI. This would mean the NETMF would poll the CAI and REST the results to an ISY. Its advantage over WCLink would be no computer required. I could add support for this. I do plan on doing this natively as well (steps 1&2). This would allow real-time pushing of data changes, as oppose to the polling with CAI. Once this is up and running I'll be selling my CAI.
TJF1960 Posted January 28, 2012 Posted January 28, 2012 Would the NETMF link to CAI via ethernet? If so do you think 1 NETMF would/could handle 3 or more CAI's? Just trying to get an idea as I spent days retrofitting 1 of the CAI's into an existing application. I know its way early but do you have an idea of costs involved in implementing 1 NETMF?
io_guy Posted January 28, 2012 Posted January 28, 2012 There are a number of different devices available that utilize NETMF. They vary in speed, memory, and onboard IO. The unit I chose as a tester is about $70. This includes ethernet support and about 40 IO that can be setup as RS-232, DIO, Analog or one-wire. It's big limitation is (due to memory) a maximum of 4 open TCP sockets. It would also need some terminal strips, relays, etc connected to ease connections (depending on the final product config). I don't see an issue connecting 3 CAIs - that would only occupy a single socket. Yes, comm would be via ethernet. The biggest challenge would be making an interface that could be used by the masses. Coding something for my basement is easy, but making it scalable and dynamic for everyone's different configs can take a while. I'll have the unit in my hands in a couple weeks. Once I play with it for a week I'll have a better idea of the path forward.
autelis Posted February 7, 2012 Posted February 7, 2012 Hi everyone, just wanted to add some information that may be of interest. Please see the following post: Autelis Universal 2-Way Serial Interface for ISY NEW Feature: 1-Wire Temperature Support
MstrD Posted February 7, 2012 Posted February 7, 2012 Autelis that seems REALLY simple and straightfrorward. That should solve a lot of peoples issues. On a slightly related note, (see my post above about the NSLU2), I was able to connect my NSLU2 to my isy-99i. I had the NSLU2 already setup with a USB/one-wire adapter. I have two temp sensors connected. I created a CGI program (really simple), that polls the sensors, and then using a REST command updates variables on the isy-99i. At the moment, one sensor is the basement air temp. The other is the temp of the NSLU2 itself. When I have it in real use, it will be an outside sensor, and the inside temp, in multiple zones. At the moment, I also have the CGI program going out to accuweather, and getting the current weather conditions, wind, forecast, etc. The same REST process is updating an outside temp variable on the isy-99i. I then have the isy-99i sending a network resource command every 15 minutes to request the current temperatures. I could make the updates automatic on the NSLU, so that it always would send the temps, instead of being polled. It just depends on which unit controls the scheduling. It's easier to change the schedule on the isy-99i, but a fixed schedule could also be used on the NSLU2. So this morning it was showing 32F outside (accuweather), 66F in the basement (one-wire sensor), and 95F for the NSLU2 (one-wire sensor). Since it's now a variable, Ithey can also be included in any notifications. I'm going to start a different thread regarding the whole NSLU setup. Maybe it can help out someone else.
jca001 Posted February 13, 2012 Author Posted February 13, 2012 Check out the new forum group (CAI Web Control to ISY Integration) in the Third Party Products for the solution I came up with.
TJF1960 Posted May 19, 2012 Posted May 19, 2012 Well I pulled the trigger today and bought a basic/cheap .NETMF board to play with.I'm going to tackle it in 3 steps: 1. one-wire with push support to ISY variables 2. IO with push support 3. Integrating RS-232 ports for variables device modules Let the fun begin. io_guy, have you had time to integrate the NETMF with your DSC yet? Tim
io_guy Posted May 24, 2012 Posted May 24, 2012 io_guy, have you had time to integrate the NETMF with your DSC yet? Hi Tim, yes and no. I have a couple prototype boards from GHI Elecdtronics that I'm playing with. I've setup a system with 8 DI, 8 Relays, 2 One-Wire and Ethernet, all of which are working ok. I have it talking with the DSC but it still uses the Serial Server. End plan is to add a couple serial ports to the board as well. Right now my setup is very custom and not really usuable by the masses. GHI have a few new boards on the horizon with more horsepower/memory which will make things much easier (along with supporting NETMF 4.2). I'm in the process of putting together a 3D printer to create a nice custom enclosure too. I also have a 2 week old daughter, a deck project and a basement to finish which are occupying quite a bit of my time. So short answer is I'm a ways off before a public solution would be available. With the factors above and the fact I have a 24-7 HTPC running fine with DSCLink, this project is a little lower on my priority list.
MrTinker Posted May 14, 2013 Posted May 14, 2013 Thread resurrection! Did this discussion or io_guy's work go any further? Is there any reasonable 1-wire support/integration yet? I would love to add a number of temperature sensors for various areas of the house (attic, basement, garage, outside, etc) and using 1-wire would be handy.
io_guy Posted May 14, 2013 Posted May 14, 2013 I've put the NETMF idea on the shelf for now. With a Raspberry Pi costing $35, it does all I need and more. I run all my "Link" programs on it. For 1-wire I previously ran a Webcontrol board and WCLink. Just a few days ago I got rid of that and added a 1-wire master to my Pi. It has been working great. viewforum.php?f=95
Recommended Posts
Archived
This topic is now archived and is closed to further replies.