-
Notifications
You must be signed in to change notification settings - Fork 530
WWSTCERT-10832 - add aeotec 8 series new #2897
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
iot-holding
wants to merge
5
commits into
SmartThingsCommunity:main
Choose a base branch
from
iot-holding:add-aeotec-8-series-new
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
5 commits
Select commit
Hold shift + click to select a range
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
133 changes: 133 additions & 0 deletions
133
drivers/SmartThings/zwave-sensor/profiles/aeotec-aerq-8.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,133 @@ | ||
| name: aeotec-aerq-8 | ||
| components: | ||
| - id: main | ||
| capabilities: | ||
| - id: temperatureMeasurement | ||
| config: | ||
| values: | ||
| - key: "temperature.value" | ||
| range: [-10, 60] | ||
| version: 1 | ||
| - id: relativeHumidityMeasurement | ||
| version: 1 | ||
| - id: dewPoint | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "dewpoint.value" | ||
| range: [-10, 60] | ||
| - id: moldHealthConcern | ||
| config: | ||
| values: | ||
| - key: "moldHealthConcern.value" | ||
| enabledValues: | ||
| - good | ||
| - moderate | ||
| version: 1 | ||
| - id: tamperAlert | ||
| version: 1 | ||
| - id: powerSource | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "powerSource.value" | ||
| enabledValues: | ||
| - battery | ||
| - dc | ||
| - id: battery | ||
| version: 1 | ||
| - id: refresh | ||
| version: 1 | ||
| categories: | ||
| - name: TempHumiditySensor | ||
| preferences: | ||
| - name: "parameter1" | ||
| title: "1 Set threshold Check Time" | ||
| description: "When using battery power, follow this configuration, the minimum time is 30 seconds. When using USB power supply, for real-time detection." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 2678400 | ||
| default: 900 | ||
| - name: "parameter2" | ||
| title: "2 Min. temperature change to report" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 255 | ||
| default: 20 | ||
| - name: "parameter3" | ||
| title: "3 Min. humidity change to report" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 255 | ||
| default: 50 | ||
| - name: "parameter4" | ||
| title: "4 Enable led indication" | ||
| description: "This parameter defines when the green or red LED will indicate events. Disabling all indications may extend battery life. Off means no indications." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Off" | ||
| 1: "On" | ||
| default: 0 | ||
| - name: "parameter13" | ||
| title: "13 Mold alarm offset" | ||
| description: "Increase the humidity threshold." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -10 | ||
| maximum: 10 | ||
| default: 0 | ||
| - name: "parameter23" | ||
| title: "23 Low battery threshold" | ||
| description: "Report low battery report when level goes under threshold setting." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 10 | ||
| maximum: 50 | ||
| default: 20 | ||
| - name: "parameter24" | ||
| title: "24 Periodic Reports" | ||
| description: "The period of battery, temperature and humidity report, the minimum time is 30 seconds." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 2678400 | ||
| default: 43200 | ||
| - name: "parameter25" | ||
| title: "25 Offset value for temperature" | ||
| description: "Calibrate temperature. Scale is defined by Param 64 .eg: Value 15 means 1.5°C or 1.5F" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -200 | ||
| maximum: 200 | ||
| default: 0 | ||
| - name: "parameter26" | ||
| title: "26 Offset value for Humidity" | ||
| description: "Calibrate humidity." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -200 | ||
| maximum: 200 | ||
| default: 0 | ||
| - name: "parameter64" | ||
| title: "64 Temperature Scale" | ||
| description: "Scale for auto reports and settings." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Celsius" | ||
| 1: "Fahrenheit" | ||
| default: 0 | ||
197 changes: 197 additions & 0 deletions
197
drivers/SmartThings/zwave-sensor/profiles/aeotec-door-window-sensor-8.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,197 @@ | ||
| name: aeotec-door-window-sensor-8 | ||
| components: | ||
| - id: main | ||
| capabilities: | ||
| - id: contactSensor | ||
| version: 1 | ||
| - id: temperatureMeasurement | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "temperature.value" | ||
| range: [-10, 60] | ||
| - id: relativeHumidityMeasurement | ||
| version: 1 | ||
| - id: dewPoint | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "dewpoint.value" | ||
| range: [-10, 60] | ||
| - id: moldHealthConcern | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "moldHealthConcern.value" | ||
| enabledValues: | ||
| - good | ||
| - moderate | ||
| - id: tamperAlert | ||
| version: 1 | ||
| - id: powerSource | ||
| version: 1 | ||
| config: | ||
| values: | ||
| - key: "powerSource.value" | ||
| enabledValues: | ||
| - battery | ||
| - dc | ||
| - id: threeAxis | ||
| version: 1 | ||
| - id: battery | ||
| version: 1 | ||
| - id: refresh | ||
| version: 1 | ||
| categories: | ||
| - name: ContactSensor | ||
| metadata: | ||
| deviceType: ContactSensor | ||
| ocfDeviceType: x.com.st.d.sensor.contact | ||
| deviceTypeId: ContactSensor | ||
| preferences: | ||
| - name: "parameter1" | ||
| title: "1 Set threshold Check Time" | ||
| description: "When using battery power, follow this configuration, the minimum time is 30 seconds. When using USB power supply, for real-time detection." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 2678400 | ||
| default: 900 | ||
| - name: "parameter2" | ||
| title: "2 Min. temperature change to report" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 255 | ||
| default: 20 | ||
| - name: "parameter3" | ||
| title: "3 Min. humidity change to report" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 255 | ||
| default: 50 | ||
| - name: "parameter5" | ||
| title: "5 State when the magnet is close" | ||
| description: "This parameter allows to set the states of door/window when the magnet closes to the sensor." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Open=magnet far, Closed=magnet near" | ||
| 1: "Closed=magnet far, Open=magnet near" | ||
| default: 0 | ||
| - name: "parameter13" | ||
| title: "13 Mold alarm offset" | ||
| description: "Increase the humidity threshold." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -10 | ||
| maximum: 10 | ||
| default: 0 | ||
| - name: "parameter23" | ||
| title: "23 Low battery threshold" | ||
| description: "Report low battery report when level goes under threshold setting." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 10 | ||
| maximum: 50 | ||
| default: 20 | ||
| - name: "parameter24" | ||
| title: "24 Periodic Reports" | ||
| description: "The period of battery, temperature and humidity report, the minimum time is 30 seconds." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 2678400 | ||
| default: 43200 | ||
| - name: "parameter25" | ||
| title: "25 Offset value for temperature" | ||
| description: "Calibrate temperature. Scale is defined by Param 64 .eg: Value 15 means 1.5°C or 1.5F." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -200 | ||
| maximum: 200 | ||
| default: 0 | ||
| - name: "parameter26" | ||
| title: "26 Offset value for Humidity" | ||
| description: "Calibrate humidity." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: -200 | ||
| maximum: 200 | ||
| default: 0 | ||
| - name: "parameter27" | ||
| title: "27 Set tilt sensor mode" | ||
| description: "Set tilt sensor mode." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Disable" | ||
| 1: "Enabled. Needs magnet" | ||
| 2: "Enabled. It can used without magnet." | ||
| default: 1 | ||
| - name: "parameter28" | ||
| title: "28 State of tilt in Mode 2" | ||
| description: "This parameter allows setting the state of door/window when the sensor is tilted." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Opened = tilted, closed = not tilted" | ||
| 1: "Closed = tilted, opened = not tilted" | ||
| default: 0 | ||
| - name: "parameter33" | ||
| title: "33 Tilt triggered angle" | ||
| description: "With this parameter, you can adjust the tilt triggered angle if the tilt is too low or too strong." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 1 | ||
| maximum: 90 | ||
| default: 5 | ||
| - name: "parameter34" | ||
| title: "34 Timeout tilt detection Mode 1" | ||
| description: "Set the timeout of tilt detection Mode 1." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 5 | ||
| maximum: 60 | ||
| default: 5 | ||
| - name: "parameter35" | ||
| title: "35 Timeout tilt detection Mode 2" | ||
| description: "Set the timeout of tilt detection Mode 2." | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 5 | ||
| maximum: 60 | ||
| default: 8 | ||
| - name: "parameter36" | ||
| title: "36 Min. acc. change to report" | ||
| description: "Minimum acceleration change to trigger report" | ||
| required: false | ||
| preferenceType: integer | ||
| definition: | ||
| minimum: 0 | ||
| maximum: 255 | ||
| default: 0 | ||
| - name: "parameter64" | ||
| title: "64 Temperature Scale" | ||
| description: "Scale for auto reports and settings." | ||
| required: false | ||
| preferenceType: enumeration | ||
| definition: | ||
| options: | ||
| 0: "Celsius" | ||
| 1: "Fahrenheit" |
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.
This is higher than what the preference allows. Check the parameter definitions in preferences.lua and change the size to what it should be or update this to match the size of parameter 1.