Skip to content

Commit

Permalink
Merge pull request #5 from jn-se/feature/events
Browse files Browse the repository at this point in the history
Corrections in the Readme and Help files
  • Loading branch information
jn-se authored Feb 12, 2023
2 parents 5eb279a + 048c9e4 commit f5e1ed3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ HEOS change events include the following configurations:

So this node is completely generic and can get any change event available in the HEOS network. For a complete reference of available events please see the HEOS CLI reference linked at the [bottom of this page](#external-documentation).

The data of the change event can be read from the output in the `payload.heos` attribute.
The data of the change event can be read from the output in the `msg.heos` attribute.

For example to register player state events (like `play`, `pause` and `stop`) or player volume events use the following node configurations.

Expand Down
2 changes: 1 addition & 1 deletion heos/heos-command.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3>Outputs</h3>
<li>Standard output
<dl class="message-properties">
<dt>payload <span class="property-type">JSON</span></dt>
<dd>The <em>payload</em> output of the HEOS response. Only available if there is a <em>payload</em> object in the HEOS reponse for the specific command. <em>Payload</em> is only available for some commands that requests more detailed data. A simple response is always provided via the <em>heos</em> attribute.</dd>
<dd>The <em>payload</em> output of the HEOS response. Only available if there is a <em>payload</em> object in the HEOS response for the specific command. <em>Payload</em> is only available for some commands that requests more detailed data. A simple response is always provided via the <em>heos</em> attribute.</dd>
</dl>
<dl class="message-properties">
<dt>heos <span class="property-type">JSON</span></dt>
Expand Down
6 changes: 1 addition & 5 deletions heos/heos-listener.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,9 @@ <h3>Inputs</h3>
<h3>Outputs</h3>
<ol class="node-ports">
<li>Standard output
<dl class="message-properties">
<dt>payload <span class="property-type">JSON</span></dt>
<dd>The <em>payload</em> output of the HEOS response. Only available if there is a <em>payload</em> object in the HEOS reponse for the specific command. <em>Payload</em> is only available for some commands that requests more detailed data. A simple response is always provided via the <em>heos</em> attribute.</dd>
</dl>
<dl class="message-properties">
<dt>heos <span class="property-type">JSON</span></dt>
<dd>The <em>heos</em> data object of the HEOS response.</dd>
<dd>The <em>heos</em> data object of the HEOS change event response.</dd>
</dl>
</li>
</ol>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jn-se/node-red-contrib-heos",
"version": "0.3.0",
"version": "0.3.1",
"description": "Node-RED node for Denon HEOS devices and Denon Home.",
"homepage": "https://github.com/jn-se/node-red-contrib-heos",
"keywords": ["node-red", "heos", "denon", "denon home"],
Expand Down

0 comments on commit f5e1ed3

Please sign in to comment.