Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/otti/pvexcess
Use your photovoltaics excess power
https://github.com/otti/pvexcess
arduino arduino-ide esp32 photovoltaic platformio solar solar-energy
Last synced: about 1 month ago
JSON representation
Use your photovoltaics excess power
- Host: GitHub
- URL: https://github.com/otti/pvexcess
- Owner: otti
- License: mit
- Created: 2022-09-11T18:57:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T16:57:44.000Z (about 2 years ago)
- Last Synced: 2024-01-29T15:15:50.688Z (10 months ago)
- Topics: arduino, arduino-ide, esp32, photovoltaic, platformio, solar, solar-energy
- Language: C++
- Homepage:
- Size: 198 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PV Excess
This software will enable you to turn on your appliances automatically if your pv system is supplying enough excess power.
The device will receive the current power from your meter by MQTT. Positive values mean that you are receiving power from the grid.
Negative values mean that you are feeding power into the grid.
If the excess power will rise above an adjustable level and will stay above that level for an adjustable ammount of time,
an output of the ESP will turn on.
Two outputs are avilable. The first will stay on permanently after the trigger threshold will be exceeded. E.g. a relay can be connected
to this output to power your appliances. The second output will just stay on for 500 ms. E.g. this can "push" the start button of a device by bridging it´s start button with a relay.
# How to install
* Checkout this repo
* Rename and adapt [Config.h.example](https://github.com/otti/PvExcess/blob/master/SRC/PvExcess/Config.h.example) to Config.h with your compile time settings
* Flash the TTGO with ARduino IDE
* Connect to the setup wifi called PvExcess (PW: PvExcess) and configure the firmware via the webinterface at http://192.168.4.1
* Select your WiFi and enter your password
* Set MQTT server, port, username, password, topic and the JSON entry within the MQTT data
* If you need to reconfigure the stick later on you have to press the ap button for a few seconds (next beside the reset button)## Features
Implemented Features:
* Built-in simple Webserver for debugging and firmware update
* It supports convenient OTA firmware update (`http:///firmware`)
* Wifi manager with own access point for initial configuration of Wifi and MQTT server (IP: 192.168.4.1, SSID: PvExcess, Pass: PvExcess)## Supported devices
* LILYGO TTGO T-Display ESP32 1.14 Inch (240x135 pixel)## JSON Format Data
The value of ´ElectricalPower´ has to be a signed integer
example:
`{
"ElectricalPower": -500
}`## Some keywords
ESP32, Arduino, MQTT, JSON, photovoltaics, solar, excess power, excessive power, surplus power, overflow power