kaleb08
(Kaleb08)
November 10, 2017, 1:18am
1
Question! Can anyone make simulated devices if so can some on maybe make a simulated smoke and carbon monoxide detector and a simulated alarm system please and thank you. Please feel free to post on this thread if you can do that.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
November 10, 2017, 1:41am
2
Simulated Smoke is already available in the Public SmartThings GitHub. (It can easily be modified to provide simulated CO, but search the Repo and it might exist in there too!
/**
* 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.
*
*/
metadata {
definition (name: "Simulated Smoke Alarm", namespace: "smartthings/testing", author: "SmartThings") {
capability "Smoke Detector"
capability "Sensor"
command "smoke"
command "test"
This file has been truncated. show original
kaleb08:
a simulated alarm system
What do you mean by “a simulated alarm system”? Which exact Capability are you trying to simulate? http://docs.smartthings.com/en/latest/capabilities-reference.html
kaleb08
(Kaleb08)
November 10, 2017, 4:17pm
3
Maybe something like a Disarmed, Armed Stay, And Armed Away kinda thing
kaleb08
(Kaleb08)
November 10, 2017, 4:19pm
4
Also how would I modify the simulated smoke to a simulated co detector
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
November 10, 2017, 8:03pm
5
You kinda have to figure that out for yourself; it’s not hard once you learn some SmartThings development basics.
There’s plenty of documentation and example code.
We’re not unpaid tutors here: I’m available for a consulting fee; just Private Message me.
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
November 10, 2017, 8:05pm
6
Did you search the SmartThings Community GitHub ?
If there isn’t one in there, then code probably doesn’t exist and you’ll have to write it yourself or commission a consultant to write it for you.