Created
May 5, 2020 16:38
-
-
Save Pogopooc/3ebe20b53946694d276b2733401b6b63 to your computer and use it in GitHub Desktop.
A daily Weather Report for your LittlePrinter.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is an Simple Daily Weather Report to use with the PHP Script from JAVL. | |
// Remeber to add your LittlePrinter API Key | |
// Add the following HTML Code to your IFTTT Applet | |
<table> | |
<tbody> | |
<tr> | |
<td colspan="2"> | |
<h3 style="text-align: center;">{{TodaysCondition}}</h3> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2"> | |
<hr> | |
</td> | |
</tr> | |
<tr> | |
<td><img src="{{TodaysConditionImageURL}}" alt="ICON" width="80"></td> | |
<td> | |
<h4 style="text-align: center;"><span style="font-size: 14px;">With a high of {{HighTempCelsius}}°C and a low of {{LowTempCelsius}}°C.</span></h4> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2"> | |
<hr> | |
<p><span style="font-size: 14px;">Currently, it's {{CurrentTempCelsius}}°C and {{CurrentCondition}} outside. Current wind speeds: {{WindSpeedKph}}Km/h from the {{WindDirection}}</span></p> | |
<p><span style="font-size: 14px;"><em>Sunrise: {{SunriseAt}}<br></em></span><span style="font-size: 14px;"><em>Sunset: {{SunsetAt}}</em></span><br> | |
</p> | |
</td> | |
</tr> | |
</tbody> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment