more G-Labs products

Author Topic: How to setup sensors  (Read 1525 times)

November 01, 2014, 09:37:14 PM
Read 1525 times

DutchHans

  • **
  • Information
  • Jr. Member
  • Posts: 39
Hello all,

I would like to know how to setup sensors.. In this example I have automated my garagedoor with a lowvoltage X10 Switch. But I need to "see" if the door is open or closed because the only trigger that a switch is given is the same for open and close. So I have to add a RF magnet Switch DS18E to the door to see if it is open or closed. But I cant figure out how to set it up. I cant find an example file either..

Every help is appreciated.

Regards and cheers,
Hans

November 02, 2014, 04:54:14 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Those switches are security devices rather than standard X10 modules.  I have several around, but I don't have them set up.  First, you have to use a controller that can see X10 security devices.  CM15A does work, but I don't know what other options work or are HG compatible.  As far as using these devices in HG, I don't know if they are compatible right now.  If you have the correct hardware, then hopefully someone with security devices would be able to help out.

Be aware that what you are planning on installing is a door/window sensor that will basically tell you if the door is in a specific position.  It will not tell you if it's open/closed/in transit, it will tell you if it is in a specific position (e.g., closed).  If you want to know more, you probably could do this with a second sensor in the opposite position (open).  If both were installed, you would then know if it's in transit/stuck too.

November 02, 2014, 06:49:20 PM
Reply #2

DutchHans

  • **
  • Information
  • Jr. Member
  • Posts: 39
Hi Bkenobi,
Thank you for replying.. I know that the sensor is a securitysensor and I found out that Homegenie finds it and transmits the values.. so that works.. my idea was to check if this sensor was closed, and if not.. that it triggers the x10 module to close the door so that the sensor returns "closed".. I don't know really how to set that up via the wizard.. then there is of course an exception..when I'm working in the garden the garagedoor should not close automatically...I know its a way of thinking, but I'm completely new to Homegenie and not familiar with C programming (but when I read the code I can understand it and make it work for myself mostly...so all code snippets are welcome.. :-)

Then another question.. I added a sensor to test it...called it test.. tried a few things with it...then deleted the program...a few days later I tried a few things with the same sensor .. named it "doorsensor"..then with capture I got the values...from both sensors.. the one I thought I had deleted and the "doorsensor"...how can I really delete a sensor?..
Like I said, im a beginner with Homegenie would like to learn how things work and how I can let it work the way I want it...