- Details
- Category: Uncategorised
Visit https://wiki.libreelec.tv/
Goto Installation -> create media and download the “LibreELEC USB-SD Creator” app
or
Download the Image file for Raspberry Pi here
The lastest file for Raspberry Pi 3 is LibreELEC-RPi2.arm-11.0.3.img
Flash an SD Card with balenaEtcher here
Setup PVR (Personal Video Recorder) Addon
What is Live TV, PVR and Radio? |
|
-
Live TV, PVR and Radio refers to the traditional broadcast systems of receiving TV and Radio channels through your rooftop antenna, satellite dish or cable provider.
These signals can be received and viewed within Kodi.
Why don't I see any channels? |
|
-
Kodi does not have its own embedded TV-tuning functionality. Instead it acts as a frontend for the Live TV component. To use this feature you require:
- A tuner card capable of receiving Terrestrial/OTA (Over The Air) or Cable signals via a coaxial cable connection. The same antenna cable that you would plug into the back of your TV.
- The backend software (the server) that works in the background to receive the TV and Radio signals and enables the Live TV and PVR functions described earlier.
- The Kodi add-on (the client) for the backend software you have installed. This enables transferring all those backend features into the Kodi user interface.
Install backend software (the server) Tvheadend 4.2 from Add-ons Services
See web here
Then goto to the online configuration
Install a backend https://kodi.wiki/view/PVR/Backends
Tvheadend HTSP
https://kodi.wiki/view/Add-on:Tvheadend_HTSP_Client
- Details
- Category: Uncategorised
Predefined UUID's
Services
Battery service 0x180F
Blood Pressure service 0x1810
Cycling Speed & Cadence 0x1816
Cycling Power 0x1818
Device Information service 0x180A
Heart Rate Service 0x180D
Electronic Current (A) 0x2704
Electronic Charge (Ah) 0x27B0
Energy (kWh) 0x27AB
Length (mile) 0x27A4
Characteristics
Characteristic 0x2A35 Blood Pressure Measurement
Battery Level 0x2A19
Cycling Power Control Point 0x2A66
Cycling Power Feature 0x2A65
Cycling Power Measurement 0x2A63
Cycling Power Vector 0x2A64
Electric Current 0x2AEE
Electric Current Range 0x2AEF
Indoor Bike Data 0x2AD2
Temperature 0x2A6E
Appearance Category ranges
0x012 0x0480 to 0x04BF Cycling
0x00 0x0480 Generic Cycling
0x01 0x0481 Cycling Computer
0x02 0x0482 Speed Sensor
0x03 0x0483 Cadence Sensor
0x04 0x0484 Power Sensor
0x05 0x0485 Speed and Cadence Sensor
0x00D 0x0340 to 0x037F Heart Rate Sensor
0x00D 0x00 0x0340 Generic Heart Rate Sensor
0x01 0x0341 Heart Rate Belt
0x015 0x0540 to 0x057F Sensor
0x015 0x00 0x0540 Generic Sensor
0x01 0x0541 Motion Sensor
0x02 0x0542 Air quality Sensor
0x03 0x0543 Temperature Sensor
0x04 0x0544 Humidity Sensor
0x05 0x0545 Leak Sensor
0x06 0x0546 Smoke Sensor
0x07 0x0547 Occupancy Sensor
0x08 0x0548 Contact Sensor
0x09 0x0549 Carbon Monoxide Sensor
0x0A 0x054A Carbon Dioxide Sensor
0x0B 0x054B Ambient Light Sensor
0x0C 0x054C Energy Sensor
0x0D 0x054D Color Light Sensor
0x0E 0x054E Rain Sensor
0x0F 0x054F Fire Sensor
0x10 0x0550 Wind Sensor
0x11 0x0551 Proximity Sensor
0x12 0x0552 Multi-Sensor
0x13 0x0553 Flush Mounted Sensor
0x14 0x0554 Ceiling Mounted Sensor
0x15 0x0555 Wall Mounted Sensor
0x16 0x0556 Multisensor
0x17 0x0557 Energy Meter
0x18 0x0558 Flame Detector
0x19 0x0559 Vehicle Tire Pressure Sensor
- Details
- Category: Uncategorised
Start with a basic template with a wrapper for a table demo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Data Table with Add, Edit and Delete Row Using PHP,Mysqli jquery Ajax</title>
</head>
<body>
<div class="container"><p><h1 align="center">Data Table with Add and Delete Row Using PHP,Mysqli jquery</h1><div id="displaymessage">
<div class="table-wrapper">
</div>
</div></p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Data Table with Add, Edit and Delete Row Using PHP,Mysqli jquery Ajax</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
var actions = $("table td:last-child").html();
// Append table with add row form on add new button click
$(".add-new").click(function(){
$(this).attr("disabled", "disabled");
var index = $("table tbody tr:last-child").index();
var row = '<tr>' +
'<td><input type="text" class="form-control" name="name" id="txtname"></td>' +
'<td><input type="text" class="form-control" name="department" id="txtdepartment"></td>' +
'<td><input type="text" class="form-control" name="phone" id="txtphone"></td>' +
'<td>' + actions + '</td>' +
'</tr>';
$("table").append(row);
$("table tbody tr").eq(index + 1).find(".add, .edit").toggle();
$('[data-toggle="tooltip"]').tooltip();
});
// Add row on add button click
$(document).on("click", ".add", function(){
var empty = false;
var input = $(this).parents("tr").find('input[type="text"]');
input.each(function(){
if(!$(this).val()){
$(this).addClass("error");
empty = true;
} else{
$(this).removeClass("error");
}
});
var txtname = $("#txtname").val();
var txtdepartment = $("#txtdepartment").val();
var txtphone = $("#txtphone").val();
$.post("ajax_add.php", { txtname: txtname, txtdepartment: txtdepartment, txtphone: txtphone}, function(data) {
$("#displaymessage").html(data);
});
$(this).parents("tr").find(".error").first().focus();
if(!empty){
input.each(function(){
$(this).parent("td").html($(this).val());
});
$(this).parents("tr").find(".add, .edit").toggle();
$(".add-new").removeAttr("disabled");
}
});
// Delete row on delete button click
$(document).on("click", ".delete", function(){
$(this).parents("tr").remove();
$(".add-new").removeAttr("disabled");
var id = $(this).attr("id");
var string = id;
$.post("ajax_delete.php", { string: string}, function(data) {
$("#displaymessage").html(data);
});
});
// update rec row on edit button click
$(document).on("click", ".update", function(){
var id = $(this).attr("id");
var string = id;
var txtname = $("#txtname").val();
var txtdepartment = $("#txtdepartment").val();
var txtphone = $("#txtphone").val();
$.post("ajax_update.php", { string: string,txtname: txtname, txtdepartment: txtdepartment, txtphone: txtphone}, function(data) {
$("#displaymessage").html(data);
});
});
// Edit row on edit button click
$(document).on("click", ".edit", function(){
$(this).parents("tr").find("td:not(:last-child)").each(function(i){
if (i=='0'){
var idname = 'txtname';
}else if (i=='1'){
var idname = 'txtdepartment';
}else if (i=='2'){
var idname = 'txtphone';
}else{}
$(this).html('<input type="text" name="updaterec" id="' + idname + '" class="form-control" value="' + $(this).text() + '">');
});
$(this).parents("tr").find(".add, .edit").toggle();
$(".add-new").attr("disabled", "disabled");
$(this).parents("tr").find(".add").removeClass("add").addClass("update");
});
});
</script>
</head>
<body>
<div class="container"><p><h1 align="center">Data Table with Add and Delete Row Using PHP,Mysqli jquery</h1><div id="displaymessage"></div></p>
<div class="table-wrapper">
<div class="table-title">
<div class="row">
<div class="col-sm-8"><h2>Employee <b>Details</b></h2></div>
<div class="col-sm-4">
<button type="button" class="btn btn-info add-new"><i class="fa fa-plus"></i> Add New</button>
</div>
</div>
</div>
<table class="table table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Department</th>
<th>Phone</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php
include"dbcon.php";
$query_pag_data = "SELECT * from students";
$result_pag_data = mysqli_query($conn, $query_pag_data);
while($row = mysqli_fetch_assoc($result_pag_data)) {
$student_id=$row['student_id'];
$student_name=$row['student_name'];
$department=$row['department'];
$phone=$row['phone'];
?>
<tr>
<td><?php echo $student_name; ?></td>
<td><?php echo $department; ?></td>
<td><?php echo $phone; ?></td>
<td>
<a class="add" title="Add" data-toggle="tooltip" id="<?php echo $student_id; ?>"><i class="fa fa-user-plus"></i></a>
<a class="edit" title="Edit" data-toggle="tooltip" id="<?php echo $student_id; ?>"><i class="fa fa-pencil"></i></a>
<a class="delete" title="Delete" data-toggle="tooltip" id="<?php echo $student_id; ?>"><i class="fa fa-trash-o"></i></a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</body>
</html>