What's the issue?
I need some help with the CT002 setup.
On both of my Marstek B2500 devices I can successfully select the CT002, and the current power consumption is displayed correctly.
However, both batteries regulate the output power only for a few seconds and then stop adjusting completely. After restarting the AstraMeter App, regulation works again for a few seconds before stopping again.
The logs continue normally and both devices keep communicating with the CT002 emulator, but the actual output regulation stops.
It does not matter whether I use the UI configuration or config.ini.
I already tried:
complete app reinstall
restarting both batteries
recreating all configs from scratch
Both batteries have a stable network connection.
Your setup
Installation method:
Storage system:
- Marstek B2500 HMA1 (Firmware V230.7)
- Marstek B2500 HMA2 (Firmware V230.7)
Power meter source:
Installed apps:
- AstraMeter (Dev)
- Hame Relay
- hm2mqtt
Configuration
[GENERAL]
DEVICE_TYPE = ct002
POLL_INTERVAL = 1
THROTTLE_INTERVAL = 0
[CT002]
CT_MAC =
UDP_PORT = 12345
DEDUPE_TIME_WINDOW = 0
ACTIVE_CONTROL = True
FAIR_DISTRIBUTION = True
SATURATION_DETECTION = True
SMOOTH_TARGET_ALPHA = 0.9
DEADBAND = 30
WIFI_RSSI = -50
MIN_EFFICIENT_POWER = 150
EFFICIENCY_ROTATION_INTERVAL = 900
[JSON_HTTP]
URL = http://192.168.100.143/v1/json
JSON_PATHS = $.power
Error messages or logs
Add-on version: next You are running the latest version of this add-on. System: Home Assistant OS 17.3 (amd64 / qemux86-64) Home Assistant Core: 2026.5.1 Home Assistant Supervisor:
2026.05.0 2026-05-14 09:54:41 INFO:astrameter:CT002 UDP server listening on port 12345 2026-05-14 09:54:41 INFO:astrameter:MQTT Insights connected to 192.168.100.30:1883 2026-05-14 09:54:42 INFO:astrameter:CT002 consumer 94706ccdaf22 phase detected: A 2026-05-14 09:54:44 INFO:astrameter:CT002 consumer e88da6f35471 phase detected: A 2026-05-14 09:54:44 INFO:astrameter:Efficiency: deprioritizing consumer e88da6f35471 (demand 272W, 1 active)
...
2026-05-14 09:55:30 DEBUG:astrameter:CT002 request from ('192.168.100.50', 10000): 010235307c484d412d327c6538386461366633353437317c484d452d347c3032623235303135626134337c417c3230033137
2026-05-14 09:55:30 DEBUG:astrameter:CT002 parsed fields from ('192.168.100.50', 10000): meter_dev_type=HMA-2 meter_mac=e88da6f35471 ct_type=HME-4 ct_mac=02b25015ba43 phase='A' power=20 consumer_id=e88da6f35471
2026-05-14 09:55:30 DEBUG:astrameter:CT002 response to ('192.168.100.50', 10000): 010239337c484d452d347c3032623235303135626134337c484d412d327c6538386461366633353437317c2d32307c307c307c2d32307c317c307c307c307c2d35307c38327c307c307c307c307c307c307c34317c307c307c30033464 (fields=['HME-4', '02b25015ba43', 'HMA-2', 'e88da6f35471', '-20', '0', '0', '-20', '1', '0', '0', '0', '-50', '82', '0', '0', '0', '0', '0', '0', '41', '0', '0', '0'])
2026-05-14 09:55:30 DEBUG:astrameter:CT002 request from ('192.168.100.124', 10000): 010235307c484d412d317c3934373036636364616632327c484d452d347c3032623235303135626134337c417c3230033466
2026-05-14 09:55:30 DEBUG:astrameter:CT002 parsed fields from ('192.168.100.124', 10000): meter_dev_type=HMA-1 meter_mac=94706ccdaf22 ct_type=HME-4 ct_mac=02b25015ba43 phase='A' power=20 consumer_id=94706ccdaf22
...
Keeps repeating
Additional info
Both batteries continue sending CT002 requests and receiving responses normally, but the actual output regulation no longer changes after a few seconds.
I am not sure if this is a configuration issue, firmware limitation, or a problem with active control mode.
What's the issue?
I need some help with the CT002 setup.
On both of my Marstek B2500 devices I can successfully select the CT002, and the current power consumption is displayed correctly.
However, both batteries regulate the output power only for a few seconds and then stop adjusting completely. After restarting the AstraMeter App, regulation works again for a few seconds before stopping again.
The logs continue normally and both devices keep communicating with the CT002 emulator, but the actual output regulation stops.
It does not matter whether I use the UI configuration or config.ini.
I already tried:
complete app reinstall
restarting both batteries
recreating all configs from scratch
Both batteries have a stable network connection.
Your setup
Installation method:
Storage system:
Power meter source:
Installed apps:
Configuration
Error messages or logs
Additional info
Both batteries continue sending CT002 requests and receiving responses normally, but the actual output regulation no longer changes after a few seconds.
I am not sure if this is a configuration issue, firmware limitation, or a problem with active control mode.