Where can I find the 1-Wire pc sdk or serial protocol?

johnnynine

Active Member
It has been requested that I add a one wire driver to my home automation engine. Can someone please point me to where I can find information on the physical interface, software sdk and or protocol. Also is there any sample code written in Microsoft .Net available?

Thanks,
Johnny
 
Another way to gain access to 1-wire is to create a xAP interface. xAP supports many gadgets including 1-wire devices.
http://mcssprinklers.com/xapXap.htm
http://www.xapautomation.org
.NET framework for xAP

Edward Pearson's xAP site

Once your HA app supports xAP it inherits the ability to support a broad range of devices. I'm considering to go this route after I complete my M1 driver for Premise.

Another possibility is to use OWFS ... but then you'll need to access a Linux-based device (PC, NSLU2, Linksys WRT54G router) equipped with this service.

Good luck! I'll be picking your brains in the near future! ;)
 
Another way to gain access to 1-wire is to create a xAP interface. xAP supports many gadgets including 1-wire devices.
http://mcssprinklers.com/xapXap.htm
http://www.xapautomation.org
.NET framework for xAP

Edward Pearson's xAP site

Once your HA app supports xAP it inherits the ability to support a broad range of devices. I'm considering to go this route after I complete my M1 driver for Premise.

Another possibility is to use OWFS ... but then you'll need to access a Linux-based device (PC, NSLU2, Linksys WRT54G router) equipped with this service.

Good luck! I'll be picking your brains in the near future! :(

Were you able to download the .Net2.0 SDK from Edward Pearson's xAP site? It looks like he took it down for now.
 
Yes! I've put it here.

I shelved my plans to write a XAP Driver for Premise. I found there's a fair bit of architectural work involved to ensure there's a good fit between XAP's schemas and the target Home Automation application. A bit more effort than I'm willing to invest (at this time).

Be sure to register with http://tech.groups.yahoo.com/group/xAP_developer/ ... Kevin Hawkins was very helpful in answering my questions and setting me in the right direction. When I have more time I'll tackle this project again.
 
Yes! I've put it here.

I shelved my plans to write a XAP Driver for Premise. I found there's a fair bit of architectural work involved to ensure there's a good fit between XAP's schemas and the target Home Automation application. A bit more effort than I'm willing to invest (at this time).

Be sure to register with http://tech.groups.yahoo.com/group/xAP_developer/ ... Kevin Hawkins was very helpful in answering my questions and setting me in the right direction. When I have more time I'll tackle this project again.

Thanks!

The One-Wire support is behind adding a configuration tool, but I I'm just looking into my options.

Off topic: Do you have any screen shots of the premise configuration? I already have in mind how I want the configuration tool to work, but I'm curious what you like about premise's configuration.

Thanks,
Johnny
 
I can post a few screenscrapes but your best bet is to look at one of the Video Tutorials here. The tutorials are recorded WebEx sessions and you can just sit back and watch the moderator drive the configuration tool (Premise Builder). I suggest you look at "Introductory_Programming" and fast-forward past the PowerPoint slides to time-mark 11:15.

Builder looks like it was inspired by the tool that was probably used to create Premise, Visual Studio. Lots of dockable windows showing treeviews, properties, etc all orbiting a central "workspace". It is easy to imagine that if Premise were still alive, Builder would look a lot like VS 2008.

Builder lets you assemble all of the objects contained in a house, bind them to drivers, add programming logic, test and debug the logic, backup all or part of the configuration. It provides several tools to help debug problems ... many are familiar to anyone who uses VS or some other IDE:

Watch Window - watch the state of an object during code execution.
Debugger - set breakpoints.
Code Completion - so you don't have to memorize an object's methods and properties.
Port Spy - see what's being transmitted/received on a port.
Transaction Viewer - watch the execution sequence and an object's properties while your code runs.

Get half of this into the config tool for Automation Engine and you'll have a winner!
 
Great thanks! I took a look... that's a very gui intensive configuration tool!

There are definitely some similarities behind the scenes in Automation Engine and what is planned, but they have their differences too. I don't see Automation Engine's configuration tool being nearly as complicated (and I don't mean complicated in a negative way). However for those advanced user's, the scripting language can be used to do most anything. Automation Engine is also developed under Visual Studio, but I worry that that type of interface could be a little intimidating to non-programmers.

Thanks for the info!!!

Johnny
 
Back
Top