Site updated at 2016-02-19 07:20:27 UTC
This commit is contained in:
parent
56a632d8da
commit
e2cf4337bd
14 changed files with 178 additions and 170 deletions
|
@ -132,6 +132,7 @@
|
|||
<span class="key">debug</span>: <span class="string"><span class="content">true</span></span>
|
||||
<span class="key">persistence</span>: <span class="string"><span class="content">true</span></span>
|
||||
<span class="key">version</span>: <span class="string"><span class="content">'1.5'</span></span>
|
||||
<span class="key">optimistic</span>: <span class="string"><span class="content">'true'</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -145,6 +146,7 @@
|
|||
<li><strong>persistence_file</strong> (<em>Optional</em>): Path to a file to save sensor information. The file extension determines the file type. Currently supported file types are ‘pickle’ and ‘json’.</li>
|
||||
<li><strong>version</strong> (<em>Optional</em>): Specifies the MySensors protocol version to use. Supports 1.4 and 1.5. Default is 1.4.</li>
|
||||
<li><strong>baud_rate</strong> (<em>Optional</em>): Specifies baud rate of the connected gateway. Default is 115200.</li>
|
||||
<li><strong>optimistic</strong> (<em>Optional</em>): Enable or disable optimistic mode for actuators (switch/light). Default is false. Set this to true if no state feedback from actuators is possible. Home Assistant will assume that the command succeeded and change state.</li>
|
||||
</ul>
|
||||
|
||||
<p>If you are using an original Arduino the port will be named <code>ttyACM*</code>. The exact number can be determined with the command shown below.</p>
|
||||
|
|
|
@ -259,6 +259,12 @@
|
|||
</tbody>
|
||||
</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>For more information, visit the <a href="https://www.mysensors.org/download/serial_api_15">serial api</a> of MySensors.</p>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue