{"id":278,"date":"2026-10-28T10:02:51","date_gmt":"2026-10-28T04:32:51","guid":{"rendered":"https:\/\/vikashmishra.online\/blogs\/using-local-ai-to-automate-your-smart-home-integrating-ollama-with-home-assistant\/"},"modified":"2026-10-28T10:02:51","modified_gmt":"2026-10-28T04:32:51","slug":"using-local-ai-to-automate-your-smart-home-integrating-ollama-with-home-assistant","status":"publish","type":"post","link":"https:\/\/vikashmishra.online\/blogs\/using-local-ai-to-automate-your-smart-home-integrating-ollama-with-home-assistant\/","title":{"rendered":"Using Local AI to Automate Your Smart Home: Integrating Ollama with Home Assistant"},"content":{"rendered":"<p>For years, smart home enthusiasts have faced a frustrating trade-off: convenience versus privacy. We want the magic of walking into a room and saying, &#8220;I&#8217;m home,&#8221; only to have the lights dim, the thermostat adjust, and our favorite playlist begin. However, achieving this level of sophisticated automation usually requires sending our most private voice data and home habits to the cloud servers of tech giants. If the internet goes down, your &#8220;smart&#8221; home often becomes a collection of expensive, unresponsive plastic. The dream of a truly autonomous, private, and resilient home has remained just out of reach for many, relegated to those with the technical prowess to script complex logic from scratch.<\/p>\n<p>This paradigm is shifting rapidly thanks to the intersection of two powerful technologies: <strong>Home Assistant<\/strong>, the gold standard for open-source home automation, and <strong>Ollama<\/strong>, a tool that makes running Large Language Models (LLMs) locally as easy as running a standard desktop application. By integrating Ollama with Home Assistant, you are no longer limited to rigid &#8220;if-this-then-that&#8221; rules. You can now give your home a &#8220;brain&#8221; capable of understanding natural language, reasoning through complex requests, and maintaining 100% of your data within your four walls. This guide explores how to bridge these technologies to create a next-generation smart home that is private, powerful, and truly intelligent.<\/p>\n<h2>The Evolution of the &#8220;Local Brain&#8221;: Why Ollama Changes Everything<\/h2>\n<p>Historically, adding intelligence to Home Assistant meant relying on integrations with OpenAI&#8217;s GPT-4 or Google&#8217;s Gemini. While effective, these solutions introduce latency, costs per request, and the aforementioned privacy concerns. <strong>Ollama<\/strong> changes the game by providing a streamlined framework to run models like Llama 3, Mistral, and Phi-3 directly on your own hardware. It manages the complexities of model weights, quantization, and GPU acceleration, allowing you to serve a powerful API endpoint that Home Assistant can communicate with locally.<\/p>\n<p>The significance of &#8220;local&#8221; cannot be overstated. When your home&#8217;s intelligence lives on a local server (like a repurposed gaming PC, a Mac Studio, or even a high-end Raspberry Pi 5 with an NPU), the response time drops significantly. More importantly, your home remains functional during an internet outage. Using Ollama, Home Assistant can send a prompt like, <em>&#8220;The user just arrived home, it&#8217;s raining outside, and the living room is dark. What should I do?&#8221;<\/em> and receive a structured, logical response based on your specific devices and preferences\u2014all without a single packet of data leaving your local network.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1558002038-103792e17734?q=80&#038;w=2070&#038;auto=format&#038;fit=crop\" alt=\"A modern smart home interior with ambient lighting\" style=\"width:100%; border-radius: 8px; margin: 20px 0;\"><\/p>\n<h2>Setting Up the Foundation: Preparing Home Assistant and Ollama<\/h2>\n<p>Before the two systems can talk to each other, you need a robust host for Ollama. While Home Assistant often runs on low-power hardware like a Raspberry Pi 4, Ollama requires a bit more &#8220;muscle&#8221; to provide snappy responses. Ideally, you should run Ollama on a machine with a dedicated GPU (NVIDIA is preferred due to CUDA support) or an Apple Silicon Mac. If you are running Home Assistant OS, the easiest way to bridge the two is by installing Ollama on a separate, more powerful machine on the same network, though there are add-ons available for those running Home Assistant on generic x86 hardware.<\/p>\n<p>Once Ollama is installed, the first step is to pull a model. For home automation tasks, <strong>Llama 3 (8B)<\/strong> or <strong>Mistral<\/strong> are excellent choices as they balance performance with resource usage. You can do this via the terminal with a simple command: <code>ollama run llama3<\/code>. Once the model is downloaded and running, Ollama hosts a local API (usually on port 11434). This API is the bridge that Home Assistant will use to send commands and receive &#8220;intelligent&#8221; instructions.<\/p>\n<h3>Connecting the Dots: The Integration Process<\/h3>\n<p>To integrate the two, you will typically use the <strong>Ollama Conversation<\/strong> integration available via HACS (Home Assistant Community Store) or the built-in <strong>AI Conversation<\/strong> frameworks being introduced in recent Home Assistant updates. You will need to provide the IP address of your Ollama server and specify the model name you wish to use. Once connected, Home Assistant gains a new &#8220;Conversation Agent&#8221; that you can select as your default voice or text assistant.<\/p>\n<h2>Transforming Automation with Natural Language Intent<\/h2>\n<p>The true power of integrating Ollama with Home Assistant lies in <strong>Intent Handling<\/strong>. Traditional voice assistants require specific phrases: &#8220;Turn on the kitchen light.&#8221; If you say, &#8220;It&#8217;s a bit dark in here where I&#8217;m cooking,&#8221; a standard assistant might fail. An LLM powered by Ollama, however, understands context. By exposing your Home Assistant entities (lights, switches, climate) to the Ollama agent, it can map vague human desires to specific device actions.<\/p>\n<p>For example, consider a &#8220;Movie Night&#8221; scenario. Instead of building a complex script for every possible variation, you can tell your Ollama-powered assistant, <em>&#8220;We&#8217;re about to watch a horror movie, make it spooky.&#8221;<\/em> The LLM can be prompted with a list of your lights and their capabilities. It might decide to dim the living room lights to 10%, turn them deep red, close the smart blinds, and turn on the soundbar. Because the LLM understands the &#8220;vibe&#8221; of a horror movie, it creates an automation on the fly based on the tools it has available.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/images.unsplash.com\/photo-1518770660439-4636190af475?q=80&#038;w=2070&#038;auto=format&#038;fit=crop\" alt=\"Circuit board representing AI processing\" style=\"width:100%; border-radius: 8px; margin: 20px 0;\"><\/p>\n<h2>Advanced Use Case: Context-Aware Home Monitoring<\/h2>\n<p>Beyond simple commands, local AI can act as a sophisticated monitor for your home&#8217;s telemetry. Home Assistant collects a staggering amount of data\u2014energy usage, temperature fluctuations, occupancy patterns, and security events. By feeding summarized versions of this data into Ollama, you can ask your home complex questions about its own state. <u>This moves the smart home from reactive to proactive.<\/u><\/p>\n<p>Imagine asking, &#8220;Why was my electricity bill so high yesterday?&#8221; The Ollama integration can analyze the history of your energy sensors and reply: <em>&#8220;The HVAC ran for 8 hours because the back door was left ajar between 2:00 PM and 6:00 PM, and the dryer was run during peak pricing hours.&#8221;<\/em> This level of insight previously required manual log diving or expensive proprietary energy monitors. With local AI, your home becomes an expert on itself, providing actionable advice to improve your comfort and efficiency.<\/p>\n<ul>\n<li><strong>Predictive Maintenance:<\/strong> AI can notice if a fridge compressor is running longer than usual, signaling a potential failure.<\/li>\n<li><strong>Security Summaries:<\/strong> &#8220;Did anything unusual happen while I was at work?&#8221; The AI can summarize motion events and camera detections.<\/li>\n<li><strong>Dynamic Scheduling:<\/strong> Asking the house to &#8220;Prepare the guest room for my parents&#8217; arrival on Friday&#8221; could automatically set the guest climate and unlock the guest door at a specific time.<\/li>\n<\/ul>\n<h2>Configuring the &#8220;System Prompt&#8221; for Smart Home Success<\/h2>\n<p>The &#8220;System Prompt&#8221; is the set of instructions that tells the AI how to behave. When using Ollama with Home Assistant, this prompt is your most powerful tool. You don&#8217;t want the AI to behave like a generic chatbot; you want it to behave like a <strong>Home Butler<\/strong>. A well-crafted system prompt should include a list of available areas, a list of device names, and strict instructions on the output format (such as JSON) if you want it to trigger specific services.<\/p>\n<p>A sample snippet of a system prompt might look like this: <em>&#8220;You are a helpful home automation assistant. You have access to the Living Room, Kitchen, and Bedroom. You can control lights and thermostats. When a user asks to change the environment, identify the correct entity and respond with the required action. Be concise and do not hallucinate devices that do not exist.&#8221;<\/em> By refining this prompt, you reduce errors and ensure that when you say &#8220;Goodnight,&#8221; the AI doesn&#8217;t just say &#8220;Sweet dreams,&#8221; but actually checks if the front door is locked and the oven is off.<\/p>\n<h2>Practical Guidance: Hardware and Software Requirements<\/h2>\n<p>To get a smooth experience with around 2-3 seconds of latency, you need to consider your hardware carefully. While you can run Ollama on a CPU, the &#8220;tokens per second&#8221; (speed of generation) will be slow, making voice interaction feel clunky. Here is a quick breakdown of recommended setups:<\/p>\n<ol>\n<li><strong>The Budget Enthusiast:<\/strong> A Raspberry Pi 5 (8GB) or a used &#8220;Tiny-Mini-Micro&#8221; PC (like a Lenovo ThinkCentre) with 16GB RAM. This will run small models like <em>Phi-3<\/em> or <em>TinyLlama<\/em> adequately for text-based triggers.<\/li>\n<li><strong>The Performance Balanced:<\/strong> An Apple Mac Mini with an M2 or M3 chip. Apple&#8217;s Unified Memory is incredibly efficient for LLMs, and Ollama is highly optimized for macOS.<\/li>\n<li><strong>The Power User:<\/strong> A dedicated server or PC with an NVIDIA RTX 3060 (12GB VRAM) or better. This allows you to run Llama 3 8B with near-instantaneous responses, even when handling complex, multi-step logic.<\/li>\n<\/ol>\n<p>On the software side, ensure you have <strong>HACS<\/strong> installed on your Home Assistant instance. Look for the <em>&#8220;Ollama Conversation&#8221;<\/em> integration. This integration acts as a translator, taking your voice\/text input, sending it to your Ollama server, and then passing the resulting command back into Home Assistant\u2019s &#8220;Intent&#8221; system.<\/p>\n<h2>Common Mistakes and Security Considerations<\/h2>\n<p>While the prospect of a &#8220;Jarvis-like&#8221; home is exciting, there are several pitfalls to avoid. The most common mistake is <strong>over-exposure<\/strong>. Do not give the AI control over security-critical entities like &#8220;Disarm Alarm&#8221; or &#8220;Open Garage Door&#8221; via simple voice commands unless you have secondary authentication. AI can be prone to &#8220;hallucinations&#8221;\u2014where it confidently asserts it has done something it hasn&#8217;t, or interprets a request in an unexpected way. Always maintain a &#8220;human-in-the-loop&#8221; for high-stakes actions.<\/p>\n<p>Another consideration is <strong>Resource Contention<\/strong>. If you run Ollama on the same machine as your Plex server or Home Assistant, a heavy AI task could cause your smart home&#8217;s basic functions to lag. It is often better to keep your AI &#8220;inference engine&#8221; on a separate piece of hardware. Lastly, remember that while the data is local, the hardware itself still needs to be secured. Ensure your Ollama API port is not exposed to the open internet; it should only be accessible within your local VLAN or via a secure VPN like Tailscale.<\/p>\n<h2>Conclusion: The Future of the Sovereign Smart Home<\/h2>\n<p>Integrating Ollama with Home Assistant represents a major milestone in the journey toward the &#8220;Sovereign Smart Home.&#8221; We are moving away from centralized, cloud-dependent ecosystems toward a model where intelligence is a local utility, much like electricity or water. By bringing Large Language Models into the home automation space, we enable a level of nuance and flexibility that was previously impossible. Your home can finally understand <em>intent<\/em> rather than just <em>commands<\/em>, providing a more natural and helpful living environment.<\/p>\n<p>If you are ready to take the next step, start small. Install Ollama on your main computer, download the Llama 3 model, and connect it to Home Assistant using a basic conversation agent. Experiment with asking your home questions about its state or asking it to perform simple multi-device tasks. As you gain confidence, you can move toward dedicated hardware and more complex system prompts. The goal isn&#8217;t just to have a home that talks\u2014it&#8217;s to have a home that truly understands you, while keeping your private life exactly where it belongs: inside your home.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For years, smart home enthusiasts have faced a frustrating trade-off: convenience versus privacy. We want the magic of walking into a room and saying, &#8220;I&#8217;m home,&#8221; only to have the lights dim, the thermostat adjust, and our favorite playlist begin. However, achieving this level of sophisticated automation usually requires sending our most private voice data &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/vikashmishra.online\/blogs\/using-local-ai-to-automate-your-smart-home-integrating-ollama-with-home-assistant\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using Local AI to Automate Your Smart Home: Integrating Ollama with Home Assistant&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[15],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":109,"url":"https:\/\/vikashmishra.online\/blogs\/better-late-than-never-my-diy-smart-home-revolution-is-underway\/","url_meta":{"origin":278,"position":0},"title":"Better Late Than Never: My DIY Smart Home Revolution is Underway!","author":"Vikash Mishra","date":"August 13, 2025","format":false,"excerpt":"NOTE: All the materials\/software\/solutions I'll be using in this project will be open-source and designed by me; no ready-to-use solutions will be used. It will be a complete personal project. Introduction: Ever felt like you missed the boat on the smart home trend? For years, I watched from the sidelines\u2026","rel":"","context":"In &quot;Automation&quot;","block_context":{"text":"Automation","link":"https:\/\/vikashmishra.online\/blogs\/category\/automation\/"},"img":{"alt_text":"home automation","src":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/home-automation.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/home-automation.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/home-automation.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/home-automation.webp?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":168,"url":"https:\/\/vikashmishra.online\/blogs\/my-first-small-iot-project-a-smart-water-tank-level-monitor\/","url_meta":{"origin":278,"position":1},"title":"My First Small IoT Project: A Smart Water Tank Level Monitor","author":"Vikash Mishra","date":"September 27, 2025","format":false,"excerpt":"Starting your first Internet of Things (IoT) project can feel like opening a black box of circuits, code, and 3D printing fails. But the payoff\u2014when that little red LED finally blinks, or in my case, when the water level reading finally appears on the screen\u2014is worth every moment of frustration.\u2026","rel":"","context":"In &quot;3D Printer&quot;","block_context":{"text":"3D Printer","link":"https:\/\/vikashmishra.online\/blogs\/category\/3d-printer\/"},"img":{"alt_text":"Home Dashboard","src":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/09\/Home-Dashboard.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/09\/Home-Dashboard.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/09\/Home-Dashboard.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/09\/Home-Dashboard.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/09\/Home-Dashboard.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":128,"url":"https:\/\/vikashmishra.online\/blogs\/my-next-diy-obsession-from-smart-home-to-3d-printing\/","url_meta":{"origin":278,"position":2},"title":"My Next DIY Obsession: From Smart Home to 3D Printing","author":"Vikash Mishra","date":"August 25, 2025","format":false,"excerpt":"If you've followed my previous blog post, you'll know I've been deep into building my own DIY smart home ecosystem. My goal is to create a fully customized, open-source-powered \"brain of the house,\" from automatic door locks to intelligent climate control. It's been a rewarding challenge, but as my little\u2026","rel":"","context":"In &quot;DIY Tech&quot;","block_context":{"text":"DIY Tech","link":"https:\/\/vikashmishra.online\/blogs\/category\/diy-tech\/"},"img":{"alt_text":"IoT 3D Printing Banner","src":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/08\/IoT-3D-Printing-Banner.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":64,"url":"https:\/\/vikashmishra.online\/blogs\/liberating-my-digital-life-how-i-use-n8n-for-daily-work-home-and-building-tools-with-esp32\/","url_meta":{"origin":278,"position":3},"title":"Liberating My Digital Life: How I Use n8n for Daily Work, Home, and Building Tools with ESP32","author":"Vikash Mishra","date":"July 25, 2025","format":false,"excerpt":"The author shares their experience with n8n, an open-source automation platform that simplifies digital tasks across work and home. With features like self-hosting for privacy, visual workflow creation, and integration with hardware like ESP32, n8n transforms daily routines, reduces manual effort, and enhances productivity without escalating costs.","rel":"","context":"In &quot;AI Tools&quot;","block_context":{"text":"AI Tools","link":"https:\/\/vikashmishra.online\/blogs\/category\/ai-tools\/"},"img":{"alt_text":"n8n esp32","src":"https:\/\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/07\/n8n-esp32.avif","width":350,"height":200,"srcset":"https:\/\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/07\/n8n-esp32.avif 1x, https:\/\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/07\/n8n-esp32.avif 1.5x, https:\/\/vikashmishra.online\/blogs\/wp-content\/uploads\/2025\/07\/n8n-esp32.avif 2x"},"classes":[]},{"id":277,"url":"https:\/\/vikashmishra.online\/blogs\/home-assistant-for-makers-how-to-integrate-custom-esp32-sensors-and-actuators\/","url_meta":{"origin":278,"position":4},"title":"Home Assistant for Makers: How to Integrate Custom ESP32 Sensors and Actuators","author":"Vikash Mishra","date":"October 27, 2026","format":false,"excerpt":"For many makers, the transition from building standalone Arduino gadgets to creating a unified smart home system can feel like hitting a brick wall. You might have a perfectly functioning ESP32-based weather station or a custom motorized blind controller sitting on your workbench, but the moment you try to integrate\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/vikashmishra.online\/blogs\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":273,"url":"https:\/\/vikashmishra.online\/blogs\/building-a-private-ai-assistant-a-guide-to-setting-up-open-webui-with-ollama\/","url_meta":{"origin":278,"position":5},"title":"Building a Private AI Assistant: A Guide to Setting Up Open WebUI with Ollama","author":"Vikash Mishra","date":"October 26, 2026","format":false,"excerpt":"The rise of Large Language Models (LLMs) like GPT-4 and Claude has fundamentally changed how we interact with information, but for many privacy-conscious users and developers, the reliance on cloud-based providers presents a significant hurdle. Whether it is the concern of sensitive data being used for training, the recurring cost\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/vikashmishra.online\/blogs\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":0,"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"wp:attachment":[{"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vikashmishra.online\/blogs\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}