homebridge-weheat
v0.1.0
Published
Homebridge plugin for WeHeat heat pumps (Blackbird, Sparrow, Flint)
Maintainers
Readme
homebridge-weheat
Homebridge plugin for WeHeat heat pumps (Blackbird, Sparrow, Flint).
Brings read-only heat pump status into Apple HomeKit via a child bridge. Uses the WeheatCommunityAPI — the same API as the Domoticz WeHeat plugin by Jordy Knubben.
Status: v0.1.0 — read-only sensors. Legionella trigger and tap water boost are planned when the WeHeat API exposes write endpoints.
Supported devices
Tested with:
- WeHeat Blackbird P80 (all-electric)
Should work with other WeHeat models on the same community API (Sparrow, Flint). Open an issue if you test another model.
HomeKit accessories
| Accessory | Type | Source |
|-----------|------|--------|
| Buitenlucht in / uit | Temperature | tAirIn, tAirOut |
| WP flow / retour | Temperature | tWaterOut, tWaterIn |
| CV flow | Temperature | tWaterHouseIn |
| Kamertemp / setpoint | Temperature | tRoom, tRoomTarget |
| CV setpoint | Temperature | tThermostatSetpoint |
| Elektrische nachtverwarming | Switch (read-only) | Backup heater status |
| Verwarmen / Tapwater / Legionella actief | Contact sensor | Heat pump state |
| Elektrisch / Warmte vermogen | Light sensor* | Power in W |
| COP | Light sensor* | Coefficient of performance |
*HomeKit has no native power sensor. Watts and COP are exposed via Light Sensor — the numeric value is watts or COP, not lux.
Installation
Homebridge UI (recommended)
Once published to npm:
- Homebridge UI → Plugins → search WeHeat
- Install homebridge-weheat
- Configure platform → enable Child Bridge
- Restart Homebridge and pair Homebridge WeHeat in the Home app
Install from GitHub (manual / Docker)
cd /homebridge # or your Homebridge config directory inside the container
git clone https://github.com/MacEdwin/homebridge-weheat.git
npm install ./homebridge-weheat --saveRestart Homebridge. The plugin appears as WeHeat in the platform list.
Install from npm (when available)
npm install -g homebridge-weheatConfiguration
Example config.json platform block:
{
"platform": "WeHeat",
"name": "WeHeat",
"username": "[email protected]",
"password": "your-password",
"heatPumpId": "",
"pollInterval": 120,
"_bridge": {
"name": "Homebridge WeHeat",
"username": "0E:XX:XX:XX:XX:XX",
"port": 51210
}
}| Option | Required | Description |
|--------|----------|-------------|
| name | yes | Platform name (prefix for accessory names) |
| username | yes | WeHeat portal email |
| password | yes | WeHeat portal password |
| heatPumpId | no | Heat pump UUID; leave empty to auto-discover the first pump |
| pollInterval | no | API poll interval in seconds (60–600, default 120) |
| _bridge | no | Child bridge settings (recommended) |
Find your heat pump UUID
[email protected] WEHEAT_PASS=your-password node scripts/discover-weheat.mjsPairing with Apple Home
This plugin uses a child bridge. After setup:
- Open Homebridge UI → Status → QR code for Homebridge WeHeat
- Home app → + → Add Accessory → scan QR code
- Assign accessories to a room (e.g. Warmtepomp)
Sensors not on the Home app main screen?
That is normal. Apple Home shows switches on the overview; temperature and contact sensors appear under Rooms or Settings → Hubs & bridges → Homebridge WeHeat. Tap a sensor for live values, or add it to Favorites for the home status bar.
API notes
This plugin uses:
| Setting | Value |
|---------|-------|
| Client ID | WeheatCommunityAPI |
| Auth | https://auth.weheat.nl/... |
| API | https://api.weheat.nl |
| Endpoints | /api/v1/heat-pumps, /api/v1/heat-pumps/{id}/logs/latest |
This is not the Home Assistant HomeAssistantAPI / third_party integration (that endpoint returns 403 for community tokens).
Development
git clone https://github.com/MacEdwin/homebridge-weheat.git
cd homebridge-weheat
npm install
npm run buildLink into a local Homebridge instance:
npm link
# In Homebridge directory:
npm link homebridge-weheatRoadmap
- [ ] Publish to npm
- [ ] Legionella trigger switch (when API supports write)
- [ ] Tap water boost
- [ ] Better HomeKit characteristics for power/COP
- [ ] Homebridge Verified plugin request
Contributing
Issues and pull requests are welcome. Please redact credentials from logs and config snippets.
- Fork the repository
- Create a feature branch
- Run
npm run buildbefore submitting
Credits
- API approach based on the Domoticz WeHeat plugin by Jordy Knubben
- Built for the Homebridge community
License
MIT © Edwin Clement
