So following this post as others have here but trying to figure out how to change the driver to show such as vseven has done for smartthings. Wondering if anyone has had any luck
I’m sure this has been done before but I know I’ve seen lots of discussions on the best way to integrate existing smoke/CO sensors into SmartThings. After lots of research I did what I thought was the best way for my situation and figured I’d write...
Reading time: 20 mins 🕑
Likes: 54 ❤
I tried creating a new driver using these codes, but failed as I am not a programmer, and really have no idea what I am doing regarding code.
/**
* 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.
*
* Z-Wave Door/Window Sensor
*
* Author: SmartThings
* Date: 2013-11-3
*/
metadata {
definition (name: "Modified Z-Wave Door/Window Sensor for Smoke", namespace: "vseven", author: "SmartThings. Modified by vseven.", mnmn: "SmartThings", vid: "generic-smoke") {
This file has been truncated. show original
/**
* 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.
*
* Z-Wave Door/Window Sensor
*
* Original Author: SmartThings
* Date: 2013-11-3
* Ported to Hubitat by: EHuebl, 10/04/2018
*/
metadata {
This file has been truncated. show original