Skip to content

Instantly share code, notes, and snippets.

@Pogopooc
Created May 5, 2020 16:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pogopooc/3ebe20b53946694d276b2733401b6b63 to your computer and use it in GitHub Desktop.
Save Pogopooc/3ebe20b53946694d276b2733401b6b63 to your computer and use it in GitHub Desktop.
A daily Weather Report for your LittlePrinter.
// 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