625alex
(Alex, ActionTiles Control Panel)
January 12, 2018, 5:07pm
1230
You may want to look into Universal Device Type Translator to map the value of the switch to a presence sensor. In your case, present/not present would be more appropriate than on/off.
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…
1 Like