Power source last read
What's the issue?
I use a DSMR ESP P1 meter sensor in HA. This updates every 10 seconds. I can see this in the log of Astrameter as well. There is no battery connected as I want to test the integration first.
On the dashboard, under power source -> last read, I can see that it updates only every 30 seconds. Throttle interval is set to 0. Wait for refresh reading is set to off in the config screen.
Is this expected behavior, or should the power source last read update every 10 seconds?
Version
2.5.0
Installation method
Home Assistant add-on
If "Other", which?
No response
Configuration
I use the guided setup. Throttle interval = 0. Wait for a fresh reading is unticked. Emulated device is ct003
Logs
-----------------------------------------------------------
Add-on: AstraMeter
"Replicates a Smart Meter device for Marstek energy storage systems (formerly B2500 Meter) while allowing integration with various smart meters."
-----------------------------------------------------------
Add-on version: 2.5.0
You are running the latest version of this add-on.
System: Home Assistant OS 18.4 (amd64 / qemux86-64)
Home Assistant Core: 2026.11.1
Home Assistant Supervisor: 2026.11.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to DEBUG
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2026-11-13 14:17:01 INFO:astrameter:started astrameter application
2026-11-13 14:17:01 INFO:astrameter:Git commit: b9057d4a00a98983c3c35d33a21adf8dccbe5f76
2026-11-13 14:17:01 INFO:astrameter:Resolved add-on slug for HA discovery: 2ec037da_b2500_meter
2026-11-13 14:17:01 INFO:astrameter:Waiting for Home Assistant to be ready...
2026-11-13 14:17:01 INFO:astrameter:Home Assistant is ready! Proceeding with AstraMeter startup...
2026-11-13 14:17:01 INFO:astrameter:Effective configuration: GeneralSettings(device_types=['ct003'], device_ids=[], skip_powermeter_test=False, dedupe_time_window=0.0, enable_web_server=True, web_config_enabled=None, web_server_port=52500, dashboard=True, dashboard_allow_write=True, dashboard_direct_access=False, dashboard_allowed_hosts='', signal=SignalSettings(offsets=None, multipliers=None, throttle_interval=0.0, wait_for_next_message=True, hampel_window=0, hampel_n_sigma=3.0, hampel_min_threshold=0.0, smooth_alpha=0.0, max_smooth_step=0.0, deadband=0.0, pid_kp=0.0, pid_ki=0.0, pid_kd=0.0, pid_output_max=800.0, pid_mode='bias'))
2026-11-13 14:17:01 INFO:astrameter:Resolved add-on slug for HA discovery: 2ec037da_b2500_meter
2026-11-13 14:17:01 DEBUG:asyncio:Using selector: EpollSelector
2026-11-13 14:17:01 INFO:astrameter:Starting web server...
2026-11-13 14:17:01 INFO:astrameter:Web server started on 0.0.0.0:52500
2026-11-13 14:17:01 INFO:astrameter:Dashboard enabled (config mode: ha_simple)
2026-11-13 14:17:01 INFO:astrameter:Device Types: ['ct003']
2026-11-13 14:17:01 INFO:astrameter:Device IDs: ['device-1']
2026-11-13 14:17:01 INFO:astrameter:Skip Test: False
2026-11-13 14:17:01 DEBUG:astrameter:Testing powermeter (attempt 1/4)
2026-11-13 14:17:01 INFO:astrameter:Home Assistant WebSocket connected to supervisor
2026-11-13 14:17:01 DEBUG:astrameter:Home Assistant: auth required, sending token
2026-11-13 14:17:01 INFO:astrameter:Home Assistant: authenticated
2026-11-13 14:17:01 INFO:astrameter:Home Assistant sensor sensor.electricity_meter_energieverbruik reports kW; converting to W automatically
2026-11-13 14:17:01 DEBUG:astrameter:Home Assistant: sensor.electricity_meter_energieverbruik = 0.245
2026-11-13 14:17:01 INFO:astrameter:Home Assistant sensor sensor.electricity_meter_energieproductie reports kW; converting to W automatically
2026-11-13 14:17:01 DEBUG:astrameter:Home Assistant: sensor.electricity_meter_energieproductie = 0.0
2026-11-13 14:17:01 INFO:astrameter:Successfully fetched HomeAssistant powermeter value (filter 0.0.0.0/0): 245.0W
2026-11-13 14:17:01 INFO:astrameter:Using Home Assistant's internal MQTT broker
2026-11-13 14:17:01 INFO:astrameter:MQTT Insights service started
2026-11-13 14:17:01 DEBUG:astrameter:Starting device: ct003
2026-11-13 14:17:01 DEBUG:astrameter:CT003 settings for device-1: CtSettings(ct_mac='', udp_port=12345, wifi_rssi=-50, dedupe_time_window=0.0, consumer_ttl=None, debug_status=False, cloud_reporting=False, cloud_reporting_host='eu.hamedata.com', cloud_reporting_interval=300.0, active_control=True, peakshaving_threshold=0.0, fair_distribution=True, balance_gain=0.2, balance_deadband=25, max_correction_per_step=80, error_boost_threshold=150, error_boost_max=0.5, error_reduce_threshold=20, max_target_step=0, pace_base_step=30, pace_max_step=100, osc_damp_max=0.95, osc_damp_alpha=0.3, osc_damp_decay=0.05, osc_damp_threshold=300.0, grid_predict_trust=0.5, concentrate_deadband=60.0, import_trim_w=15.0, saturation_detection=True, saturation_alpha=0.15, min_target_for_saturation=20, saturation_grace_seconds=90.0, saturation_stall_timeout_seconds=60.0, saturation_decay_factor=0.995, min_efficient_power=0, min_efficient_charge_power=None, min_efficient_discharge_power=None, probe_min_power=80, efficiency_rotation_interval=900, efficiency_fade_alpha=0.15, efficiency_saturation_threshold=0.4, efficiency_demand_alpha=0.1, min_dc_output=0.0, min_charge_power=0.0, min_discharge_power=0.0, min_power_hysteresis=None, max_charge_power=None, max_discharge_power=None)
2026-11-13 14:17:01 INFO:astrameter:Active control enabled: load split + fair distribution + saturation detection
2026-11-13 14:17:01 INFO:astrameter:CT002 UDP server listening on port 12345
2026-11-13 14:17:01 INFO:astrameter:Marstek MQTT responder not wired for device-1: no managed MAC available. Enable [MARSTEK] with MAILBOX/PASSWORD to use this feature, or set MARSTEK_MQTT_ENABLED=false to silence this notice.
2026-11-13 14:17:01 DEBUG:astrameter:Home Assistant: sensor.electricity_meter_energieproductie = 0.0
2026-11-13 14:17:01 INFO:astrameter:MQTT Insights connected to core-mosquitto:1883
2026-11-13 14:17:04 DEBUG:astrameter:Home Assistant: sensor.electricity_meter_energieverbruik = 0.222
2026-11-13 14:17:14 DEBUG:astrameter:Home Assistant: sensor.electricity_meter_energieverbruik = 0.215
This is expected, not a bug.
"Last read" doesn't show when your P1 meter last sent a value. It shows when something last asked AstraMeter for the current reading. Normally that's the battery, which polls about once a second, so the field stays at "just now". With no battery connected, the only thing reading it is the background health check behind the MQTT diagnostic sensors, and that runs every 30 seconds. That's the cadence you're seeing. See also How can I test without a storage device? in the FAQ.
The bigger problem is the 10-second update interval of your meter. That's most likely too slow. The battery asks for a reading about once a second, so with a new value only every 10 seconds it reacts late and overshoots. Try to get the interval down to around a second before you connect the battery. DSMR 5 meters send a reading every second, so if yours is DSMR 5, the 10 seconds probably comes from your ESP reader or its Home Assistant integration, and its settings may let you lower it. How often must my power meter send a new reading? covers how to get faster readings, and which settings to use if the meter can't go faster.
Thank you for the clarification!
Unfortunately, some DSMR 5 meters (specifically the Landis+gyr E350 SMR5.0) only update the value every 10 seconds (even though it sends a signal every second). There's been some discussions about this on Dutch tech forums.