Integrate brrr with Home Assistant
Home Assistantβs rest_command integration can send HTTP requests directly, which makes it a simple way to trigger a push with brrr.
Add a command to configuration.yaml, point it at your webhook URL, and send a plain text body as the payload.
Configure the command
YAML
rest_command:
brrr:
url: "https://api.brrr.now/v1/ππππππππππ"
method: post
payload: "Hello world! π"
After updating configuration.yaml, restart Home Assistant so the new command is loaded.
If you want to send JSON instead, use a JSON content type and a JSON payload string:
YAML
rest_command:
brrr_json:
url: "https://api.brrr.now/v1/ππππππππππ"
method: post
content_type: "application/json"
payload: '{"title":"Home Assistant","message":"Hello world! π"}' Call the command
Once configured, Home Assistant exposes the command as rest_command.brrr. You can call it from scripts or automations anywhere you want a push notification.