Skip to content

Commit

Permalink
add shortcut icon, small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
prefixFelix committed Dec 7, 2023
1 parent 7cdeb1e commit f60aa42
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- The original FernoTron remote control can be used alongside FernoPy
- Quick and easy to set up
- Cheap (total cost of only 10€)
- Covers a whole medium-sized house
- ESP32 / ESP8266 support
- Written in MicroPython
- **[Protocol documentation](PROTOCOL.md)**
Expand Down Expand Up @@ -245,6 +246,10 @@ If you have a SDR on hand, such as an RTL-SDR, you can also sniff the ID by usin

> :information_source: If you open FernoPy in your smartphone's web browser, you can create a short cut for your home screen.

## Installation (Windows)

`todo`

## Credits

Protocol documentation - [tronferno-mcu (Bert Winkelmann)](https://github.com/zwiebert/tronferno-mcu)
Expand Down
Binary file added img/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 9 additions & 8 deletions src/tx/assets/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<!DOCTYPE html>

<!doctype html>
<html>
<head>
<title>FernoPy</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="assets/remote.js"></script>
<link rel="stylesheet" href="assets/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link rel="apple-touch-icon" href="https://raw.githubusercontent.com/prefixFelix/FernoPy/main/img/apple-touch-icon.png"/>
</head>

<body onload="getConfig()">
Expand Down Expand Up @@ -43,11 +45,10 @@
<button class="con-button" onclick="postData('down')"><i class="fa-solid fa-chevron-down fa-2xl"></i></button>
</div>
</div>
</body>

<footer>
<p>&lt;/&gt; by <a href="https://github.com/prefixFelix">prefixFelix</a></p>
<p>Version 1.0</p>
</footer>

</html>
<div class="footer">
<p>&lt;/&gt; by <a href="https://github.com/prefixFelix">prefixFelix</a></p>
<p>Version 1.0</p>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions src/tx/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ button:active {
height: 50px;
}

footer {
.footer {
margin-top: 50px;
text-align: center;
font-size: 1rem;
line-height: 5px;
}
}
2 changes: 1 addition & 1 deletion src/tx/tx_config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General device configuration
general = {
'symbol_length': 300, # in µs
'symbol_length': 350, # in µs
'tx_pin': 5, # GPIO!
'tx_repeat': 4, # MSGs transmitted per command
'essid': 'YOUR_NETWORK_ESSID',
Expand Down

0 comments on commit f60aa42

Please sign in to comment.