MetriBeacon
Menu

Home Assistant integration

Send a Home Assistant sensor reading with RESTful Command.

On this page

What you need

A Home Assistant installation, an available sensor, a MetriBeacon series and a device key.

How to do it

  1. Copy the configuration example into configuration.yaml. Store the full Bearer header value in secrets.yaml.
  2. Call rest_command.metribeacon_point with your series ID, the numeric sensor value, a UTC timestamp and new batch and point UUIDs.
  3. Read response_variable and check for HTTP 200. Confirm the reading in your monitor.

Good to know

Do not send unavailable sensor states as zero. RESTful Command does not provide a durable offline buffer; use a persistent sender if you need to bridge connection outages.

yaml
batch_id: "11111111-1111-4111-8111-111111111111"
point_id: "22222222-2222-4222-8222-222222222222"
series_id: "33333333-3333-4333-8333-333333333333"
measured_at: "2026-09-30T12:00:00Z"
value: 21.5

If something goes wrong

Check the Bearer prefix, valid JSON and sensor availability. Retry with the same action data rather than new IDs. Keep secrets.yaml out of shared exports.