Send to Home Assistant – Chrome/Edge Extension

Send to Home Assistant – Chrome/Edge Extension

Visit/download on Github GitHub Release GitHub Release Date
GitHub Downloads (all assets, all releases) GitHub Issues or Pull Requests GitHub Sponsors

Table of Contents


About

Send to Home Assistant is a simple browser extension that sends the current page’s details (URL, title, favicon, selected text, and more) to your Home Assistant instance via a webhook. Perfect for creating automations or quickly capturing content from any site.

:warning: General Disclaimer
This project is provided as is, without any warranty of any kind. The author takes no responsibility for any issues, damages, or losses arising from its use. Use at your own risk.

:robot: AI-Powered Notice
This project includes code and documentation produced with AI assistance.
AI output may contain mistakes, omissions, or insecure patterns.
Always test and verify before trusting it in your setup.

I am far from being an accomplished developer. Community feedback, contributions, and code reviews are not only welcome—they’re encouraged!

Why?

This all started because I wanted to be able to send the current web page from my computer to my phone. With the use of Copilot Chat, ChatGPT, Gemini, and other AI resources, I was able to clobber something pretty cool (in my eyes) together.


Features

  • One click: Send the current tab’s details to Home Assistant.
  • Clean popup UI: See status updates, payload preview, and copy-as-JSON.
  • Sends basic info: URL, title, selected text, username, and more.
  • Works everywhere: Popup works on any website (except internal pages like chrome:// or edge://).
  • Right-click context menu: Send selected text or page details to Home Assistant.
  • Easy configuration: Options page for Home Assistant host, SSL, webhook ID, username, and device name.
  • Webhook test: Built-in from the options page.
  • Error handling: Friendly user feedback.
  • Sync storage: All settings are stored securely.

Screenshots

Extension Popup

Options Page

HTML Notification

Android Notification (Through Home Assistant Automation)


Installation

  1. Download and extract the latest release .zip file
  2. In Chrome or Edge, open chrome://extensions or edge://extensions.
  3. Enable Developer mode.
  4. Click Load unpacked and select the unpacked zip folder.
  5. Open the extension options to configure your Home Assistant details.

Configuration

  1. Open the extension options (popup gear icon or right-click → Extension options).
  2. Enter your Home Assistant hostname or IP (e.g., myhome.duckdns.org or 192.168.1.2).
  3. Choose whether to use SSL (strongly recommended; you’ll be warned if not enabled).
  4. Enter your Home Assistant Webhook ID (just the ID, not the full URL).
  5. Optionally, add a username and device name to include in the payload.
  6. Click Test to confirm the webhook is reachable, then Save your settings.

Usage

  • Click the extension icon on any page to send its info directly to your Home Assistant webhook. The popup shows real-time status, a payload preview, and a one-click copy-to-clipboard button.
  • Or, select text on a web page, then right click and select Send to Home Assistant (Default) in the context menu.
  • Create an automation based on the received payload.

Privacy Notice

This extension collects the following data when you use it:

Data Purpose
Page title Sent to your webhook
URL Sent to your webhook
Favicon Sent to your webhook
Selected text Sent to your webhook
Timestamp Sent to your webhook
User agent Sent to your webhook
Username/device Only if provided in options

All data is sent only to your configured Home Assistant webhook and is never sent to any third party or external server. No data is collected or stored by the extension author.


License

MIT


Credits

Home Assistant is an open-source home automation platform. Learn more at home-assistant.io


7 Likes

If anyone is interested at all, a new beta release is available - v2025.09.2-beta1

This update introduces a new feature along with improvements to usability, permissions, and privacy messaging.

:rocket: New Feature: Browser Context Menu Integration

  • Added right-click menu option for pages, links, and selected text.
    • Eventually I might want to be able to create separate configurable webhook options, so as to route sends for different purposes.
  • Includes a feedback notification .
  • Added an update check and option to enable / disable updates
    image

:key: Permissions & Manifest

  • Updated manifest.json to include contextMenus and notifications permissions.
  • Removed the v prefix from the version string for consistency.

:control_knobs: Options UI & Usability

  • Added a styled Options title and improved setup instructions in options.html.
  • Added optional device name field which will be sent in each payload, if desired.

:lock: Privacy & Security

  • Added CSP policy
  • Added some injection protection to fields
  • Simplified the privacy notice
  • Added ability to clear the current configuration

:art: Visual & Style Refinements

  • Adjusted margins and font sizes in style.css for a cleaner, more compact layout.
  • Updated logo to remove save / test buttons

Just found this! It looks great and exactly what I need for my use. I’m trying to find something that can extract data from sites I’m on and push it into HA. For instance, when I sign onto my credit card to pay the bill, I can push the balance and maybe the payment amount to HA. I know there are integrations that do this to some degree, but those don’t work with all sites and sometimes have issues. I am on the website every month anyways, and if I could just select some text and update an entity on HA, it would help me track certain things.

I am looking for a way to do this on multiple sites - maybe different webhooks or just different identifying info. I see the Title of the page and URL are already passed, so I think I can base different actions on the different pages I would be on.

Thanks for creating this and sharing!

Thanks for testing this out.

My thought here is to set up different right-click context menu options.

E.g, you would set up different “profiles” of what you are trying to send, then you would be able to select text, right click, and instead of Default, select a pre-setup profile. That way, you could set up a different profile called, for example, balance, then your automation could route it properly using this new field.

image

I don’t have too much time to work on this currently, but I will update you with my progress on this as soon as I can.