Skip to content

Instantly share code, notes, and snippets.

@adrianmo
Last active November 13, 2020 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianmo/88e9fd959f9a4cf0e0d01cb7787c518e to your computer and use it in GitHub Desktop.
Save adrianmo/88e9fd959f9a4cf0e0d01cb7787c518e to your computer and use it in GitHub Desktop.
mhc221.xml
<?xml version="1.0" encoding="utf-8"?>
<Product Revision="1" xmlns="https://github.com/OpenZWave/open-zwave">
<!-- MCOHome MH-C221 Shutter Panel Switch -->
<!-- Configuration -->
<CommandClass id="112">
<Value type="short" genre="config" instance="1" index="1" label="Power reports - periodic" units="second" min="1" max="32767" value="720">
<Help>This parameter determines in what time intervals the periodic power reports. The configured value will be multiplied by 5. E.g. a value of 720 seconds will make the device report wattage every 5*720 = 3600 seconds (1 hour). Default setting: 720.</Help>
</Value>
<Value type="short" genre="config" instance="1" index="2" label="Energy reports - periodic" units="minute" min="1" max="32767" value="6">
<Help>This parameter determines in what time intervals the periodic energy reports. The configured value will be multiplied by 10. E.g. a value of 6 minutes will make the device report wattage every 10*6 = 60 minutes (1 hour). Default setting: 6.</Help>
</Value>
<Value type="list" genre="config" instance="1" index="5" label="Level report mode" units="" min="1" max="2" value="1" size="1">
<Help>This parameter defines the level report mode. By default, the level is reported every 10% change.</Help>
<Item label="Report destination level in 5 seconds period when requested by the gateway. Then, report current level after 5 seconds" value="1" />
<Item label="Report every 10% level change while running" value="2" />
</Value>
<Value type="byte" genre="config" instance="1" index="7" label="Demo trip" units="" min="0" max="1" value="0">
<Help>By setting this parameter to 1 the device activates the demo trip when first touch of the button.</Help>
</Value>
<Value type="byte" genre="config" instance="1" index="9" label="Demo trip and calibration" units="" min="0" max="1" value="0">
<Help>By setting this parameter to 1 the device activates the demo trip when first touch of the button and then enters the calibration mode.</Help>
</Value>
<Value type="byte" genre="config" instance="1" index="10" label="Force calibration" units="" min="0" max="1" value="0">
<Help>By setting this parameter to 1 the device enters the calibration mode.</Help>
</Value>
<Value type="byte" genre="config" instance="1" index="11" label="Closed level" units="" min="0" max="98" value="0">
<Help>This parameter defines the upper limit at which the shutter should be considered closed. By default, the shutter is considered closed at level 0.</Help>
</Value>
<Value type="byte" genre="config" instance="1" index="12" label="Open level" units="" min="1" max="99" value="99">
<Help>This parameter defines the lower limit at which the shutter should be considered open. By default, the shutter is considered open at level 99.</Help>
</Value>
<Value type="list" genre="config" instance="1" index="13" label="Switch type" units="" min="0" max="2" value="0" size="1">
<Help>This parameter defines as what type the device should treat the switch connected to the S1 and S2 terminals.</Help>
<Item label="Momentary switches" value="0" />
<Item label="Toggle switches" value="1" />
<Item label="Toggle switches (reversed)" value="2" />
</Value>
<Value type="list" genre="config" instance="1" index="14" label="Switch input" units="" min="0" max="4" value="1" size="1">
<Help>This parameter defines as what type the device should treat the switch connected to the S1 and S2 terminals.</Help>
<Item label="No external switch" value="0" />
<Item label="Momentary or toggle key on S1 only" value="1" />
<Item label="Momentary or toggle key on S2 only" value="2" />
<Item label="Momentary or toggle switches on S1 and S2. Each switch can control both directions" value="3" />
<Item label="Momentary or toggle switches on S1 and S2. Each switch can control one directions" value="4" />
</Value>
</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" max_associations="1" label="Group 1" auto="true" />
</Associations>
</CommandClass>
</Product>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment