Rtlamr2mqtt update to 2025.6.1, no longer starts

rtlamr2mqtt updated last night, and now doesn’t start on boot. If I hit start manually, I get:

does not match regular expression (^0|^(0[xX])?[A-Fa-f0-9]+:(0[xX])?[A-Fa-f0-9]+$).

My config looks like this:

general:

sleep_for: 300
verbosity: debug
device_id: single
rtltcp_host: 127.0.0.1:1234
listen_only: false
tickle_rtl_tcp: false

mqtt:

host: 127.0.0.1
port: 1883
ha_autodiscovery_topic: homeassistant
ha_status_topic: hass/status
base_topic: rtlamr
ha_autodiscovery: true
tls_enabled: false

custom_parameters:

rtltcp: "-s 2048000"
rtlamr: "-unique=true"

meters:

- id: 60777417
  protocol: scm
  name: electric_meter
  format: "#####"
  unit_of_measurement: kWh
  icon: mdi:lightning-bolt
  device_class: energy

Any ideas?

Answer:

device_id: now needs to be 0 if you have only one RTL device, or the USB id of the device otherwise.

Also, mqtt host can no longer be 127.0.0.1; in my case homeassistant.local did the trick.

Hello Daniel,

If you have a problem with a specific custom integration, your first step should be to check the original GitHub post where you found it. The people there know the product and use the software, so they can give you better help with your issue. You might find someone here who can help, but it’s not guaranteed.

If you found a solution, it helps eceryone to matk the answer post (even if it’s your own) as the solution.

For anyone else who comes across this thread.

Specifically per their notes:
If you are receiving an error regarding device_id , just remove this setting from your config file. This setting should be used only if you have more than one RTL device. The format has changed from the “old” version.

New release 2025.6.5 · allangood/rtlamr2mqtt · Discussion #310 · GitHub