Skip to content

Commit

Permalink
Changed links in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Mar 14, 2021
1 parent e288a29 commit 8e14746
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ Unlike previous versions of this node, this node DOES NOT perform it's own daily

There are two example flows provided, one for a fixed GPS positioned injected daily and one for a stream of GPS coordinates that continually updates with your position.

Example 1: Fixed GPS position [Download](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/examples/sun-events-example-flows.json)
![Example Flow](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/docs/flow-diagram-1.png "Example Flow")
Example 1: Fixed GPS position [Download](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/examples/sun-events-example-flows.json)
![Example Flow](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/flow-diagram-1.png "Example Flow")

Example 2: Stream of GPS positions [Download](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/examples/sun-events-gps-stream-example-flows.json)
![Example Flow](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/docs/flow-diagram-2.png "Example Flow")
Example 2: Stream of GPS positions [Download](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/examples/sun-events-gps-stream-example-flows.json)
![Example Flow](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/flow-diagram-2.png "Example Flow")


## [Say Thanks](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4Y63PPPD4CGG&source=url)
If you find this node useful and you want to say thanks, feel free to buy me a coffee using the link below.

[![Say Thanks](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/master/docs/thankyou.jpg "Say Thanks")
[![Say Thanks](https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/thankyou.jpg "Say Thanks")
](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4Y63PPPD4CGG&source=url)


Expand Down
10 changes: 5 additions & 5 deletions lib/sun-events-node.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,16 @@ <h2>Example Flow</h2>
<p>There are two example flows provided, one for a fixed GPS positioned injected daily and one for a stream of GPS coordinates that continually updates with your position.
There is an example flow you can import supplied with this node.</p>

<p>Example 1: Fixed GPS position (<a href="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/examples/sun-events-example-flows.json" target="_blank">Download</a>)
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/docs/flow-diagram-1.png">
<p>Example 1: Fixed GPS position (<a href="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/examples/sun-events-example-flows.json" target="_blank">Download</a>)
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/flow-diagram-1.png">

<p>Example 2: Stream of GPS positions (<a href="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/examples/sun-events-gps-stream-example-flows.json" target="_blank">Download</a>)
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/v3/docs/flow-diagram-2.png">
<p>Example 2: Stream of GPS positions (<a href="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/examples/sun-events-gps-stream-example-flows.json" target="_blank">Download</a>)
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/flow-diagram-2.png">

<h2><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4Y63PPPD4CGG&source=url">Say Thanks</a></h2>
<p>If you find this node useful and you want to say thanks, feel free to buy me a coffee using the link below.</p>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R4Y63PPPD4CGG&source=url">
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/master/docs/thankyou.jpg" title="Say Thanks"/>
<img src="https://raw.githubusercontent.com/freakent/node-red-contrib-sunevents/main/docs/thankyou.jpg" title="Say Thanks"/>
</a>

</script>
Expand Down
2 changes: 1 addition & 1 deletion lib/sun-events-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = function(RED) {
node.status({ fill: 'red', shape: 'dot', text: "no latitude & longitude"})
return
}
node.warn("calculating sunevents for lat and lng", lat, lng)
node.warn(`calculating sunevents for lat ${lat} and lng ${lng}`)
node.sunevents.refresh(lat, lng)
node.update_status()
})
Expand Down

0 comments on commit 8e14746

Please sign in to comment.