forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 3.28 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
layout: page
title: Tasmota Device Templates Repository
---
<div class="container">
<div class="row">
<div class="column column-60">
<h3>Tasmota Device Templates Repository</h3>
</div>
<div class="column column-40">
<span style="vertical-align: text-bottom;"><strong>{% assign counter = 0 %}{% for item in site.templates %}{% assign counter=counter | plus:1 %}{% endfor %}{{ counter }}</strong> supported devices submitted by you!</span>
</div>
</div>
<div class="row">
<div class="column">
New year, new features! <a href="esp32.html">ESP32</a> based devices are now listed. Note that they need a tasmota32 binary version and that they can only be flashed using esptool or PlatformIO.
</div>
</div>
<div class="row row-100">
<div class="column">
<h4>Recently added devices:</h4>
{% assign sorted = site.templates | sort: "date_added" | reverse %}
<table>
<tbody>
{% for template in sorted limit: 20 %}
{% include tablerow_index.html %}
{% endfor %}
</tbody>
</table>
</div>
<div class="column column-33">
<!-- <h4>Devices by type:</h4>
<a class="button button-grey" href="bulb.html">BULBS</a>
<a class="button button-grey" href="plug.html">PLUGS</a>
<a class="button button-grey" href="light.html">LIGHTS</a>
<a class="button button-grey" href="switch.html">SWITCHES</a>
<a class="button button-grey" href="misc.html">MISCELLANEOUS</a>
<a class="button button-black" href="new.html">Add new template</a> -->
<h4>Devices by electrical standard:</h4>
<a class="button button-grey" href="all.html">ALL DEVICES</a>
<br>
{% assign category = site.templates | where: "category", "plug" %}
{% assign standard_group = category | map: 'standard' | join: ',' | split: ',' | uniq | sort_natural %}
{% for std in standard_group %}
<a class="button button-small button-grey" href="{{ std }}.html">{{ std | upcase }}</a>
{% endfor %}
<BR>Light Bulbs by base:<BR>
{% assign category = site.templates | where: "category", "bulb" %}
{% assign standard_group = category | map: 'standard' | join: ',' | split: ',' | uniq | sort_natural %}
{% for std in standard_group %}
<a class="button button-small button-grey" href="{{ std }}.html">{{ std | upcase }}</a>
{% endfor %}
<br>
<span style="font-size:0.6em;">See <a href="https://www.worldstandards.eu/electricity/spread-plug-types-map/" target="_blank">world map of plugs</a> and <a href="https://www.bulbs.com/learning/basechart.aspx" target="_blank">light bulb base list</a> for more information.</span>
<h4>Unsupportable devices:</h4>
<a class="button button-red button-small" href="unsupported.html">LIST ALL</a>
<a class="button button-black button-small" href="new-unsupported.html">ADD INCOMPATIBLE</a>
{% assign sorted = site.unsupported | sort: "date_added" | reverse %}
<table>
<tbody>
{% for template in sorted limit: 12 %}
{% include tablerow_index.html %}
{% endfor %}
</tbody>
</table>
</div>
</div>
<span style="font-size:0.6em;">As an Amazon Associate I earn from qualifying purchases from provided device links.</span>