Back to Integrations
integrationHome Assistant node
integrationHTTP Request node

Home Assistant and HTTP Request integration

Save yourself the work of writing custom integrations for Home Assistant and HTTP Request and use n8n instead. Build adaptable and scalable Miscellaneous, Development, and Core Nodes workflows that work with your technology stack. All within a building experience you will love.

How to connect Home Assistant and HTTP Request

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Home Assistant and HTTP Request integration: Create a new workflow and add the first step

Step 2: Add and configure Home Assistant and HTTP Request nodes

You can find Home Assistant and HTTP Request in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Home Assistant and HTTP Request nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Home Assistant and HTTP Request integration: Add and configure Home Assistant and HTTP Request nodes

Step 3: Connect Home Assistant and HTTP Request

A connection establishes a link between Home Assistant and HTTP Request (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Home Assistant and HTTP Request integration: Connect Home Assistant and HTTP Request

Step 4: Customize and extend your Home Assistant and HTTP Request integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Home Assistant and HTTP Request with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Home Assistant and HTTP Request integration: Customize and extend your Home Assistant and HTTP Request integration

Step 5: Test and activate your Home Assistant and HTTP Request workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Home Assistant to HTTP Request or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Home Assistant and HTTP Request integration: Test and activate your Home Assistant and HTTP Request workflow

Birthday and ephemeris notification (Google Contact, Telegram & Home Assistant)

How it works:
Schedule Trigger** on a daily basis (configured at 7.30 am)
Connects Google Contacts** to get personal information from them
Field Checker** on birthday date & firstnames. And see if there is any celebration for today
Send a Telegram Notification** and display the message on a Google Home Speaker via Home Assistant if any celebration has matched

Set up steps:
Download* the workflow and import* it into your n8n instance
Configure accounts** for Google Contacts, Telegram and Home Assistant
And you will be good to go

Nodes used in this workflow

Popular Home Assistant and HTTP Request workflows

Birthday and Ephemeris Notification (Google Contact, Telegram & Home Assistant)

How it works: Schedule Trigger** on a daily basis (configured at 7.30 am) Connects Google Contacts** to get personal information from them Field Checker** on birthday date & firstnames. And see if there is any celebration for today Send a Telegram Notification** and display the message on a Google Home Speaker via Home Assistant if any celebration has matched Set up steps: Download* the workflow and import* it into your n8n instance Configure accounts** for Google Contacts, Telegram and Home Assistant And you will be good to go

📍 Daily Nearby Garage Sales Alerts via Telegram

Get a personalized list of garage sales happening today, based on your current location, directly in Telegram each morning! This n8n workflow integrates Home Assistant and Brocabrac.frto: Automatically detect your location every day Scrape and parse garage sale listings from Brocabrac Filter for high-quality and nearby events Send a neatly formatted message to your Telegram account Perfect for treasure hunters and second-hand enthusiasts who want to stay in the loop with zero effort!

Notify on menu orders via ntfy and Home Assistant TTS with daily BAC tracking

Notify on menu orders via ntfy and Home Assistant TTS with daily BAC tracking Receive instant push notifications on your phone and voice announcements on your Google Home every time someone orders from your intranet menu — with cumulative BAC tracking per person. > Full documentation & step-by-step setup guides: > 📖 Notion Documentation > 💻 GitHub Repository What This Workflow Does Every time a customer submits an order from your intranet menu website, this workflow: Receives the order via Webhook Logs it to an n8n DataTable and reads all orders for that person today Calculates the cumulative BAC (Blood Alcohol Content) using the Widmark formula Sends a push notification via ntfy (with order history + BAC level) Triggers a Home Assistant script → voice announcement on Google Home No cloud TTS fees. No external AI services. Fully self-hosted. Flow Webhook → Prepare Order → DataTable (INSERT) → Read Today's Orders → BAC Calculator → ntfy Push Notification → Home Assistant TTS Example Output Push notification (ntfy app): 🛎 Order from Mario Mario: 1x Pizza, 2x Beer 33cl 🕐 12:30 📋 Ordered before: 1x Prosecco 🕐 11:45 🍸 BAC ~0.54 g/L 🔴 Google Home voice announcement: Mario has ordered Pizza Prerequisites Before importing this workflow, you need: A running n8n instance (self-hosted or cloud) reachable from the internet Home Assistant** on your local network (e.g. homeassistant.local:8123) At least one Google Home (or Chromecast-capable) device added to HA via the Google Cast integration ntfy** deployed via Docker (self-hosted push notification server) A public HTTPS URL for ntfy — recommended via Cloudflare Tunnel (no open ports needed) An Android or iOS device with the ntfy app installed Credentials Required | Credential | Used For | | ------------------------------------------------------ | ---------------------------------------- | | Home Assistant | Calling the annuncia_ordine TTS script | | Header Auth (Authorization: Bearer <ntfy_token>) | Sending authenticated requests to ntfy | n8n DataTable Schema Create a DataTable in n8n → Data → Tables with these columns: | Column | Type | Description | | -------------- | ------ | ------------------------------------------------------ | | item | Text | Full order string (e.g. "2x Negroni, 1x Messina 33cl") | | person | Text | Normalised person name | | alcol_grammi | Number | Total grams of alcohol for this order | | data | Text | ISO date (YYYY-MM-DD) | | orario | Text | Time string from the order | Copy the DataTable ID and paste it into the DataTable nodes inside the workflow. Webhook Payload Your menu website must POST this JSON to the Webhook Production URL: { "name": "Mario", "time": "26/03/2026, 12:30:00", "order": [ { "section": "Food", "name": "Pizza", "details": "", "quantity": 1 }, { "section": "Drinks", "name": "Beer", "details": "33cl", "quantity": 2 } ], "total": 3 } Setup Steps Deploy ntfy (self-hosted push notifications) Add ntfy to your docker-compose.yml: ntfy: image: binwiederhier/ntfy command: serve volumes: ./ntfy/config:/etc/ntfy ./ntfy/data:/var/lib/ntfy ports: "8095:80" In server.yml, set auth-default-access: deny-all. Then create an admin user and generate a token: docker exec -e NTFY_PASSWORD="your_password" ntfy ntfy user add --role=admin admin docker exec ntfy ntfy token add admin Expose ntfy over HTTPS (Cloudflare Tunnel) Add an ingress rule to your Cloudflare Tunnel config: hostname: ntfy.YOUR_DOMAIN.com service: http://localhost:8095 Configure Home Assistant TTS In HA, go to Settings → Automations & Scenes → Scripts → Add script → Edit in YAML and paste: alias: annuncia_ordine sequence: action: tts.speak target: entity_id: tts.google_translate_en_com data: media_player_entity_id: media_player.YOUR_GOOGLE_HOME_ENTITY message: "{{ message }}" language: it mode: single > Replace media_player.YOUR_GOOGLE_HOME_ENTITY with your actual entity ID. Then go to your HA profile → Security → Long-lived access tokens → create and copy a token. Import and configure the workflow Import the workflow JSON into n8n Create the DataTable (columns listed above) — copy its ID Create the Header Auth credential for ntfy: Header Name: Authorization Header Value: Bearer YOUR_NTFY_TOKEN Create the Home Assistant credential: Host: http://homeassistant.local:8123 Access Token: your HA long-lived token In the ntfy notification node, replace YOUR_TOPIC in the URL In the Home Assistant TTS node, set the message attribute expression: ={{ $('Webhook').item.json.body.nome }} has ordered {{ $('Webhook').item.json.body.ordine[0].nome }} Activate the workflow and copy the Webhook Production URL Configure your menu website Set the webhook URL in your menu site config: // menu-data.js "orderWebhook": "https://YOUR_N8N_DOMAIN/webhook/menu" BAC Calculation (Widmark Formula) BAC [g/L] = total_alcohol_grams_today / (70 × 0.68) Assumes ~70 kg body weight. Italian legal driving limit: 0.5 g/L | Emoji | Level | BAC | | ----- | ---------- | ------------- | | ⬜ | None | 0 g/L | | 🟢 | Low | < 0.2 g/L | | 🟡 | Warning | 0.2 – 0.5 g/L | | 🔴 | Over limit | > 0.5 g/L | BAC is cumulative per day per person and resets automatically the next day. Customization | What | How | | ----------------------------------------- | ------------------------------------------------------------ | | Change the TTS message | Edit the message expression in the HA TTS node | | Announce all ordered items | Use $json.body.ordine.map(i => i.quantita + ' ' + i.nome).join(', ') | | Change TTS language | Edit language in the annuncia_ordine HA script | | Announce on multiple Google Home devices | Add multiple media_player_entity_id entries to the HA script | | Disable TTS (keep only push notification) | Remove or deactivate the Home Assistant TTS node | Security | Layer | Mechanism | | -------------------- | ---------------------------------------------------- | | Transport (ntfy) | HTTPS via Cloudflare Tunnel | | ntfy access | auth-default-access: deny-all — no anonymous reads | | n8n → ntfy | Dedicated Bearer token (revokable, no expiry) | | n8n → Home Assistant | Long-lived access token | | Mobile app | Username/password on the ntfy server | Documentation & Source | | | | ------------------------ | ------------------------------------------------------------ | | 📖 Full documentation | Notion — step-by-step setup guides | | 💻 GitHub Repository | paoloronco/n8n-templates | Related Resources ntfy.sh documentation Home Assistant TTS documentation Home Assistant Scripts Google Cast integration n8n Home Assistant node

AI-Generated Weather Analysis with NWS Alerts, Radar Imagery, and Home Assistant

Overview This n8n template demonstrates how you can generate an AI-produced weather analysis of your local radar loop and home assistant precipitation sensor(s) to keep your family informed of National Weather Service Alerts. With as crazy as things have been lately in the open world, how will you and your family know when a severe or extreme alert impacts your area? How it Works This workflow is triggered by a webhook which takes a latitude and longitude json payload to identify the area for monitoring. Then, it fetches the National Weather Service Alerts and filters them down to alerts which are currently active and their severity. Next, it fetches the local precipitation value from your Home Assistant instance (a value like "Light Rain" or "No Rain", etc) coupled with your respective weather.gov radar loop image. It then submits this data to OpenAI and produces an output regarding the image analysis. Finally, it takes this analysis and uses OpenAI to again generate a short summary. How to Use Import the workflow into your n8n instance Update the credentials in the problematic nodes Make sure you adjust the radar loop image that is being used Requirements A Home Assistant Instance (you could remove this data if you wanted) An OpenAI account for LLM and image analysis

Build your own Home Assistant and HTTP Request integration

Create custom Home Assistant and HTTP Request workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Home Assistant supported actions

Get Screenshot
Get the camera screenshot
Get
Get the configuration
Check Configuration
Check the configuration
Create
Create an event
Get Many
Get many events
Get Error Logs
Get a log for a specific entity
Get Logbook Entries
Get all logs
Call
Call a service within a specific domain
Get Many
Get many services
Create or Update
Create a new record, or update the current one if it already exists (upsert)
Get
Get a state for a specific entity
Get Many
Get many states
Create
Create a template
Use case

Save engineering resources

Reduce time spent on customer integrations, engineer faster POCs, keep your customer-specific functionality separate from product all without having to code.

Learn more

FAQs

  • Can Home Assistant connect with HTTP Request?

  • Can I use Home Assistant’s API with n8n?

  • Can I use HTTP Request’s API with n8n?

  • Is n8n secure for integrating Home Assistant and HTTP Request?

  • How to get started with Home Assistant and HTTP Request integration in n8n.io?

Need help setting up your Home Assistant and HTTP Request integration?

Discover our latest community's recommendations and join the discussions about Home Assistant and HTTP Request integration.
Moiz Contractor
theo
Jon
Dan Burykin
Tony

Looking to integrate Home Assistant and HTTP Request in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Home Assistant with HTTP Request

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon