eibyer
September 15, 2016, 12:41am
2
See if this may be of use to you. You can make a virtual switch that can be tied to your open/close sensor mimic a garage door. I’m not a programmer but I think I get what you’re trying to accomplish
This has got to be the sickest DTH ever…
The uDTH
Ever wished you could turn on a presence sensor with a switch?, or maybe take a lock command and send a motion event?
Basically this bad boy accepts these commands:
on
off
open
close
lock
unlock
and can turn them into these attribute states:
open
closed
present
not present
active
inactive
The following capabilities are presented on the command side:
switch
door control
garage door control
lock
The following devices are presented on the attribute side:
Contact
Motion
Presence
Door
Acceleration
Illuminance
Smoke
Water
Sound
You wire up an instance of this device to two separate apps, and off you go.
Add to your repo, and select the device MikeMaxwell : uDTH
the repo is
owner: MikeMaxwell
name: dth
[image]
[image]
[image…