Self‑hosted web app to view and control your Mitsubishi heat pump via the MELCloud service. This guide is written for beginners and focuses on getting you running quickly on your own machine or home server.
- Choose your setup below. Both let you pick the web port first, then start the app.
- Install Docker and Docker Compose.
- Download the project:
git clone https://github.com/simonwoollams/MELCloud_Integration.git
cd MELCloud_Integration
- Pick a port (default 8000). To change it, edit
docker-compose.ymland replace8000:8000with your port, for example9000:8000. - Start the app:
docker-compose up -d
- Open the site:
http://localhost:8000 # or your chosen port
Your data (database, logs, backups) is stored in local folders so updates won’t lose anything.
- Install Python 3.8 or newer.
- Download the project:
git clone https://github.com/simonwoollams/MELCloud_Integration.git
cd MELCloud_Integration
- Choose a port. Open
start.pyand change thePORTvalue if you want something other than 8000. - Run the starter:
python start.py
- Open the site:
http://localhost:8000 # or your chosen port
- Create your admin account when prompted.
- Go to Settings and enter your MELCloud email and password so the app can read your devices.
- Optional: turn on background auto‑fetch so data updates automatically.
That’s it — you should now see device status, history and controls.
- Dashboard shows live status and quick actions.
- Schedules let you automate temperature or mode changes.
- Energy and History pages show past usage and summaries.
- Docker: edit
docker-compose.ymland change the left side ofHOST:8000, e.g.9000:8000, then rundocker-compose up -dagain. - No Docker: edit
PORTinstart.pyand rerunpython start.py.
- Can’t open the site: make sure nothing else uses your chosen port, or pick another (e.g., 8080 or 9000).
- Blank/old data: open Settings and click Refresh, or enable Auto‑Fetch.
- Login issues: use the “Forgot password” flow if available, or delete the
instance/melcloud.dbfile only if you’re ok starting fresh. - Docker rebuild after updates:
docker-compose down
docker-compose up -d --build
- Real‑time monitoring: temperatures, modes, Wi‑Fi signal
- History and energy summaries
- Responsive, mobile‑friendly dashboard
- Schedules and manual controls (e.g., hot‑water boost)
- App:
app.py(no need to edit for basic use) - Settings, dashboard, pages: under
templates/andstatic/ - Data folders (Docker): see
docker-compose.ymlvolumes (persist across updates) - Local database (no‑Docker):
instance/melcloud.db
- No default users — you create the first admin on first run.
- If exposing to the internet, run behind HTTPS (a reverse proxy like Nginx/Traefik) and set a strong
SECRET_KEYenvironment variable.
- Open a GitHub issue with what you tried and what happened.
- Include your platform (Windows/Mac/Linux), your chosen port, and whether you used Docker or the
start.pyoption.
MIT — see LICENSE.