mirror of https://github.com/lumapu/ahoy.git
lumapu
2 years ago
22 changed files with 670 additions and 28 deletions
@ -1,2 +1,3 @@ |
|||
/public |
|||
/.hugo_build.lock |
|||
/resources |
|||
|
@ -0,0 +1,32 @@ |
|||
# Information |
|||
|
|||
This repository contains the sources for [AhoyDTU](http://ahoydtu.de). The sources are converted by a *static site generator* [Hugo](https://gohugo.io/). |
|||
The main Repository URL is: [](https://github.com/lumapu/ahoy) |
|||
|
|||
|
|||
# Contribute |
|||
|
|||
Feel free to modify / add contents of the website which helps other users to understand better how to start or use AhoyDTU. |
|||
|
|||
## Quick Howto |
|||
|
|||
* edit files inside the directory `content` most of them are Markdown files (\*.md). |
|||
* once you're finish commit your changes (as Pull-Request) |
|||
* wait until a collaborator merges your changes |
|||
|
|||
## Design / CSS |
|||
|
|||
* this site uses [Bootstrap 5](https://getbootstrap.com/docs/5.2/getting-started/introduction/) |
|||
|
|||
## Offline convertion of sources to website |
|||
|
|||
### Docker |
|||
|
|||
* you can use a local docker container which runs Hugo to convert the sources to a static site: |
|||
`docker run --rm -it -v ${pwd}\:/src -p 80:1313 klakegg/hugo:0.101.0-ext-alpine shell` |
|||
* from the shell start hugo server by typing `hugo server` |
|||
* point your browser to http://localhost |
|||
|
|||
### Hokus |
|||
|
|||
Hokus is a WYSIWYG Hugo Editor [](https://www.hokuscms.com/) |
@ -0,0 +1,11 @@ |
|||
--- |
|||
title: "Install Firmware" |
|||
date: 2022-10-26T22:49:15Z |
|||
tags: [] |
|||
draft: false |
|||
type: flash |
|||
layout: flash |
|||
--- |
|||
|
|||
|
|||
You can easily upload the latest firmware to your ESP. |
@ -1,6 +1,8 @@ |
|||
{{ define "main" }} |
|||
|
|||
<div class="container flex-shrink-0 pt-5 pb-5"> |
|||
<h1>{{ .Title }}</h1> |
|||
{{ .Content }} |
|||
</div> |
|||
|
|||
{{ end }} |
|||
|
@ -0,0 +1,68 @@ |
|||
<!doctype html> |
|||
<html lang="en" class="h-100"> |
|||
{{ partial "head.html" . }} |
|||
<script type="module" src="https://unpkg.com/esp-web-tools@9.0.3/dist/web/install-button.js?module"></script> |
|||
<body class="d-flex flex-column h-100"> |
|||
{{ partial "nav.html" . }} |
|||
<main> |
|||
<div class="container flex-shrink-0 pt-5 pb-5"> |
|||
<h1>{{ .Title }}</h1> |
|||
<p>{{ .Content }}</p> |
|||
<br/> |
|||
<h4><span class="badge rounded-pill bg-primary">1</span> Install firmware</h4> |
|||
<esp-web-install-button manifest="/firmware/manifest.json"> |
|||
<span slot="unsupported"> |
|||
<div class="alert alert-warning" role="alert"> |
|||
Your browser does not support installing things on ESP devices. Use Google Chrome or Microsoft Edge. |
|||
</div> |
|||
</span> |
|||
<span slot="not-allowed"> |
|||
<div class="alert alert-danger" role="alert"> |
|||
You are not allowed to do this using http! |
|||
</div> |
|||
</span> |
|||
</esp-web-install-button> |
|||
<br/> |
|||
<h4><span class="badge rounded-pill bg-primary">2</span> Connect to ESP</h4> |
|||
<div class="row"> |
|||
<div class="col-md-8 col-md-offset-1"> |
|||
<ul class="list-group"> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">a</span> Your ESP opens an WiFi access point (AP) with SSID <span class="badge bg-secondary">AHOY-DTU</span></li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">b</span> Connect to this WiFi with some client (Laptop, Smartphone)</li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">c</span> The default password is <span class="badge bg-secondary">esp_8266</span></li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">d</span> Navigate to the <span class="badge bg-secondary">Settings</span> page</li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">e</span> Open the section <span class="badge bg-secondary">WiFi</span> and press <span class="badge bg-secondary">Scan</span></li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">f</span> Select your home network and type your password</li> |
|||
<li class="list-group-item"><span class="badge rounded-pill bg-success">g</span> Scroll down, check <span class="badge bg-secondary">Reboot device after successful save</span> and press <span class="badge bg-secondary">save</span></li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
<h4><span class="badge rounded-pill bg-primary">3</span> Find device in home LAN / Wifi</h4> |
|||
<div class="container"> |
|||
<div class="row"> |
|||
<div class="col"> |
|||
<span class="badge rounded-pill bg-success">option a</span> |
|||
</div> |
|||
<div class="col-11"> |
|||
Check a serial console during boot of ESP. It will print the IP which it got from DHCP server. |
|||
</div> |
|||
</div> |
|||
<div class="row mt-lg-2"> |
|||
<div class="col"> |
|||
<span class="badge rounded-pill bg-success">option b</span> |
|||
</div> |
|||
<div class="col-11"> |
|||
Check devices listed in your WiFi router (eg. Fritz!Box). You should be able to find an IP-address like <span class="badge bg-secondary">192.168.x.x</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<br/> |
|||
<h4><span class="badge rounded-pill bg-primary">4</span> Settings</h4> |
|||
Point to <span class="badge bg-secondary">Settings</span> again and configure the device on your needs. |
|||
|
|||
</div> |
|||
</main> |
|||
{{ partial "footer.html" . }} |
|||
</body> |
|||
</html> |
@ -1,8 +1,58 @@ |
|||
{{ define "main" }} |
|||
|
|||
<div id="home-jumbotron" class="jumbotron text-center"> |
|||
<h1>{{ .Site.Title }}</h1> |
|||
<p class="font-125">{{ .Site.Params.homeText | markdownify }}</p> |
|||
<div class="px-4 py-5 my-5 text-center"> |
|||
<img class="d-block mx-auto mb-4" src="/img/logo1_small.png" alt="ahoyDTU logo"> |
|||
<h1 class="display-5 fw-bold">{{ .Site.Title }}</h1> |
|||
<div class="col-lg-6 mx-auto"> |
|||
<p class="lead mb-4">{{ .Site.Params.homeText | markdownify }}</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="b-example-divider"></div> |
|||
|
|||
<div class="container my-5"> |
|||
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center"> |
|||
<div class="col-lg-7 p-3 p-lg-5 pt-lg-3"> |
|||
<h1 class="display-4 fw-bold lh-1">Visualization</h1> |
|||
<p class="lead">Read all the values of your Hoymiles® inverter without cloud.<br/> |
|||
Dig deeper into your inverter. All the AC parameters (green area) are read from your inverter. You'll get an extra information field (blue) for each DC input. You're able to monitor your individual panels for shadows or damage.</p> |
|||
</div> |
|||
<div class="col-lg-4 offset-lg-1 p-0 overflow-hidden"> |
|||
<img class="rounded-lg-3" src="/img/screenshot/live.png" alt="" width="560"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="b-example-divider"></div> |
|||
|
|||
<div class="container col-xl-10 col-xxl-8 px-4 py-5"> |
|||
<div class="row align-items-center g-lg-5 py-5"> |
|||
<div class="col-lg-4 p-0 overflow-hidden"> |
|||
<img class="rounded-lg-3" src="/img/comp/wemosNrf24.png" alt="" width="270"> |
|||
</div> |
|||
<div class="col-lg-7 p-3 p-lg-5 pt-lg-3"> |
|||
<h1 class="display-4 fw-bold lh-1">Hardware</h1> |
|||
<p class="lead">The hardware consists only of two components: ESP8266 and NRF2401L+ module.<br/> |
|||
As a total hardware cost of 10 - 15€ (depends on distributor) it will be the cheapest part of your photovoltaic system. |
|||
The components can be easily soldered together and flashed using our online flash tool</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="b-example-divider"></div> |
|||
|
|||
<div class="container my-5"> |
|||
<div class="row p-4 pb-0 pe-lg-0 pt-lg-5 align-items-center"> |
|||
<div class="col-lg-7 p-3 p-lg-5 pt-lg-3"> |
|||
<h1 class="display-4 fw-bold lh-1">Connectivity</h1> |
|||
<p class="lead">The Firmware supports MQTT and has an API. All measured values will be published with an individual topic.<br/> |
|||
With MQTT you can use AhoyDTU nearly in all home automatisation systems.<br/> |
|||
The API is based on JSON objects.</p> |
|||
</div> |
|||
<div class="col-lg-4 offset-lg-1 p-0 overflow-hidden"> |
|||
<img class="rounded-lg-3" src="/img/comp/connect.png" alt="" width="310"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
{{ end }} |
|||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,23 @@ |
|||
{ |
|||
"name": "AhoyDTU", |
|||
"version": "0.5.28", |
|||
"funding_url": "https://ko-fi.com/lumapu", |
|||
"new_install_prompt_erase": true, |
|||
"builds": [ |
|||
{ |
|||
"chipFamily": "ESP32", |
|||
"parts": [ |
|||
{ "path": "/firmware/bootloader.bin", "offset": 4096 }, |
|||
{ "path": "/firmware/partitions.bin", "offset": 32768 }, |
|||
{ "path": "/firmware/ota.bin", "offset": 57344 }, |
|||
{ "path": "/firmware/221030_ahoy_0.5.28_esp32_2e08ee0.bin", "offset": 65536 } |
|||
] |
|||
}, |
|||
{ |
|||
"chipFamily": "ESP8266", |
|||
"parts": [ |
|||
{ "path": "/firmware/221030_ahoy_0.5.28_esp8266_2e08ee0.bin", "offset": 0 } |
|||
] |
|||
} |
|||
] |
|||
} |
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 99 KiB |
Loading…
Reference in new issue