-
Notifications
You must be signed in to change notification settings - Fork 488
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
Merged
greens
merged 16 commits into
SmartThingsCommunity:main
from
GAFfrient:frient_SMSZB-120_add_support
May 9, 2025
Merged
Changes from 8 commits
Commits
Show all changes
16 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 ec01237
V1.5, according to feedback
GAFfrient dcab297
Merge branch 'SmartThingsCommunity:main' into frient_SMSZB-120_add_su…
GAFfrient f3a9e17
Added firmware detection, added siren configuration based on detected…
GAFfrient 1999941
Fix whitespace issues.
GAFfrient ad18722
Changes done according to @greens comments.
GAFfrient ad30fb6
Temperature Sensitivity fix + added requested unit test
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 hidden or 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 hidden or 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 | ||
greens marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.