We have moved at community.getvera.com

Author Topic: 1-wire Support  (Read 10741 times)

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
1-wire Support
« on: March 07, 2009, 08:12:19 pm »
Aaron have you thought about adding 1-wire support to Vera? I ran across this site that has done on the Asus router: http://www.dunkkis.org/
My ZWave Network: Too friggin big to list.....

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: 1-wire Support
« Reply #1 on: June 28, 2009, 10:34:46 pm »
Just an FYI, I know there's a LinuxMCE interface for Dallas 1-wire, which could use the other USB.  It's not wireless.  But for the geek who wants everything, you can get stuff like sensors, potentiometers, etc., for around $3 that run on a single pair.  I've debated about adding this because if you're going to want to use this for alarm sensors, and you already have long runs of wires to with dozens of sensors, you want a way to use the existing wiring without having to spend the money for a battery operated sensor at every window and door.

While thinking on how few sensors available for z-wave, I ran into 1-Wire, yet again, just to realize how useful and attractive it looks in LUA capabilities context. Temperature, humidity, whatever-you-want sensors easely integrated with Vera... a dream!

So, yes, it's wired, which usually makes me think "WTH?"... But if RS232 over Ethernet is said to be doable, it all comes to local in-room wiring, and plugging it into another router, which would map its RS232 ports to Vera over WiFi.

Now, question to MCV - what are odds 1-Wire with some kind of over-wifi connectivity will be supported in Luup-ed Vera?

UPDATE: this can make things quite easy, a bit on expensive side though...
http://www.embeddeddatasystems.com/HA7Net--Ethernet-1-Wire-Host-Adapter_p_39-22.html
« Last Edit: June 28, 2009, 11:43:22 pm by 325xi »

Offline micasaverde

  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +15/-1
Re: 1-wire Support
« Reply #2 on: June 29, 2009, 11:25:32 pm »
As far as a remote serial port, in this thread: http://forum.micasaverde.com/index.php?topic=1340.0  I posted the source code for serial proxy--it's actually an app from SourceForge we modified.  The cheapest wireless 1-wire interface I can imagine building is to get an access point that has USB and runs OpenWRT (probably <$20 on ebay), add a cheap usb->rs232 cable and an rs232->1-wire device (which afaik are really cheap).

I like 1-wire because there are so many sensors and they're really affordable.  I once used the 1-wire I-Button's (little ID devices you can put on a key ring).  I think the buttons were only a couple dollars, and the reader wasn't much more.  And then you had a really cheap secure entry system.  To implement a low-voltage dimmable light, I used a 1-wire potentiometer that cost something like $3.  The temperature sensors are around the same price.

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: 1-wire Support
« Reply #3 on: June 29, 2009, 11:54:58 pm »
Great news!

The cheapest wireless 1-wire interface I can imagine building is to get an access point that has USB and runs OpenWRT (probably <$20 on ebay), add a cheap usb->rs232 cable and an rs232->1-wire device (which afaik are really cheap).

For those uninitiated in building OpenWRT optware - is there any guide or a resource to ease the learning curve?
If there was an easy way to take that $20 access point and turn it into RS232 and Ethernet proxy/bridge, it would open quite enormous possibilities.

Offline wseverino

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 854
  • Karma: +0/-0
  • Da Man, Da Myth, Da Legend - in his own mind!
Re: 1-wire Support
« Reply #4 on: June 30, 2009, 12:38:37 am »
As far as a remote serial port, in this thread: http://forum.micasaverde.com/index.php?topic=1340.0  I posted the source code for serial proxy--it's actually an app from SourceForge we modified.  The cheapest wireless 1-wire interface I can imagine building is to get an access point that has USB and runs OpenWRT (probably <$20 on ebay), add a cheap usb->rs232 cable and an rs232->1-wire device (which afaik are really cheap).

I like 1-wire because there are so many sensors and they're really affordable.  I once used the 1-wire I-Button's (little ID devices you can put on a key ring).  I think the buttons were only a couple dollars, and the reader wasn't much more.  And then you had a really cheap secure entry system.  To implement a low-voltage dimmable light, I used a 1-wire potentiometer that cost something like $3.  The temperature sensors are around the same price.


This is great I have a couple of the n DS9490R lying around with a bunch of DS18S20 temp sensors. Time to start playing around a bit with LUA. I saw sourceforge also had a linux 1-wire driver today...
My ZWave Network: Too friggin big to list.....

Offline micasaverde

  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +15/-1
Re: 1-wire Support
« Reply #5 on: June 30, 2009, 10:40:16 am »
The 1-wire Luup device will have the same parent/child relationship as the Somfy blind controller walkthrough I did which is a step-by-step how-to for a Luup RS232 plugin device: http://wiki.micasaverde.com/index.php/Luup_Somfy_Walkthrough

Offline 325xi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1101
  • Karma: +0/-0
  • V1, V2, still V2...
Re: 1-wire Support
« Reply #6 on: June 30, 2009, 07:11:56 pm »
For those uninitiated in building OpenWRT optware - is there any guide or a resource to ease the learning curve?

Found very educating blog post, not directly related, but having many tips of working with OpenWrt, and containing some great ideas useful for integration with Kill-A-Watt...

http://lizard43.blogspot.com/2009/03/tweet-we-using-asus-wl-520gu-and-xbee.html


Still would appreciate any info/tips from MCV et al on building serial proxy for openwrt platform...
« Last Edit: June 30, 2009, 07:13:44 pm by 325xi »

Offline denix

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1088
  • Karma: +1/-0
Re: 1-wire Support
« Reply #7 on: July 02, 2009, 04:21:42 am »
Found very educating blog post, not directly related, but having many tips of working with OpenWrt, and containing some great ideas useful for integration with Kill-A-Watt...
http://lizard43.blogspot.com/2009/03/tweet-we-using-asus-wl-520gu-and-xbee.html

Uh-oh, I started reading the post above, clicking links there and just noticed it's morning already...  ::)
Veras (1, 2, 3, Lite, Plus), lots of different Z-Wave modules, Luup plugins and theater/security integration.