-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentre.php
42 lines (34 loc) · 1.66 KB
/
entre.php
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
<?php
include "header.php";
?>
<div style="margin-top: 40px;">
<!--
Each "widget" element below defines a single widget.
Each widget needs 3 data attributes: type, item & title.
The other attributes only apply to certain types.
TODO:
This is just an example setup - replace it with the widgets you want to show!
The different data attributes:
- type: switch, sensor, openclose, weather, trash
- item: exact same item name as in OpenHAB items file
- title: text to display in bottom part of widget
- history: add this for items that use persistence (logging)
- icon: [optional] [type=switch only]
see https://fortawesome.github.io/Font-Awesome/icons/ for possible values
when omitted defaults to a lightbulb
- format: [optional] [type=sensor only]
can be used to add characters around the value returned
- trashday/recycleday: [type=trash only]
Trash days; values range from 0 (Sunday) to 6 (Saturday)
-->
<center>
<widget data-type="switch" data-item="milight" data-title="Lumière"></widget>
<widget data-type="switch" data-item="CamSwitch" data-title="Nest" data-icon="tachometer"></widget>
<widget data-type="switch" data-item="CamSwitch" data-title="Caméra" data-icon="video-camera"></widget>
<a href="camchambre.php"><widget><div class="icon:before row"><img height="80%" src="http://thib5.com:8082/cam/stream.mjpg"></div><b>Chambre</b></widget></a>
<a href="camchambre.php"><widget><div class="icon:before row"><img height="80%" src="http://thib5.com:8082/cam/stream.mjpg"></div><b>Chambre</b></widget></a>
</center>
</div>
<?php
include "footer.php";
?>