Please login or register.

Login with username, password and session length

Author Topic: Integrating AHP, 1 wire sensors, Perl and Wserver  (Read 7249 times)

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Integrating AHP, 1 wire sensors, Perl and Wserver
« on: February 26, 2007, 10:48:40 AM »

I have successfully blended Hobby Boards 1 wire sensors, Wserver weather program, the X10 Active home pro CM15A USB X10 controller and Perl.
Using the X10 AHP Software developers kit and writing Perl programs, I can control the X10 CM15A USB controller and all my X10 modules based on sensors on my 1 wire network.

Hobby Boards
http://www.hobby-boards.com/catalog/index.php

Arne's Wserver program writes a separate .txt data file to hard disk on every sensor that is detected on the 1-wire network.
http://www.henriksens.net/1-wire/

These Tab formatted .txt data files can be parsed easily, I do it with Perl.

Once the data is parsed you can make decisions and do things in X10 using the X10 SDK.
----------------------------------------
For example:
The crawl space under my house has a Dehumidifier installed to remove excess moisture. Previously, I just let the Dehumidifier run on it's own and make decisions of when to turn on and off. This was ok but not optimum.

I just replace the 3 prong power receptacle that the Dehumidifier plugs into with a X10 appliance module.

I then installed a Hobby Boards 1 wire Humidity/Temp sensor under my house.

Wserver reads the humidity sensor and then appends a new humidity reading to a data file for this sensor every 15 minutes.

I parse the last reading from this data file every 15 minutes.

My Perl script makes a decision to turn on or off an X10 appliance module.
------------------------------------------------------

So far, it is working great.
Now I can dream up new things to control using the Hobby Boards sensors on my one wire network and the SDK.
Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

Brian H

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 305
  • Posts: 13295
Re: Integrating AHP, 1 wire sensors, Perl and Wserver
« Reply #1 on: February 26, 2007, 12:23:39 PM »

Thank you for all the fine data and work to get it to work.
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: Integrating AHP, 1 wire sensors, Perl and Wserver
« Reply #2 on: February 26, 2007, 04:15:58 PM »

I'll be doing some documentaion on my web site.

I post a link when that is ready.
Logged
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.