Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimond Brookman committed Nov 4, 2018
1 parent 6114d50 commit 1d345fe
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 76 deletions.
62 changes: 51 additions & 11 deletions daylight-rgbw.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,59 @@
<script type="text/x-red" data-help-name="daylight-rgbw">
<p>TODO</p>
<h3>Inputs</h3>
<dl class="message-properties">
<dt>payload
<span class="property-type">string | number | boolean</span>
</dt>
<dd> TODO </dd>
</dl>
<li>Topic:date-time
<dl class="message-properties">
<dt>payload
<span class="property-type">Date</span>
</dt>
<dd> Date object, for instance as provided by the Inject node.</dd>
</dl>
</li>
<li>Topic:item-switch
<dl class="message-properties">
<dt>payload
<span class="property-type">string</span>
</dt>
<dd> ON or OFF, to either send output messages or not</dd>
</dl>
</li>
<li>Topic:color-temp
<dl class="message-properties">
<dt>payload
<span class="property-type">number</span>
</dt>
<dd> Number to set a desired color tempurature in Kelvin directly.</dd>
</dl>
</li>


<h3>Outputs</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">string</span></dt>
<dd>TODO</dd>
</dl>

<ol class="node-ports">
<li> Red dim value
<dl class="message-properties">
<dt>payload <span class="property-type">number</span></dt>
<dd>From 0 to 100 (precentage) brightness</dd>
</dl>
</li>
<li> Green dim value
<dl class="message-properties">
<dt>payload <span class="property-type">number</span></dt>
<dd>From 0 to 100 (precentage) brightness</dd>
</dl>
</li>
<li> Blue dim value
<dl class="message-properties">
<dt>payload <span class="property-type">number</span></dt>
<dd>From 0 to 100 (precentage) brightness</dd>
</dl>
</li>
<li> White dim value
<dl class="message-properties">
<dt>payload <span class="property-type">number</span></dt>
<dd>From 0 to 100 (precentage) brightness</dd>
</dl>
</li>

<h3>Details</h3>
</script>

Expand Down
65 changes: 0 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d345fe

Please sign in to comment.