Site updated at 2017-09-26 07:14:23 UTC
This commit is contained in:
parent
80847eb95a
commit
b723b0750d
415 changed files with 2329 additions and 1581 deletions
|
@ -223,7 +223,7 @@
|
|||
</table>
|
||||
<h3><a class="title-link" name="custom-unit-of-measurement" href="#custom-unit-of-measurement"></a> Custom unit of measurement</h3>
|
||||
<p>Some sensor value types are not specific for a certain sensor type. These do not have a default unit of measurement in Home Assistant. For example, the V_LEVEL type can be used for different sensor types, dust, sound, vibration etc.</p>
|
||||
<p>By using V_UNIT_PREFIX, it’s possible to set a custom unit for any sensor. The string value that is sent for V_UNIT_PREFIX will be used in preference to any other unit of measurement, for the defined sensors. V_UNIT_PREFIX can’t be used as a standalone sensor value type. Sending a supported value type and value from the tables above is also required. V_UNIT_PREFIX is available with MySensors version 1.5 and later.</p>
|
||||
<p>By using V_UNIT_PREFIX, it’s possible to set a custom unit for any sensor. The string value that is sent for V_UNIT_PREFIX will be used in preference to any other unit of measurement, for the defined sensors. V_UNIT_PREFIX can’t be used as a stand-alone sensor value type. Sending a supported value type and value from the tables above is also required. V_UNIT_PREFIX is available with MySensors version 1.5 and later.</p>
|
||||
<p>For more information, visit the <a href="http://www.mysensors.org/download">serial api</a> of MySensors.</p>
|
||||
<h3><a class="title-link" name="mysensors-15-example-sketch" href="#mysensors-15-example-sketch"></a> MySensors 1.5 example sketch</h3>
|
||||
<div class="language-cpp highlighter-rouge"><pre class="highlight"><code><span class="cm">/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue