{"id":1485,"date":"2024-02-23T13:00:00","date_gmt":"2024-02-23T12:00:00","guid":{"rendered":"https:\/\/sascha-brockel.de\/?p=1485"},"modified":"2024-04-28T04:44:20","modified_gmt":"2024-04-28T02:44:20","slug":"pc-automation-with-home-assistant","status":"publish","type":"post","link":"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/","title":{"rendered":"Windows \/ Mac PC automation with Home Assistant"},"content":{"rendered":"<p class=\"yoast-reading-time__wrapper\"><span class=\"yoast-reading-time__icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-icon=\"clock\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" style=\"display:inline-block;vertical-align:-0.1em\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"><\/path><\/svg><\/span><span class=\"yoast-reading-time__spacer\" style=\"display:inline-block;width:1em\"><\/span><span class=\"yoast-reading-time__descriptive-text\">Expected Reading Time:  <\/span><span class=\"yoast-reading-time__reading-time\">8<\/span><span class=\"yoast-reading-time__time-unit\"> minutes<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want to take your smart home experience to the next level? What if your PC became part of your connected home and you didn't even have to sit in front of it to integrate it into your daily routines? That's where Home Assistant comes in - a powerful tool that helps you seamlessly integrate your Windows or Mac PC into your smart home. In this article, I'll show you how to automate your PC with Home Assistant's Ping integration.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Was_ist_Home_Assistant\" >What is Home Assistant?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Einrichtung_in_Home_Assistant\" >Setup in Home Assistant<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Schritt_1_Stelle_sicher_dass_Dein_PC_eine_statische_IP-Adresse_hat\" >Step 1: Make sure that your PC has a static IP address<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Schritt_2_Erlaube_Pings_in_der_Firewall\" >Step 2: Allow pings in the firewall<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Schritt_3_Integriere_den_PC_in_Home_Assistant\" >Step 3: Integrate the PC into Home Assistant<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Platform\" >Platform<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Sensors\" >Sensors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#PC_an\" >PC on<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Schritt_4_Erstelle_Automatisierungen_basierend_auf_dem_PC-Status\" >Step 4: Create automations based on the PC status<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Alias\" >Alias<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Beschreibung\" >Description<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Ausloser_Trigger\" >Trigger<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Bedingung_Condition\" >Condition<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Aktion_Action\" >Action<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Modus\" >Mode<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Umsetzung_im_YouTube-Video\" >YouTube video implementation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/#Fazit\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-was-ist-home-assistant\"><span class=\"ez-toc-section\" id=\"Was_ist_Home_Assistant\"><\/span>What is Home Assistant?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before we dive deep into the subject, let's briefly explain Home Assistant. Home Assistant is an open-source home automation software that centrally controls all your smart devices. It runs on a Raspberry Pi or similar device and gives you the freedom to design your smart home exactly how you want it, without being tied to the ecosystems of big companies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One of the biggest advantages of Home Assistant is its flexibility and customizability. Users can create complex automations and scenarios tailored to specific needs and preferences. Home Assistant allows you to configure everything from simple tasks such as turning off all lights when no one is home to complex security systems that are activated when you are away, and offers an impressive depth of configuration options. The platform also focuses heavily on data protection and local control, so your data stays on your own network and you don't have to send it to external cloud services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks to its active community and constant development through contributions from developers from all over the world, Home Assistant is constantly being improved and expanded. The platform also offers a dashboard, called Lovelace, which is fully customizable and allows you to control your smart home in an intuitive and visually appealing way. Whether you're a tech enthusiast looking for maximum control over your smart home or simply a reliable solution for everyday tasks, Home Assistant offers the flexibility, security and power to make your vision a reality.<\/p>\n\n\n\n<div class=\"atkp-container atkp-grid_3_columns-box  atkp-template-grid_3_columns\">\n            <div class=\"atkp-clearfix atkp-box-3-cols\">\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/415MIdvMnZL._SL160_.jpg\"\n                                 alt=\"Intel NUC 13 PRO NUC13ANHi5 Arena Canyon, 16 GB RAM 512 GB SSD, Intel Core i5-1340P, Win 11 Pro Mini Desktop Computer, 8K\/4K UHD, Gigabit Ethernet\/WiFi-6\/VESA for Business\/Office\/Home\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0C1YKGGWY?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">Intel NUC 13 PRO NUC13ANHi5 Arena Canyon, 16 GB RAM 512 GB SSD, Intel Core i5-1340P, Win 11 Pro Mini Desktop Computer, 8K\/4K UHD, Gigabit Ethernet\/WiFi-6\/VESA for business\/office\/home*<\/a>\n                                                <div class=\"atkp-author\">by Intel Corporation<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 759.00\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0C1YKGGWY?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/31z5HMCxvCL._SL160_.jpg\"\n                                 alt=\"ASUS NUC 15 Pro Tall Kit RNUC15CRHI300002 (Intel Core i3 processor, Arc graphics, WiFi 7, Bluetooth 5.4, without operating system, with EU power cable)\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0DY83YSSW?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">ASUS NUC 15 Pro Tall Kit RNUC15CRHI300002 (Intel Core i3 processor, Arc graphics, WiFi 7, Bluetooth 5.4, without operating system, with EU power cable)*<\/a>\n                                                <div class=\"atkp-author\">by Asus<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 295.58\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0DY83YSSW?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/31z5HMCxvCL._SL160_.jpg\"\n                                 alt=\"ASUS NUC 15 Pro Slim Kit RNUC15CRKU500002 (Intel Core i5 Ultra processor, Arc graphics, WiFi 7, Bluetooth 5.4, without operating system, with EU power cable)\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0DY811HD9?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">ASUS NUC 15 Pro Slim Kit RNUC15CRKU500002 (Intel Core i5 Ultra processor, Arc graphics, WiFi 7, Bluetooth 5.4, without operating system, with EU power cable)*<\/a>\n                                                <div class=\"atkp-author\">by Asus<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 429.99\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0DY811HD9?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                    <\/div>\n            <\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-einrichtung-in-home-assistant\"><span class=\"ez-toc-section\" id=\"Einrichtung_in_Home_Assistant\"><\/span>Setup in Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All we need to set up the entire automation is a Home Assistant server and any Windows, Linux or Mac computer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-schritt-1-stelle-sicher-dass-dein-pc-eine-statische-ip-adresse-hat\"><span class=\"ez-toc-section\" id=\"Schritt_1_Stelle_sicher_dass_Dein_PC_eine_statische_IP-Adresse_hat\"><\/span>Step 1: Make sure that your PC has a static IP address<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, you must assign a static IP address to your PC. A static IP address always remains the same, unlike a dynamic IP address, which can change. This constancy is crucial so that Home Assistant can reliably identify and ping your PC. You can set up a static IP address via the settings of your router or directly in the network settings of your PC.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-schritt-2-erlaube-pings-in-der-firewall\"><span class=\"ez-toc-section\" id=\"Schritt_2_Erlaube_Pings_in_der_Firewall\"><\/span>Step 2: Allow pings in the firewall<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In order for Home Assistant to communicate successfully with your PC, your PC must allow pings. You may need to adjust your firewall settings for this. In Windows, you can find this option in the advanced settings of the Windows firewall. Allow incoming echo requests (pings) so that Home Assistant can monitor the status of your PC. You must enable the \"File and Printer Sharing (Echo Request - ICMPv4 Incoming)\" rule in Windows Defender.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-schritt-3-integriere-den-pc-in-home-assistant\"><span class=\"ez-toc-section\" id=\"Schritt_3_Integriere_den_PC_in_Home_Assistant\"><\/span>Step 3: Integrate the PC into Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now that your PC has a static IP and allows pings, it's time to integrate it into Home Assistant. Use the ping integration to add your PC as a device. Simply enter the static IP address of your PC. Home Assistant will now send regular pings to your PC to check whether it is on or off. To do this, click on the Integrations tab under Settings in Home Assistant. Then click on Add integration at the bottom right and search for Ping (ICMP). Then enter the static IP of your PC.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order not to switch the sensor directly after the PC has been switched off, for example, we can create an additional binary sensor that only switches after a certain time.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># PC Monitoring\n- platform: template\n  sensors:\n    pc_an:\n      friendly_name: \"PC on\"\n      delay_off:\n        minutes: 5\n      value_template: &gt;-\n        {{ states('binary_sensor.pc_active')}}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Platform\"><\/span>Platform<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>platform: template<\/code> indicates that this sensor is a template sensor. Template sensors in Home Assistant make it possible to define or calculate the status of the sensor based on other statuses or information in the system.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Sensors\"><\/span>Sensors<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>sensors:<\/code> defines a list of one or more sensors to be created under this platform.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PC_an\"><\/span>PC on<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Within the <code>sensors<\/code>-block, a specific sensor is defined, here called <code>pc_an<\/code>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>friendly_name: \"PC on\"<\/code> defines a user-friendly name for the sensor. This name is displayed in the Home Assistant user interface and makes it easier to identify the sensor.<\/li>\n\n\n\n<li><code>delay_off:<\/code> defines a delay before the sensor is reported as \"off\" after it was previously reported as \"on\". In this case:\n<ul class=\"wp-block-list\">\n<li><code>minutes: 5<\/code> means that the sensor sets its status to \"off\" if the PC has been inactive or switched off for at least 5 minutes. This function is useful to avoid volatile state changes and to bring a certain stability to the reported state.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><code>value_template: &gt;-<\/code> allows you to define the logic used to determine the state of the sensor (<code>pc_an<\/code>) to be determined. The following template line:\n<ul class=\"wp-block-list\">\n<li><code>{{ states('binary_sensor.pc_active')}}<\/code> is a Jinja2 template that returns the current state of another binary sensor (<code>binary_sensor.pc_active<\/code>) and retrieves this state as the value of <code>pc_an<\/code> is used. This means that the state of <code>pc_an<\/code> directly the state of <code>binary_sensor.pc_active<\/code> is reflected.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">To summarize, this code creates a binary sensor called <code>pc_an<\/code> (with the user-friendly name \"PC on\"), which determines its state based on another binary sensor (<code>binary_sensor.pc_active<\/code>) is determined. If <code>binary_sensor.pc_active<\/code> changes the state, follows <code>pc_an<\/code> this state, but delays the change to \"off\" by 5 minutes after <code>binary_sensor.pc_active<\/code> has been switched off. This can be particularly useful to monitor whether a PC is running and to control actions or automations in Home Assistant based on the PC's operating status.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-schritt-4-erstelle-automatisierungen-basierend-auf-dem-pc-status\"><span class=\"ez-toc-section\" id=\"Schritt_4_Erstelle_Automatisierungen_basierend_auf_dem_PC-Status\"><\/span>Step 4: Create automations based on the PC status<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the information about whether your PC is on or off to create creative automations. Imagine you come home and as soon as you turn on your PC, the lights in your study automatically turn on and your favorite Internet radio starts playing through your smart speaker. Or maybe you want everything to switch off as soon as your PC shuts down - no problem with Home Assistant.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Monitor - PC on\/off = Speaker on\/off\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - binary_sensor.pc_an\n    from: \"on\"\n    to: \"off\"\n  - platform: state\n    entity_id:\n      - binary_sensor.pc_an\n    from: \"off\"\n    to: \"on\"\ncondition: []\naction:\n  - if:\n      - condition: state\n        entity_id: binary_sensor.pc_an\n        state: \"on\"\n    then:\n      - service: switch.turn_on\n        data: {}\n        target:\n          entity_id: switch.speaker\n    else:\n      - service: switch.turn_off\n        data: {}\n        target:\n          entity_id: switch.speaker\nmode: single<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This code is a Home Assistant automation that is used to automatically turn a speaker on or off depending on whether a PC is on or off. Here is a detailed explanation of each section of the automation:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Alias\"><\/span>Alias<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>alias: Monitor - PC on\/off = Speakers on\/off<\/code> gives the automation a recognizable name. In this case, \"Monitor - PC on\/off = Speaker on\/off\". This helps you to easily identify the automation in your Home Assistant configuration.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Beschreibung\"><\/span>Description<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>description: \"\"<\/code> could be used to add a detailed description of the automation. In this code it is left blank.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ausloser_Trigger\"><\/span>Trigger<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>trigger:<\/code> defines what triggers the automation. There are two triggers here, both of which are based on the status of a binary sensor (<code>binary_sensor.pc_an<\/code>) react:\n<ul class=\"wp-block-list\">\n<li>The first trigger fires when the status of the sensor changes from \"on\" to \"off\".<\/li>\n\n\n\n<li>The second trigger fires when the status of the sensor changes from \"off\" to \"on\".<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These triggers ensure that the automation is activated both when the PC is switched on and off.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Bedingung_Condition\"><\/span>Condition<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>condition: []<\/code> Conditions could be defined here that must be fulfilled for the actions to be executed. In this case, no conditions are specified, which means that the actions are always executed as long as the trigger applies.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Aktion_Action\"><\/span>Action<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>action:<\/code> describes what should happen when the trigger conditions are met. There is a conditional logic (<code>if<\/code>) based on the state of the binary sensor (<code>binary_sensor.pc_an<\/code>):\n<ul class=\"wp-block-list\">\n<li>If the status of the sensor is \"on\", the loudspeaker is switched on (<code>switch.turn_on<\/code>).<\/li>\n\n\n\n<li>If the status is different (in this case \"off\"), the loudspeaker is switched off (<code>switch.turn_off<\/code>).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>target<\/code>-section specifies which device (in this case <code>switch.speaker<\/code>) the action is applied.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Modus\"><\/span>Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>mode: single<\/code> specifies that this automation is only executed once. This means that a new instance of the automation will not start as long as the previous instance is still running.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In summary, this automation turns the speaker on when the PC is turned on and turns it off when the PC is turned off. It is a simple but effective example of how Home Assistant can be used to automate devices in the smart home based on the status of other devices or sensors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"youtube\"><span class=\"ez-toc-section\" id=\"Umsetzung_im_YouTube-Video\"><\/span>YouTube video implementation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Windows \/ Mac computer status monitoring &amp; automation made easy with Home Assistant\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/f6PghkBiavg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-fazit\"><span class=\"ez-toc-section\" id=\"Fazit\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Integrating your PC into your smart home with Home Assistant opens up a world of possibilities. By pinging your PC and creating automations based on its status, you can simplify your daily routines and make your home smarter than ever before. Don't forget to carefully carry out the necessary steps such as assigning a static IP and adjusting the firewall settings. Then nothing will stand in the way of seamlessly integrating your PC into your smart home.<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-font-awesome-icons-8c6d8bc1\" class=\"wp-block-themeisle-blocks-font-awesome-icons jp-block-themeisle-blocks-font-awesome-icons\"><span class=\"wp-block-themeisle-blocks-font-awesome-icons-container\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\"><i class=\"fas fa-business-time\"><\/i><\/a><\/span><\/div>\n\n\n\n<h4 id=\"jp-block-themeisle-blocks-advanced-heading-baa7fa4c\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-baa7fa4c jp-block-themeisle-blocks-advanced-heading ticss-116fe371\">Interested, but lack time or knowledge?<\/h4>\n\n\n\n<p id=\"jp-block-themeisle-blocks-advanced-heading-16f35f43\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-16f35f43 jp-block-themeisle-blocks-advanced-heading ticss-0e2b851d\">No problem. Contact me and we will discuss your requirements. No matter if business or private.<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-button-group-77e0455a\" class=\"wp-block-themeisle-blocks-button-group wp-block-buttons align-center jp-block-themeisle-blocks-button-group jp-block-buttons\">\n<div id=\"jp-block-themeisle-blocks-button-c6fb3687\" class=\"wp-block-themeisle-blocks-button wp-block-button jp-block-themeisle-blocks-button jp-block-button\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\" class=\"wp-block-button__link\"><i class=\"fas fa-fw fa-phone-volume margin-right\"><\/i><span>Contact<\/span><\/a><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>M\u00f6chtest Du Dein Smart-Home-Erlebnis auf die n\u00e4chste Stufe heben? Wie w\u00e4re es, wenn Dein PC Teil Deines vernetzten Zuhauses wird und Du nicht einmal vor ihm sitzen musst, um ihn in Deine t\u00e4glichen Routinen einzubinden? Genau hier kommt Home Assistant ins Spiel \u2013 ein m\u00e4chtiges Werkzeug, das Dir hilft, Deinen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Starte deinen Home-Office Tag automatisiert durch deinen PC. Jetzt auf YouTube!","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":[32],"tags":[46,28,39],"class_list":["post-1485","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smart-home","tag-home-assistant","tag-smart-home","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Windows \/ Mac PC Automatisierung mit Home Assistant - Sascha Brockel<\/title>\n<meta name=\"description\" content=\"Entdecke, wie Du Deinen Windows oder Mac PC mit Home Assistant automatisierst. Tipps f\u00fcr effiziente Smart-Home-Integration!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows \/ Mac PC Automatisierung mit Home Assistant\" \/>\n<meta property=\"og:description\" content=\"Entdecke, wie Du Deinen Windows oder Mac PC mit Home Assistant automatisierst. Tipps f\u00fcr effiziente Smart-Home-Integration!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/\" \/>\n<meta property=\"og:site_name\" content=\"Sascha Brockel\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-23T12:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T02:44:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1880\" \/>\n\t<meta property=\"og:image:height\" content=\"1253\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sascha Brockel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:site\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sascha Brockel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/\"},\"author\":{\"name\":\"Sascha Brockel\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"headline\":\"Windows \\\/ Mac PC Automatisierung mit Home Assistant\",\"datePublished\":\"2024-02-23T12:00:00+00:00\",\"dateModified\":\"2024-04-28T02:44:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/\"},\"wordCount\":1478,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1\",\"keywords\":[\"Home Assistant\",\"Smart Home\",\"Windows\"],\"articleSection\":[\"Smart Home\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#respond\"]}],\"copyrightYear\":\"2024\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/\",\"name\":\"Windows \\\/ Mac PC Automatisierung mit Home Assistant - Sascha Brockel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1\",\"datePublished\":\"2024-02-23T12:00:00+00:00\",\"dateModified\":\"2024-04-28T02:44:20+00:00\",\"description\":\"Entdecke, wie Du Deinen Windows oder Mac PC mit Home Assistant automatisierst. Tipps f\u00fcr effiziente Smart-Home-Integration!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1\",\"width\":1880,\"height\":1253,\"caption\":\"Photo by XXSS IS BACK on Pexels.com\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/pc-automatisierung-mit-home-assistant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/sascha-brockel.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Windows \\\/ Mac PC Automatisierung mit Home Assistant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/\",\"name\":\"Sascha Brockel\",\"description\":\"Fortschritt kennt keine Grenzen\",\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sascha-brockel.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\",\"name\":\"Sascha Brockel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"width\":709,\"height\":945,\"caption\":\"Sascha Brockel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\"},\"sameAs\":[\"https:\\\/\\\/sascha-brockel.de\\\/\",\"https:\\\/\\\/www.instagram.com\\\/saschabrockel\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sascha-brockel-b20725164\\\/\",\"https:\\\/\\\/x.com\\\/saschabrockel\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCogo25FboCahP7s8--HDuIQ\"]}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/53CGBoWFo_c\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"518\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2024-02-23T12:00:00+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Windows \/ Mac PC automation with Home Assistant - Sascha Brockel","description":"Discover how to automate your Windows or Mac PC with Home Assistant. Tips for efficient smart home integration!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/","og_locale":"en_US","og_type":"article","og_title":"Windows \/ Mac PC Automatisierung mit Home Assistant","og_description":"Entdecke, wie Du Deinen Windows oder Mac PC mit Home Assistant automatisierst. Tipps f\u00fcr effiziente Smart-Home-Integration!","og_url":"https:\/\/sascha-brockel.de\/en\/pc-automation-with-home-assistant\/","og_site_name":"Sascha Brockel","article_published_time":"2024-02-23T12:00:00+00:00","article_modified_time":"2024-04-28T02:44:20+00:00","og_image":[{"width":1880,"height":1253,"url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","type":"image\/jpeg"}],"author":"Sascha Brockel","twitter_card":"summary_large_image","twitter_creator":"@saschabrockel","twitter_site":"@saschabrockel","twitter_misc":{"Written by":"Sascha Brockel","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#article","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/"},"author":{"name":"Sascha Brockel","@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"headline":"Windows \/ Mac PC Automatisierung mit Home Assistant","datePublished":"2024-02-23T12:00:00+00:00","dateModified":"2024-04-28T02:44:20+00:00","mainEntityOfPage":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/"},"wordCount":1478,"commentCount":0,"publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"image":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","keywords":["Home Assistant","Smart Home","Windows"],"articleSection":["Smart Home"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#respond"]}],"copyrightYear":"2024","copyrightHolder":{"@id":"https:\/\/sascha-brockel.de\/en\/#organization"}},{"@type":"WebPage","@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/","url":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/","name":"Windows \/ Mac PC automation with Home Assistant - Sascha Brockel","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#primaryimage"},"image":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","datePublished":"2024-02-23T12:00:00+00:00","dateModified":"2024-04-28T02:44:20+00:00","description":"Discover how to automate your Windows or Mac PC with Home Assistant. Tips for efficient smart home integration!","breadcrumb":{"@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#primaryimage","url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","contentUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","width":1880,"height":1253,"caption":"Photo by XXSS IS BACK on Pexels.com"},{"@type":"BreadcrumbList","@id":"https:\/\/sascha-brockel.de\/pc-automatisierung-mit-home-assistant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/sascha-brockel.de\/"},{"@type":"ListItem","position":2,"name":"Windows \/ Mac PC Automatisierung mit Home Assistant"}]},{"@type":"WebSite","@id":"https:\/\/sascha-brockel.de\/#website","url":"https:\/\/sascha-brockel.de\/","name":"Sascha Brockel","description":"Progress knows no boundaries","publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sascha-brockel.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970","name":"Sascha Brockel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","contentUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","width":709,"height":945,"caption":"Sascha Brockel"},"logo":{"@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1"},"sameAs":["https:\/\/sascha-brockel.de\/","https:\/\/www.instagram.com\/saschabrockel\/","https:\/\/www.linkedin.com\/in\/sascha-brockel-b20725164\/","https:\/\/x.com\/saschabrockel","https:\/\/www.youtube.com\/channel\/UCogo25FboCahP7s8--HDuIQ"]}]},"og_video":"https:\/\/www.youtube.com\/embed\/53CGBoWFo_c","og_video_type":"text\/html","og_video_duration":"518","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2024-02-23T12:00:00+00:00","ya_ovs_allow_embed":"true"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2024\/02\/pexels-photo-777001.jpeg?fit=1880%2C1253&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/comments?post=1485"}],"version-history":[{"count":6,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1485\/revisions"}],"predecessor-version":[{"id":1663,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/1485\/revisions\/1663"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media\/1487"}],"wp:attachment":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media?parent=1485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/categories?post=1485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/tags?post=1485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}