Skip to content
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

Leviton/DZ6HD - Consider setting defaultValue for each parameter to what is listen in instruction manual #16

Open
k3vmcd opened this issue Oct 3, 2020 · 0 comments

Comments

@k3vmcd
Copy link

k3vmcd commented Oct 3, 2020

1: [input: [name: "configParam1", type: "number", title: "Fade on time", description: "0-253", defaultValue: 0, ranges: "0..253"], parameterSize: 1],
2: [input: [name: "configParam2", type: "number", title: "Fade off time", description: "0-253", defaultValue: 0, ranges: "0..253"], parameterSize:1],
3: [input: [name: "configParam3", type: "number", title: "Minimum Level", description: "0-100", defaultValue: 0, ranges: "0..100"], parameterSize:1],
4: [input: [name: "configParam4", type: "number", title: "Maximum Level", description: "0-100", defaultValue: 100, ranges: "0..100"], parameterSize:1],
5: [input: [name: "configParam5", type: "number", title: "Preset Level", description: "0-100 0: Last State", defaultValue:0, ranges: "0..100"], parameterSize:1],
6: [input: [name: "configParam6", type: "number", title: "LED Dim Level Indicator Timeout", description: "0-255 0: always off, 1-254 seconds, 255: Always On", ranges: "0..255"], parameterSize:1],
7: [input: [name: "configParam7", type: "enum", title: "LED Status", options: [0x00: "LED Off", 0xFE:"On When Load is On", 0xFF:"On When Load is Off"]], parameterSize: 1],
8: [input: [name: "configParam8", type: "enum", title: "Load Type", options: [0x00: "Incandescent", 0x01: "LED", 0x02: "CFL"]], parameterSize:1]

Suggestion:
Set defaultValue of each parameter to the default listed in the manual, per below

Fade On Time configParam1 default: 2
Fade Off Time configParam2 default: 2
Minimum Light Level configParam3 default: 10
Maximum Light Level configParam4 default: 100
Preset Light Level configParam5 default: 0
LED Dim Level Indicator Timeout configParam6 default: 3
Locator LED Status configParam7 default: 255 (or 0xFF)
Load Type configParam8 default: 0 (or 0x00)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant