AstraMeter icon indicating copy to clipboard operation
AstraMeter copied to clipboard

Tibber Pulse stales after first read value

Open Hollol opened this issue 3 weeks ago • 2 comments

What's the issue?

Astrameter is not updating values from my Tibber Pulse anymore. It is starting up, reading the first power value and then stales forever. Neither "FORCE_POLLING = True" nor "THROTTLE_INTERVAL = 5" do change anything. Possibly this is related to the latest updates performed by Tibber which seem to have broken websocket implementation, see e.g. https://github.com/marq24/ha-tibber-pulse-local/discussions/131

Firmware Versions:

tibber-pulse-ir-hub-esp : 321811-97099eed
tibber-bridge-hub-webapp : 261-79bc02af
tibber-pulse-ir-hub-efr32-fg1 : 835-942ac28e
tibber-pulse-ir-node-efr32 : 1279-f0b8c22b
tibber-pulse-clamp-node-efr32-fg23 : 1279-f0b8c22b

Version

2.5.0

Installation method

Docker

If "Other", which?

No response

Configuration

# Generated with the AstraMeter config generator.
# Re-import this file there any time to keep editing.

[GENERAL]
DEVICE_TYPE = shellypro3em_new
SKIP_POWERMETER_TEST = False
DASHBOARD_ENABLED = True
DASHBOARD_ALLOW_WRITE = True

[TIBBER_PULSE]
IP = 192.168.1.14
PASSWORD = ****-****

Logs

astrameter-1  | 2026-11-13 13:28:33 DEBUG:asyncio:Using selector: EpollSelector
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Starting web server...
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Web server started on 0.0.0.0:52500
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Dashboard enabled (config mode: standalone)
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Dashboard is served on 0.0.0.0:52500 with no authentication.
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Device Types: ['shellypro3em_new']
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Device IDs: ['shellypro3em-ec4609c439c1']
astrameter-1  | 2026-11-13 13:28:33 INFO:astrameter:Skip Test: False
astrameter-1  | 2026-11-13 13:28:33 DEBUG:astrameter:Testing powermeter (attempt 1/4)
astrameter-1  | 2026-11-13 13:28:34 INFO:astrameter:Successfully fetched TibberPulse powermeter value (filter 0.0.0.0/0): -12.1W
astrameter-1  | 2026-11-13 13:28:34 DEBUG:astrameter:Starting device: shellypro3em_new
astrameter-1  | 2026-11-13 13:28:34 DEBUG:astrameter:Shelly settings: device id shellypro3em-ec4609c439c1, type shellypro3em_new
astrameter-1  | 2026-11-13 13:28:34 INFO:astrameter:Shelly emulator listening on UDP port 2220
astrameter-1  | 2026-11-13 13:28:37 DEBUG:astrameter:Health check request received from 127.0.0.1

Hollol avatar Nov 13 '26 13:11 Hollol

AstraMeter only reads the Tibber Pulse when a battery polls the emulator, and your log shows no poll reaching it (with DEBUG on, each one prints Parsed request from …). The Tibber websocket regression shouldn’t matter here because AstraMeter falls back to HTTP polling, and FORCE_POLLING takes the websocket out of the picture entirely. Could you share a few minutes of log after startup, and your Docker network settings (network_mode: host, or the published ports including 2220/udp)? If no Parsed request lines show up, the battery isn’t reaching the container.

tomquist avatar Nov 13 '26 16:11 tomquist

Sorry and thank you for your hint. Indeed the battery was not reaching the container. Now after fixing this everything is working as expected.

Hollol avatar Nov 14 '26 18:11 Hollol