Author Topic: House down / up...  (Read 3944 times)

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
House down / up...
« on: August 13, 2012, 08:33:22 pm »
Hey,

I'm able to control my 'eib buttons' with the template doorbell.
I can finally switch on a light bulb through LinuxMCE. Cool.

I now want take it to the next level.
When i push 3x the button on my backdoor, i want to shutdown everything (lights, outlets...).
When i push the button 3x again, i want to powerup everything (lights, outlets...).

What do i use for this? A kind of 'respond to events' and select all switches?
Or should i use a kind of 'away' status?
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: House down / up...
« Reply #1 on: August 13, 2012, 08:59:58 pm »
atm I don't think something like that is working, i.e. counting the number of button presses. At least not easily.

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
Re: House down / up...
« Reply #2 on: August 14, 2012, 07:39:37 am »
Is there somewhere a way i can check the status of a certain 'light', and combine this?


For example i'm having the 'power outlet (light)' called "front door".
  • When front door = 1, and sensor becomes 1, all output go to 0
  • When front door = 0, and sensor becomes 1, all output go to 1


Or is it easier to work with the 'sleep'/'away' scenarios?
But i think it's the same problem, no?
  • When status = home, and sensor becomes 1, all output go to 0
  • When status = away, and sensor becomes 1, all output go to 1
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: House down / up...
« Reply #3 on: August 14, 2012, 07:50:32 am »
You can create an event handler for this. Create an event handler for the sensor, and add a criteria on the device status of the front door (or the house mode/status, if you prefer that route).

LinuxMCE should already have created an event for "Leave home" that turns off all lights. It should do this automatically, although I can't find that event in my installation.

Edit: There are events for this, but they were taken away from the event pages in the web-admin 10 months ago as they couldn't be changed anyway. I would still like to see them though...

br,
sambuca
« Last Edit: August 14, 2012, 08:20:52 am by sambuca »

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: House down / up...
« Reply #4 on: August 14, 2012, 03:55:14 pm »
I have a MCV Vera (primary Z-wave controller to LinuxMCE as secondary controller), and this is a relatively easy thing to do with that system (and can be very easily integrated as a primary controller to LinuxMCE's secondary controller, or vice versa, depending on what you want to do). Any similar "smart" Z-wave controller should be able to accomplish the same thing. What you would need would be a Wayne Dalton Wayne Dalton WDHA-12R - Wireless Gateway Module ($65 USD) and one or more Dalton KEP-IV - 372 Mhz Wireless Keypads ($40 USD). As for smart controllers, the most economical is the MCV Vera Lite ($179 USD). There's also a keychain fob that can talk to the system through the Wayne Dalton gateway. That's the easy way to do this sort of thing, without twisting LinuxMCE functions around to try and accomplish the same thing.

As for LinuxMCE doing it,... You'd want to use environmental or security settings to accomplish something similar,... But as Posde indicated, there's not really anything there for detected keypress combinations. I don't know if LinuxMCE can even respond to the Wayne Dalton gateway/keypad gear. The idea in LinuxMCE is for the environment to respond automatically to usage cases, like watching a movie in the living room in the evening (vs. daytime), setting away from home settings, Moving from one room to another, and having conditions follow you there, etc. I use the smart controller functions if the Vera for the kind of stuff that you're talking about.
« Last Edit: August 14, 2012, 03:58:37 pm by JaseP »
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).