8000 GitHub - foxthefox/ecoflow: Provides access to ecoflow devices via the homie MQTT convention
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

foxthefox/ecoflow

 
 

Repository files navigation

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 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
python -m venv .venv
. venv/bin/activate
pip install -r requirements.txt
  1. Create .env file with credentials to login
EF_USERNAME=<ecoflow account username (email address)>
EF_PASSWORD=<ecoflow account password>
HOMIE_MQTT=<mqtt server ip/hostname>
HOMIE_MQTT_PORT=<mqtt server port>
  1. Create config.json in configs subfolder
{
    "devices": [{
        "type": "powerstream",
        "serial": "serial-number of the powerstream device"
    }]
}
  1. Create directory for logging
mkdir logs
  1. Run: ./index.py

About

Provides access to ecoflow devices via the homie MQTT convention

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Dockerfile 1.6%
  • Shell 0.1%
0