-
Notifications
You must be signed in to change notification settings - Fork 485
Adding support for frient Intelligent Smoke Alarm (SMSZB-120) #2024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
GAFfrient
wants to merge
10
commits into
SmartThingsCommunity:main
Choose a base branch
from
GAFfrient:frient_SMSZB-120_add_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0e0fdcc
Adding support for frient Intelligent Smoke Alarm
GAFfrient 812e12f
Update init.lua
GAFfrient 6918258
Merge branch 'main' into frient_SMSZB-120_add_support
GAFfrient e3a3373
According to @lelandblue comment.
GAFfrient 443a6b3
Merge branch 'SmartThingsCommunity:main' into frient_SMSZB-120_add_su…
GAFfrient dc28c4d
Merge branch 'SmartThingsCommunity:main' into frient_SMSZB-120_add_su…
GAFfrient 788e991
v.1.2 - updated according to feedback
GAFfrient a54d9c4
v1.3 - fixed according to test results
GAFfrient f2e3c21
Merge branch 'SmartThingsCommunity:main' into frient_SMSZB-120_add_su…
GAFfrient 1f57bf3
v1.4 update based on review feedback
GAFfrient File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
drivers/SmartThings/zigbee-smoke-detector/profiles/smoke-temp-battery-alarm.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: smoke-temp-battery-alarm | ||
components: | ||
- id: main | ||
capabilities: | ||
- id: smokeDetector | ||
version: 1 | ||
- id: temperatureMeasurement | ||
version: 1 | ||
- id: battery | ||
version: 1 | ||
- id: firmwareUpdate | ||
version: 1 | ||
- id: refresh | ||
version: 1 | ||
- id: alarm | ||
version: 1 | ||
config: | ||
values: | ||
- key: "alarm.value" | ||
enabledValues: | ||
- off | ||
- siren | ||
- key: "{{enumCommands}}" | ||
enabledValues: | ||
- off | ||
- siren | ||
categories: | ||
- name: SmokeDetector | ||
preferences: | ||
- preferenceId: tempOffset | ||
explicit: true | ||
- name: "tempSensitivity" | ||
title: "Temperature Sensitivity (18.0°)" | ||
description: "Minimum change in temperature to report" | ||
required: false | ||
preferenceType: number | ||
definition: | ||
minimum: 0.1 | ||
maximum: 2.0 | ||
default: 1.0 | ||
- name: "warningDuration" | ||
title: "Alarm duration (s)" | ||
description: "After how many seconds should the alarm turn off" | ||
required: false | ||
preferenceType: integer | ||
definition: | ||
minimum: 0 | ||
maximum: 65534 | ||
default: 240 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leave this in place, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in the latest commit.