The ioBroker.marstek-venus adapter provides full integration with Marstek Venus series energy storage systems, implementing the official Open API for complete device control and monitoring.
Sources: marstekEnergy/ha_marstek, taurgis/has-marstek-local-api, rweijnen/marstek-firmware-archive
| Device | Open API | PV Support | Notes |
|---|---|---|---|
| Venus C | ❓ | ❓ | Supported |
| Venus E 2.0 | ❓ | ❓ | Not compatible — causes CT003 disconnection |
| Venus E 3.0 | ✅ | ❓ | Requires "new firmware" (Control ≥ v144) |
| Venus D 3.0 | ❓ | ❓ | Supported |
| Venus A 3.0 | ✅ | ✅ | Supported |
⚠️ Venus E 2.0 warning: Using the Open API on Venus E 2.0 may cause disconnection between the device and the CT003 current transformer. This is confirmed by both the official Marstek integration and multiple community integrations.
The firmware archive only covers Venus E 3.0. No community-archived firmware exists yet for Venus A/C/D.
| Version | Date | Notable changes |
|---|---|---|
| v1476 (latest) | Mar 2026 | Improved MQTT connection stability |
| v144 | Nov 2025 | Anti-backflow power baseline; DOD setting; new energy meter support (SMR-P1/IR/TIC, TPM2-100CT); Bluetooth disable feature |
| Version | Date | Notable changes |
|---|---|---|
| v110 (latest) | Dec 2025 | Re-release of v109 |
| v106 | Oct 2025 | Fix SOC jump issue with Chuneng cells |
| Component | Venus C | Venus E 3.0 | Venus D 3.0 | Venus A 3.0 |
|---|---|---|---|---|
| Marstek (discovery) | ✅ | ✅ | ✅ | ✅ |
| WiFi | ✅ | ✅ | ✅ | ✅ |
| Bluetooth | ✅ | ✅ | ✅ | ✅ |
| Battery | ✅ | ✅ | ✅ | ✅ |
| PV (Photovoltaic) | ❓ | ❓ | ✅ | ✅ |
| ES (Energy System) | ✅ | ✅ | ✅ | ✅ |
| EM (Energy Meter) | ✅ | ✅ | ✅ | ✅ |
| DOD | ✅ | ✅ (≥ v144) | ✅ | ✅ |
| Ble_block / Ble_Ctrl | ✅ | ✅ | ✅ | ✅ |
| Led_Ctrl | ✅ | ✅ | ✅ | ✅ |
- Open API must be enabled in the Marstek mobile app
- Device and client must be on the same LAN segment
- UDP port 30000 (default) must be reachable
- ✅ Full device auto-discovery on local network
- ✅ 3-tier polling system for optimized updates:
- Fast poll (default 5s): Power values (pv, grid, battery, load)
- Normal poll (default 20s): All status values
- Slow poll (10min): Network status
- ✅ Request deduplication - prevents overlapping requests
- ✅ Automatic retry - 3 retries with 3000ms timeout per request
- ✅ Complete state coverage (battery, power, energy, network, device info)
- ✅ Full control support (Auto/AI/Manual/Passive modes)
- ✅ Manual mode configuration (time slots, weekdays, power, enable/disable)
- ✅ Passive mode configuration (power, duration)
- ✅ Energy monitoring (PV, grid import/export, load)
- ✅ Network status monitoring (IP, WiFi, BLE)
- ✅ Energy meter with phase measurements (A/B/C phases)
- Enable Open API in Marstek mobile app and note UDP port (default 30000)
- Install adapter via ioBroker admin interface
- Configure instance:
- Auto discovery (recommended) or manual IP entry
- Set UDP port as configured in app
- Adjust poll interval and fastPollInterval (default 5000ms)
- Save and start adapter
| Parameter | Description | Default |
|---|---|---|
| ipAddress | Leave empty for auto-discovery, or enter device IP | (empty) |
| udpPort | UDP port for communication | 30000 |
| pollInterval | Normal poll interval for all status values (ms) | 30000 |
| fastPollInterval | Fast poll interval for power values (ms) | 10000 |
| requestTimeout | Request timeout before retry (ms) | 5000 |
| maxRetries | Max retry attempts per request | 3 |
| autoDiscovery | Enable automatic device discovery | true |
marstek-venus.0.battery.soc- State of charge (0-100%) | %, romarstek-venus.0.battery.temperature- Battery temperature in °C | °C, romarstek-venus.0.battery.capacity- Remaining capacity in Wh | Wh, romarstek-venus.0.battery.ratedCapacity- Rated capacity in Wh | Wh, romarstek-venus.0.battery.chargingAllowed- Charging permitted (true/false) | bool, rwmarstek-venus.0.battery.dischargingAllowed- Discharging permitted (true/false) | bool, rw
marstek-venus.0.power.pv- PV power generation in W | W, romarstek-venus.0.power.pvVoltage- PV voltage in V | V, romarstek-venus.0.power.pvCurrent- PV current in A | A, romarstek-venus.0.power.grid- Grid power flow (positive=import, negative=export) | W, romarstek-venus.0.power.battery- Battery power flow in W | W, romarstek-venus.0.power.load- Load consumption in W | W, ro
marstek-venus.0.energy.pvTotal- Total PV energy generated in Wh | Wh, romarstek-venus.0.energy.gridImport- Total grid energy imported in Wh | Wh, romarstek-venus.0.energy.gridExport- Total grid energy exported in Wh | Wh, romarstek-venus.0.energy.loadTotal- Total load energy consumed in Wh | Wh, ro
marstek-venus.0.control.mode- Operating mode (Auto/AI/Manual/Passive) | enum, rwmarstek-venus.0.control.passivePower- Passive mode power target in W (positive=charge, negative=discharge) | W, rwmarstek-venus.0.control.passiveDuration- Passive mode duration in seconds | s, rwmarstek-venus.0.control.manualTimeNum- Manual mode time slot (0-9) | number, rwmarstek-venus.0.control.manualStartTime- Manual mode start time (HH:MM) | string, rwmarstek-venus.0.control.manualEndTime- Manual mode end time (HH:MM) | string, rwmarstek-venus.0.control.manualWeekdays- Manual mode weekdays (1=Mon, 127=all) | number, rwmarstek-venus.0.control.manualPower- Manual mode power target in W | W, rwmarstek-venus.0.control.manualEnable- Enable manual mode schedule (true/false) | bool, rw
marstek-venus.0.network.ip- Device IP address | ip, romarstek-venus.0.network.ssid- WiFi SSID | string, romarstek-venus.0.network.rssi- WiFi signal strength in dBm | dBm, romarstek-venus.0.network.bleState- BLE connection state (connected/disconnected) | enum, ro
marstek-venus.0.info.device- Device model (Venus A, B, C, D, E) | string, romarstek-venus.0.info.firmware- Firmware version number | string, romarstek-venus.0.info.mac- Device MAC address | mac, romarstek-venus.0.info.connection- Connection status (true/false) | bool, ro
marstek-venus.0.energymeter.ctState- CT sensor connection state (0=disconnected, 1=connected) | enum, romarstek-venus.0.energymeter.powerA- Phase A power in W | W, romarstek-venus.0.energymeter.powerB- Phase B power in W | W, romarstek-venus.0.energymeter.powerC- Phase C power in W | W, romarstek-venus.0.energymeter.powerTotal- Total three-phase power in W | W, ro
- Auto: Fully automatic operation based on device algorithms
- AI: AI-powered optimization mode
- Manual: Schedule-based manual control with 10 time slots
- Passive: Maintain battery at specified power level for specified duration
Manual mode uses 10 time slots per day (0-9). Configure:
control.manualTimeNum- Select time slot (0-9)control.manualStartTime- Start time for the slot (HH:MM)control.manualEndTime- End time for the slot (HH:MM)control.manualWeekdays- Bitmask for weekdays (1=Mon, 127=all)control.manualPower- Target power for the slot in Wcontrol.manualEnable- Enable this time slot
control.passivePower- Target power level in W (positive=charge, negative=discharge)control.passiveDuration- Duration in seconds (0-86400)
The adapter implements 100% of the official Marstek Open API Revision 1.0:
Marstek.GetDevice- Device discovery and informationWifi.GetStatus- WiFi connection statusBLE.GetStatus- Bluetooth statusBat.GetStatus- Battery detailed statusPV.GetStatus- PV array statusES.GetStatus- Energy storage system statusES.GetMode- Current operating modeES.SetMode- Set operating mode and configurationEM.GetStatus- Energy meter measurements
- Ensure UDP port 30000 is open and matches mobile app configuration
- Check that device is on the same network subnet
- Try manually entering IP address if auto-discovery fails
- Verify device WiFi connection is working
- Check firewall settings allowing UDP traffic
- Verify network connectivity to device
- Restart adapter and device
- Check WiFi signal strength (network.rssi)
- Adjust
fastPollIntervalfor power value update frequency (default 5000ms) - Adjust
pollIntervalfor normal status update frequency (default 20000ms) - Adjust
requestTimeoutif device needs more time to respond (default 3000ms) - Increase
maxRetriesfor unreliable network connections - Slow poll runs every 10 minutes for network status
- Verify control states are writable (some are read-only)
- Check that mode changes are properly configured
- Ensure manual mode settings are valid
MIT License
Copyright (c) 2024-2026 ioBroker Community
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- verified timeout configuration values across all polling loops and request handling
- refactor: replace fragile mixin pattern
- refactor: replace busy-wait polling loop in sendRequest() with direct promise chain reuse
- fix: PLACEHOLDER Symbol comparison - now defined once at module level instead of per-call
- refactor: centralize poll interval magic numbers
- Fixed: VenusE/VenusC devices failing polls with "Method not found" errors by skipping PV polling for models that don't support PV component (per API documentation, only Venus D/A have PV support)
- refactor: replace
setStateAsyncwithsetStateacross codebase for consistency - chore: adjust polling and timeout configuration ranges in jsonConfig
- docs: expand README with detailed device support matrix, API component compatibility table, firmware details, and new warnings for Venus E 2.0 connectivity
- Added Venus A device support to adapter descriptions
- Updated all documentation to include Venus A in the supported devices list
- Fix: validate and sanitize all
setSettingsinput values (type coercion, numeric range clamping, IP whitespace trim) to prevent security issues
- new release
Older changelog entries are available in CHANGELOG_OLD.md
For support, visit the ioBroker forum or GitHub repository. When reporting issues, please include:
- Adapter version
- Device model
- Firmware version
- Network configuration
- Detailed error messages