-
-
Notifications
You must be signed in to change notification settings - Fork 919
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
Create nas-wr01ze.xml #1723
Merged
Merged
Create nas-wr01ze.xml #1723
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Product xmlns='http://code.google.com/p/open-zwave/'> | ||
<!-- | ||
Shenzhen NEO Electronics (Neo-CoolCam) Smart Power Plug EU | ||
--> | ||
<!-- Configuration Parameters --> | ||
<CommandClass id="112"> | ||
<Value type="list" genre="config" instance="1" index="1" label="Remember Relay ON/OFF status" value="0" size="1"> | ||
<Help> | ||
This parameter defined the relay status if remember or not. | ||
If remembered, the plug will restore the relay status last power off when the plug supply power next time. | ||
</Help> | ||
<Item label="Disable" value="0"/> | ||
<Item label="Enable" value="1"/> | ||
</Value> | ||
<Value type="list" genre="config" instance="1" index="2" label="Button On/Off" value="1" size="1"> | ||
<Help> | ||
This parameter defines the button on/off function is enabled or not on the top of the wall plug. | ||
If enabled, users can turn on and off the wall plug by pressing the button on the top of the wall plug. | ||
If disabled, the wall plug cannot be turned on and off by pressing the button. | ||
</Help> | ||
<Item label="Disable" value="0"/> | ||
<Item label="Enable" value="1"/> | ||
</Value> | ||
<Value type="list" genre="config" instance="1" index="3" label="Led Display" value="1" size="1"> | ||
<Help> | ||
This parameter defines the LED indication Function ON/OFF. | ||
If disabled, then LED indication Function and will always be turn-off, while enabled means LED Function is on. | ||
</Help> | ||
<Item label="Disable" value="0"/> | ||
<Item label="Enable" value="1"/> | ||
</Value> | ||
<Value type="list" genre="config" instance="1" index="4" label="Configure Plug Time switch Function" value="1" size="1"> | ||
<Help> | ||
This parameter defines the timer function Enable/Disable. | ||
If disabled, then time switch function is not available. | ||
The time period will be defined in parameter #5. | ||
If enabled, and when turn the plug relay on, the timer in plug start run with time period defined in parameter #5 and the plug will turn the relay off. | ||
</Help> | ||
<Item label="Disable" value="0"/> | ||
<Item label="Enable" value="1"/> | ||
</Value> | ||
<Value type="short" genre="config" instance="1" index="5" label="Configure Time switch Period" units="minute" value="150" min="1" max="32767" size="2"> | ||
<Help> | ||
This parameter defines the time period that plug time switch off. This parameter can be configured 1 - 32767(in minutes). | ||
If Parameter #4 is enabled, and relay is turn-on, the relay will be turn-off after delay this parameter. | ||
</Help> | ||
</Value> | ||
<Value type="list" genre="config" instance="1" index="6" label="Send Meter Report" value="1" size="1"> | ||
<Help>This parameter defines Disable/Enable meter report measure data to controller.</Help> | ||
<Item label="Disable" value="0"/> | ||
<Item label="Enable" value="1"/> | ||
</Value> | ||
<Value type="short" genre="config" instance="1" index="7" label="Meter Report Interval" units="second" value="300" min="30" max="32767" size="2"> | ||
<Help>This parameter defines interval time (30-32767 seconds) that Meter report data to main controller .</Help> | ||
</Value> | ||
<Value type="byte" genre="config" instance="1" index="8" label="Configure maximum over-load current" units="Ampere" value="13" min="1" max="16" size="1"> | ||
<Help> | ||
This parameter defines maximum current (in Amperes) the plug can provide to load that be connected to plug. | ||
If the current consumed by load is greater than maximum current, the plug will cut off power, and send NOTIFICATION_EVENT_POWER_MANAGEMENT_OVER_LOAD_DETECTED to associated devices in lifeline. Red Led will blink every seconds until current is normal (less than Parameter #8). | ||
You must remove the loader and turn on the Plug (press the button once) to enable current monitor and clear NOTIFICATION ALARM. This parameter value must be great than #10. | ||
If user set this parameter to default by Configure CC, the parameter #10 will be set to default value. | ||
</Help> | ||
</Value> | ||
<Value type="byte" genre="config" instance="1" index="9" label="Configure power report" units="%" value="30" min="1" max="100" size="1"> | ||
<Help> | ||
This parameter defines by how much power consumed must change to be reported to the Z-Wave Controller or Z-Wave Gateway, in percents. If the rate of power consumed change ratio is greater than this parameter, the plug will report the results, voltage, current, power and energy, that plug measure to Z-Wave Controller or Z-Wave Gateway | ||
</Help> | ||
</Value> | ||
<Value type="byte" genre="config" instance="1" index="10" label="Configure maximum Alarm current" units="Ampere" value="12" min="1" max="16" size="1"> | ||
<Help> | ||
This parameter defines maximum current (in Amperes), if the current plug provide to load is greater than this parameter, the plug will send over-current notification to the controller and the LED will turn RED, but plug cannot cut-off power. This parameter value must be less than parameter #8. | ||
If user set this parameter to default by Configure CC, the parameter #8 will be set to default value. | ||
</Help> | ||
</Value> | ||
</CommandClass> | ||
<!-- Association Groups --> | ||
<CommandClass id="133"> | ||
<Associations num_groups="3"> | ||
<Group index="1" max_associations="5" label="Lifeline"/> | ||
<Group index="2" max_associations="5" label="Over-load current"/> | ||
<Group index="3" max_associations="5" label="Send Notification"/> | ||
</Associations> | ||
</CommandClass> | ||
</Product> |
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.
Per this, this param may now be in
cA
(centiamp), with a valid range of1-1600
.Not sure if the source of the info is reliable (a manual) or if it comes from trial and error, though it would match my own observations here
I.e. I suggest correcting the unit, range and default values to sth like:
units="cA" value="50" min="1" max="1600"
(from the value range, I infer this param is now 2-byte, but this would require confirming)EDIT: Actually, other defaults in this file may also need updating to match the values after factory reset
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.
@mbronk Good paramter 9 suggestion, i just updated the file parameter 9 with your suggestion and changed some default values.
The sources i used to create the xml file is a combination of online references (the shipped device manual is incorrect) and trial and error.
All parameters are working (tested myself) except parameter 9 (of course this is not optimal and needs a change in the future)