update parser and time nodes info style

This commit is contained in:
Dave Conway-Jones
2016-03-02 13:27:48 +00:00
parent 86049c20cb
commit 1ee031cad7
16 changed files with 33 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to convert positi
Install
-------
Run the following command in the root directory of your Node-RED install
Run the following command in your Node-RED user directory - typically `~/.node-red`
npm install node-red-node-what3words
@@ -24,17 +24,17 @@ and vice versa. Don't ask... just try it...
To convert position to words it requires
- msg.location.lat
- msg.location.lon
- `msg.location.lat`
- `msg.location.lon`
or
- msg.payload containing a string lat,lon
- `msg.payload` containing a string lat,lon
To convert words to position it requires
- msg.payload containing a string unique.three.words
- `msg.payload` containing a string of _unique.three.words_
The API-key is stored in a separate credentials file.

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-what3words",
"version" : "0.0.2",
"version" : "0.0.3",
"description" : "A Node-RED node to convert locations to/from what3words",
"dependencies" : {
"geo.what3words" : "0.0.2"

View File

@@ -42,10 +42,11 @@
<script type="text/x-red" data-help-name="what3words">
<p>Uses what3words to convert a location to a unique three.word.combination .</p>
<p>Expects either <ul>
<li><b>msg.location.lat</b> and <b>msg.location.lon</b>, or </li>
<li><b>msg.payload</b> to contain a <i>lat,lon</i> string,</li>
<li><code>msg.location.lat</code> and <code>msg.location.lon</code>, or </li>
<li><code>msg.payload</code> to contain a <i>lat,lon</i> string,</li>
</ul> and produces a msg.payload of unique.three.words .</p>
<p>Also does the reverse by accepting a <b>dot (.)</b> separated three.word.string in <b>msg.payload</b>, and adds the corresponding <b>msg.location</b> property.</p>
<p>Also does the reverse by accepting a <b>dot (.)</b> separated three.word.string in <code>msg.payload</code>,
and adds the corresponding <code>msg.location</code> property.</p>
<p><b>Note:</b> This is an online service and requires a live internet connection.</p>
<p>The API-key is stored in a separate credentials file.</p>
<p>See <i><a href="http://www.what3words.com/" target="_new">what3words</a></i> for more details.</p>