mirror of https://github.com/lumapu/ahoy.git
Andreas Schiffler
2 years ago
committed by
GitHub
15 changed files with 684 additions and 314 deletions
@ -0,0 +1,58 @@ |
|||
name: Ahoy Dev-Build for ESP8266/ESP32 |
|||
|
|||
on: |
|||
push: |
|||
branches: development* |
|||
paths-ignore: |
|||
- '**.md' # Do no build on *.md changes |
|||
jobs: |
|||
build: |
|||
runs-on: ubuntu-latest |
|||
|
|||
steps: |
|||
- uses: actions/checkout@v3 |
|||
with: |
|||
ref: development02 |
|||
- uses: benjlevesque/short-sha@v1.2 |
|||
id: short-sha |
|||
with: |
|||
length: 7 |
|||
- name: cache-pip |
|||
uses: actions/cache@v3 |
|||
with: |
|||
path: ~/.cache/pip |
|||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} |
|||
restore-keys: | |
|||
${{ runner.os }}-pip- |
|||
- name: cache-platformio |
|||
uses: actions/cache@v3 |
|||
with: |
|||
path: ~/.platformio |
|||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} |
|||
- name: setup-python |
|||
uses: actions/setup-python@v3 |
|||
- name: install-platformio |
|||
run: | |
|||
python -m pip install --upgrade pip |
|||
pip install --upgrade platformio |
|||
- name: update-html |
|||
working-directory: tools/esp8266/html |
|||
run: python convert.py |
|||
- name: Run PlatformIO |
|||
run: pio run -d tools/esp8266 --environment esp8266-release --environment esp32-wroom32-release |
|||
- name: rename-binary-files |
|||
id: rename-binary-files |
|||
working-directory: tools/esp8266/scripts |
|||
run: python getVersion.py |
|||
- name: set-version |
|||
uses: cschleiden/replace-tokens@v1 |
|||
with: |
|||
files: tools/esp8266/User_Manual.md |
|||
env: |
|||
VERSION: ${{ steps.rename-binary-files.outputs.name }} |
|||
- name: create-artifact |
|||
run: zip --junk-paths ${{ steps.rename-binary-files.outputs.name }}.zip tools/esp8266/.pio/build/out/* tools/esp8266/User_Manual.md |
|||
- uses: actions/upload-artifact@v3 |
|||
with: |
|||
name: ${{ steps.rename-binary-files.outputs.name }}_dev_build |
|||
path: ./${{ steps.rename-binary-files.outputs.name }}.zip |
@ -1,17 +1,21 @@ |
|||
![Logo](https://github.com/grindylow/ahoy/blob/main/doc/logo1_small.png?raw=true) |
|||
|
|||
# ahoy |
|||
Various tools, examples, and documentation for communicating with Hoymiles microinverters. |
|||
Ahoi is a project to bypass the original Hoymiles cloud solution. |
|||
In order to use this project, it is important what the area of application looks like. |
|||
With each version it is necessary to have an NRF24L01+. |
|||
|
|||
In particular: |
|||
Click on the link below you are interested in. |
|||
There you will find further explanations on how to proceed. (*Note: It is still under construction!*) |
|||
|
|||
* `doc/hoymiles-format-description.txt` is a [detailed description of the communications format](doc/hoymiles-format-description.md) and the history of this project |
|||
* `doc/getting-started-ESP8266.md` shows the [hardware setup for an ESP8266-based system](doc/getting-started-ESP8266.md) |
|||
* The `tools` folder contains various software tools for RaspberryPi, Arduino and ESP8266/ESP32: |
|||
* A [version for ESP8266](tools/esp8266/) that includes an web interface ![](../../actions/workflows/compile_esp8266.yml/badge.svg) |
|||
* A [version for Arduino Nano](tools/nano/NRF24_SendRcv/) |
|||
* An [alternative Version of the above](tools/NRF24_SendRcv/) |
|||
* A [different implementation](tools/HoyDtuSim/) |
|||
* An [implementation for Raspberry Pi](tools/rpi/) that polls an inverter and archives results as log files/stdout as well as posting them to an MQTT broker. |
|||
##### Most updated section |
|||
- [ESP8266](tools/esp8266/) that includes an web interface ![](../../actions/workflows/compile_esp8266.yml/badge.svg) |
|||
|
|||
Contributors are always welcome! |
|||
##### will be updated as needed |
|||
- [Arduino Nano](tools/nano/NRF24_SendRcv/) |
|||
- [Raspberry Pi](tools/rpi/) |
|||
- [others](tools/nano/NRF24_SendRcv/) |
|||
|
|||
If errors occur or you have suggestions for ideas, please feel free to contact us [here](https://github.com/grindylow/ahoy/issues). |
|||
|
|||
**Contributors are always welcome!** |
|||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue