Well, thought I’d share my very basic code for the Xiaomi Honeywell Smoke detector. It’s currently working with ST and reading SMOKE and CLEAR event’s correctly.
But it doesn’t do anything other than that though… no battery, no sound level, no health check etc. Maybe someone else can get those parameters to work (should be possible as the Xiaomi gateway and Mi app can do this with the same detector), feel free do dabble on from my basic rough code
/**
* Xiaomi Honeyweel Zigbee Smoke Detector. BETA version in very basic code that just reads SMOKE or CLEAR states at the moment
*
* 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: "Xiaomi Honeywell Smoke Detector", namespace: "KennethEvers", author: "Kenneth Evers") {
capability "Configuration"
capability "Smoke Detector"
capability "Sensor"
This file has been truncated. show original
1 Like
A.rees
(Andrew Rees)
August 5, 2017, 9:54pm
2
Nice one, was going to buy one but couldn’t find a device handler. Will buy one and try it out. Cheers.
A.rees
(Andrew Rees)
December 19, 2017, 6:12pm
4
I got one, works a treat. No problems so far.
benerkens
(Ben Erkens)
August 5, 2018, 1:01pm
5
I had it working and suddenly 5:30u a wakeup call by the smoke detector.
False alarm, but the smoke detector remains in “smoke detected” mode.
Anybody an idea how to reset it? Can’t find it in the leaflet.
How to unpair / remove it?
Can you please send instructions how to install driver and pair the smoke detector to ST Hub?
benerkens
(Ben Erkens)
September 24, 2019, 3:04pm
8
First you need to add the smoke detector, then you can add the driver (DTH).
Here an explanation of the DTH installation.
The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.
As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable.
All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:
The process for using a custom Edge Driver in the new …
Grtn Ben
1 Like