Skip to content

A simple browser extension that lets you send 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.

License

JOHLC/Send-to-Home-Assistant

Repository files navigation

Send to Home Assistant – Chrome/Edge Extension

Send to Home Assistant Logo

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.

⚠️ 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.

🤖 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
Extension Popup

Options Page
Options Page

HTML Notification
HTML Notification

Android Notification (Through Home Assistant Automation)
Android Notification


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


About

A simple browser extension that lets you send 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.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •