-
Notifications
You must be signed in to change notification settings - Fork 88.7k
WWST-6892, WWST-6896, WWST-6898, WWST-6904 - New DTH for Viconics/Schneider Room Controllers #45873
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
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
39f3136
WWST-6898 - New DTH for Viconics Schneider Room Controller
KKlimczukS 4fa9d05
Support for capabilities: occupancy, fan mode.
KKlimczukS 088f78b
Fixes spacing
KKlimczukS cf40900
Renames child device to Child Thermostat Setpoints
KKlimczukS 1eb23fd
Renames child device to Child Thermostat Setpoints
KKlimczukS 9a6d2d6
Fixes processing occupancy reports.
KKlimczukS c18a1b3
small refactoring
KKlimczukS 0d6a791
code refactoring
KKlimczukS 43f4505
reverted capability Thermostat
KKlimczukS 1d3df1c
Removed configuration from child dth.
KKlimczukS 73bddc7
Configure setpoint values initially. Round incoming setpoint values t…
KKlimczukS 00e9e08
Remove blank line
KKlimczukS 0ac614d
fix
KKlimczukS f480e0b
fix
KKlimczukS 1f8bcc3
Change max reporting interval to 3600 seconds. Clean up the code.
KKlimczukS e730a83
Code refactoring. Removed unnecessary configuration commands.
KKlimczukS 6517519
Fix, code refactoring.
KKlimczukS 80f1d63
Fix
KKlimczukS 1fcf4d1
Fix
KKlimczukS 3b03cd5
Removes unnecessary value from thermostat mode map. Fixes temperature…
KKlimczukS 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
43 changes: 43 additions & 0 deletions
43
devicetypes/smartthings/child-thermostat-setpoints.src/child-thermostat-setpoints.groovy
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,43 @@ | ||
/** | ||
* Child Thermostat Setpoints | ||
* | ||
* Copyright 2020 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. | ||
* | ||
*/ | ||
metadata { | ||
definition(name: "Child Thermostat Setpoints", namespace: "smartthings", author: "SmartThings", ocfDeviceType: "oic.d.thermostat") { | ||
capability "Actuator" | ||
capability "Health Check" | ||
capability "Refresh" | ||
capability "Thermostat Cooling Setpoint" | ||
capability "Thermostat Heating Setpoint" | ||
} | ||
} | ||
|
||
def setCoolingSetpoint(setpoint) { | ||
log.debug "setCoolingSetpoint: ${setpoint}" | ||
parent.setChildCoolingSetpoint(device.deviceNetworkId, setpoint) | ||
} | ||
|
||
def setHeatingSetpoint(setpoint) { | ||
log.debug "setHeatingSetpoint: ${setpoint}" | ||
parent.setChildHeatingSetpoint(device.deviceNetworkId, setpoint) | ||
} | ||
|
||
def ping() { | ||
refresh() | ||
} | ||
|
||
def refresh() { | ||
parent.refreshChild() | ||
} |
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.