artworx
(Art Longoria)
August 26, 2015, 9:20pm
1
Hi, Does anyone have a suggest on how trigger a light only when a door sensor opens? Like a Fortrezz SSA2USR Siren Strobe Alarm Wireless Z-wave Red Lense, but only want a light not the siren. Any other ideas or alarms/lights that would flash, would greatly appreciate it. Thank you.
1 Like
DarcRanger
(Darc Ranger)
August 26, 2015, 9:29pm
2
/**
* Copyright 2015 SmartThings
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* The Flasher
*
* Author: bob
* Date: 2013-02-06
*/
definition(
name: "The Flasher",
namespace: "smartthings",
This file has been truncated. show original
This one of the apps that was created under the SmartThings gitHub repository. The Flasher app is also accessible in the IDE under the “Browse SmartApp Templates” link.
1 Like
get an aeon micro, use my device driver, which exposes the devices hardware flash mode as an alarm capability…
/* AEON specific micro driver 1.4
*
* Variation of the stock SmartThings "Dimmer-Switch" and twack's improved dimmer
* --auto re-configure after setting preferences
* --alarm indicator capability (using AEON hardware blink function)
*
*
* Includes:
* preferences tile for setting:
* reporting functions (parameter 80) [ 0:off, 1:hail, 2:report ] set to "Report" for fastest physical updates from the device
* control switch type (parameter 120) [ 0:momentary, 1:toggle, 2:three way] (2 isn't tested, not sure how its suppposed to work)
* preconfigured blinker modes [Blink, Flasher, Strobe]
*
* Mike Maxwell
* madmax98087@yahoo.com
* 2014-12-06
*
change log
1.1 2014-12-08
-added light state restore to prevent alarm smartapps from turning off the light if it was on when the stobe request was made.
This file has been truncated. show original
1 Like
artworx
(Art Longoria)
August 28, 2015, 8:48pm
4
Great thank you both, I will try and let you know what happens. Thank you
artworx
(Art Longoria)
August 28, 2015, 9:44pm
5
DarcRanger:
ble in th
@DarcRanger , I tried it and it worked but the siren still goes off. Can the siren be turned off?
DarcRanger
(Darc Ranger)
August 28, 2015, 11:58pm
6
You ,must have another app linking either the light or door sensor linked to the siren. The app you using does not use the siren.
Anyway to only make the lights flashed if the door was open for X seconds, say after 30 seconds?
r4nd0m
January 14, 2016, 2:19am
8
hm this looks good - the flasher - however I was looking to change the code to include a color selection - but it doesnt seem I am able to - would anyone be able to assist?
I was able to add the color selection by adding the following to the preferences
section("Choose light effects..."){
input "color", "enum", title: "Hue Color?", required: false, multiple:false, options: [
["Soft White":"Soft White - Default"],
["White":"White - Concentrate"],
["Daylight":"Daylight - Energize"],
["Warm White":"Warm White - Relax"],
"Red","Green","Blue","Yellow","Orange","Purple","Pink"]
input "lightLevel", "enum", title: "Light Level?", required: false, options: [[10:"10%"],[20:"20%"],[30:"30%"],[40:"40%"],[50:"50%"],[60:"60%"],[70:"70%"],[80:"80%"],[90:"90%"],[100:"100%"]]
}
but I cant figure out how to actually call it in the original code - anyone?
cheers
r4n
Opieos
(Bryan Blake)
March 18, 2016, 3:07pm
9
Anyone have thoughts or suggestions on having a light flash with a leak sensor trip. IN other words the sump pump doesn’t start and the great flood does the lights go blinky blinky
Thank you