mirror of https://github.com/lumapu/ahoy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marcus
11113da53e
|
3 years ago | |
---|---|---|
.. | ||
html | 3 years ago | |
CircularBuffer.h | 3 years ago | |
README.md | 3 years ago | |
app.cpp | 3 years ago | |
app.h | 3 years ago | |
crc.cpp | 3 years ago | |
crc.h | 3 years ago | |
debug.h | 3 years ago | |
defines.h | 3 years ago | |
eep.h | 3 years ago | |
esp8266.ino | 3 years ago | |
hmInverters.h | 3 years ago | |
hmRadio.h | 3 years ago | |
hmSystem.h | 3 years ago | |
main.cpp | 3 years ago | |
main.h | 3 years ago | |
mqtt.h | 3 years ago |
README.md
OVERVIEW
This code is intended to run on a Wemos D1mini or similar. The code is based on 'Hubi's code, which can be found here: https://www.mikrocontroller.net/topic/525778?page=3#7033371
The NRF24L01+ radio module is connected to the standard SPI pins. Additional there are 3 pins, which can be set individual: CS, CE and IRQ These pins can be changed from the /setup URL
Compile
This code can be compiled using Arduino. The settings were:
- Board: Generic ESP8266 Module
- Flash-Size: 1MB (FS: none, OTA: 502kB)
Flash ESP with firmware
- flash the ESP with the compiled firmware using the UART pins or any preinstalled firmware with OTA capabilities
- repower the ESP
- the ESP will start as access point (AP) if there is no network config stored in its eeprom
- connect to the AP, you will be forwarded to the setup page
- configure your WiFi settings, save, repower
- check your router for the IP address of the module
Usage
Connect the ESP to power and to your serial console. The webinterface has the following abilities:
- OTA Update (over the air update)
- Configuration (Wifi, inverter(s), Pinout, MQTT)
- visual display of the connected inverters / modules
- some statistics about communication (debug)
The serial console will print the converted values which were read out of the inverter(s)
Compatiblity
For now the following inverters should work out of the box:
- HM600
- HM1200
USED LIBRARIES
Time
RF24