Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peuter/ecoflow
Provides access to ecoflow devices via the homie MQTT convention
https://github.com/peuter/ecoflow
ecoflow homie mqtt powerstream smarthome
Last synced: 24 days ago
JSON representation
Provides access to ecoflow devices via the homie MQTT convention
- Host: GitHub
- URL: https://github.com/peuter/ecoflow
- Owner: peuter
- Created: 2023-07-30T16:26:13.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-22T16:45:09.000Z (10 months ago)
- Last Synced: 2024-04-13T23:07:22.141Z (9 months ago)
- Topics: ecoflow, homie, mqtt, powerstream, smarthome
- Language: Python
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ecoflow MQTT client
Connect to ecoflow MQTT server to communicate with an ecoflow device (currently only powerstream microinverters, smartplugs and delta max are supported). Creates a [homie](https://homieiot.github.io/) device for the ecoflow devices to be able to integrate them into smarthome systems with homie support.
## start
1. Create virtual environment and install dependencies
```shell
python -m venv .venv
. venv/bin/activate
pip install -r requirements.txt
```2. Create `.env` file with credentials to login
```dotenv
EF_USERNAME=
EF_PASSWORD=
HOMIE_MQTT=
HOMIE_MQTT_PORT=
HOMIE_MQTT_USERNAME=
HOMIE_MQTT_PASSWORD=
```3. Create `config.json` in `configs` subfolder
```json
{
"devices": [{
"type": "powerstream",
"serial": "serial-number of the powerstream device"
}]
}```
4. Create directory for logging
```shell
mkdir logs
```5. Run: `./index.py`