From 58e9e086dfb1f5ed6af9efb6e823efcb3c3e1136 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 7 Jun 2019 21:16:54 +0200 Subject: [PATCH] Add temperature sensor support to google smarthome (#9557) * Remove 'include_non_clients' config option * Remove scan interval config option * Remove naming config options * Oops, removed standard option * Remove entity_namespace, too * Add Repetier-Server component documentation (#9362) * Updated to newest developer version of Repetier platform * :pencil2: Tweak After this we will merge it * Added Repetier Logo file * Mention 'adb_response' attribute (#9529) * Mention 'adb_response' attribute * Add missing ' * Remove template braces * :pencil2: Tweak After this I will merge it * Add documentation for LCN service calls (#9516) * Add docs for LCN service calls * :pencil2: Tweak After this we can merge it * Adding Watson TTS (IBM Cloud) (#9279) * Adding Watson TTS (IBM Cloud) * Review fixes * :pencil2: Tweak * :pencil2: Tweak After this we can merge it * Created the Azure EH docs (#9462) * Created the Azure EH docs * Update release version Co-Authored-By: Klaas Schoute * :pencil2: Tweak After this we can merge it * Adds AdGuard Home integration (#9538) * Adds AdGuard Home integration * Update source/_components/adguard.markdown Co-Authored-By: Klaas Schoute * Update source/_components/adguard.markdown Co-Authored-By: Klaas Schoute * Add temperature sensor support to google smarthome --- source/_components/adguard.markdown | 117 +++++++++++++++++++ source/_components/google_assistant.markdown | 1 + source/images/supported_brands/adguard.png | Bin 0 -> 2818 bytes 3 files changed, 118 insertions(+) create mode 100644 source/_components/adguard.markdown create mode 100644 source/images/supported_brands/adguard.png diff --git a/source/_components/adguard.markdown b/source/_components/adguard.markdown new file mode 100644 index 00000000000..298351a35de --- /dev/null +++ b/source/_components/adguard.markdown @@ -0,0 +1,117 @@ +--- +layout: page +title: "AdGuard Home" +description: "Instructions on how to integrate AdGuard Home with Home Assistant." +date: 2019-05-31 00:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: adguard.png +ha_category: + - Network + - Sensor + - Switch +ha_release: 0.95 +ha_iot_class: Local Polling +--- + +AdGuard Home is a network-wide ad-and-tracker blocking DNS server with parental +control (adult content blocking) capabilities. The `adguard` integration allows +you to control and monitor your AdGuard Home instance in Home Assistant. + +## {% linkable_title Configuration via the frontend %} + +Menu: **Configuration** -> **Integrations**. + +Click on the `+` sign to add an integration and click on **AdGuard Home**. +Follow the configuration flow, after finishing, the AdGuard Home +integration will be available. + +## {% linkable_title Sensors %} + +This integration provides sensors for the following information from AdGuard Home: + +- Number of DNS queries. +- Number of blocked DNS queries. +- Ratio (%) of blocked DNS queries. +- Number of requests blocked by safe browsing. +- Number of safe searches enforced. +- Number of requests blocked by parental control. +- Total number of active filter rules loaded. +- Average response time of AdGuard's DNS server in milliseconds. + +## {% linkable_title Switches %} + +The integration will create a number of switches: + +- AdGuard Protection (master switch). +- Filtering. +- Safe Browsing. +- Parental Control. +- Safe Search. +- Query Log. + +These switches allow you to automate things easily. For example, one could +write an automation to turn off Safe Search after the kids' bedtime. + +The "AdGuard Protection" switch, is a master switch. It will turn off and +bypass all AdGuard feature, regardless if they are switched on or not. + +

+Turning off Query Log will result in all sensors not receiving updates anymore. +AdGuard relies on Query Log to provide stats. +

+ +## {% linkable_title Services %} + +These services allow one to manage filter subscriptions in AdGuard Home. +Using these services in automations could be helpful to block certain +sites/domains at certain times. + +For example, you could create a custom filter list blocking social media sites, +during the day and release them during the evening, using a simple automation. + +### {% linkable_title Service `add_url` %} + +Add a new filter subscription to AdGuard Home. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ------------------------------------------------------------ | +| `name` | No | The name of the filter subscription. | +| `url` | No | The filter URL to subscribe to, containing the filter rules. | + +### {% linkable_title Service `remove_url` %} + +Removes a filter subscription from AdGuard Home. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | -------------------------------------- | +| `url` | No | The filter subscription URL to remove. | + +### {% linkable_title Service `enable_url` %} + +Enables a filter subscription in AdGuard Home. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | -------------------------------------- | +| `url` | No | The filter subscription URL to enable. | + +### {% linkable_title Service `disable_url` %} + +Disables a filter subscription in AdGuard Home. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | --------------------------------------- | +| `url` | No | The filter subscription URL to disable. | + +### {% linkable_title Service `refresh` %} + +Refresh all filter subscriptions in AdGuard Home. + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ------------------------------------------------- | +| `force` | Yes | Force update (bypasses AdGuard Home throttling). | + +By default, `force` is set to `false`. Forcing an update bypasses AdGuard Home's +throttling logic, so use with care. diff --git a/source/_components/google_assistant.markdown b/source/_components/google_assistant.markdown index 5f1c75b766f..498a9910ae3 100644 --- a/source/_components/google_assistant.markdown +++ b/source/_components/google_assistant.markdown @@ -193,6 +193,7 @@ Currently, the following domains are available to be used with Google Assistant, - media_player (on/off/set volume (via set brightness)/source (via set input source)) - climate (temperature setting, operation_mode) - vacuum (dock/start/stop/pause) +- sensor (temperature setting, only for temperature sensor)

The domain groups contains groups containing all items, by example group.all_automations. When telling Google Assistant to shut down everything, this will lead in this example to disabling all automations diff --git a/source/images/supported_brands/adguard.png b/source/images/supported_brands/adguard.png new file mode 100644 index 0000000000000000000000000000000000000000..6bfd89b7b663f1903f337a38fe1cc67cc05ff50d GIT binary patch literal 2818 zcmV+d3;pzoP)wR2{$cxStCXSs2M#Eq8Cpt0JxbiIJ%^5y^k z|IFvn^!oMg1y>6I000eiQchC<5Gg}th^WTh?f?J&ZW@;8000VQNkly1-fh&rrAaGI%_}_>%bR^MnTU9% z*I~IvJCTWen^V_uM(@KylWD6?EH_khP9MNRrmcvicB&nF_jxSLSg#4iaG)?yDX{$M zPj$vTR649QV1TNC%8P{n_SuJ?%_uh(T5-cZw0k(_nXwWKn3Rf5@Gmr8);y;5KF1Xz9_pD5Mv$+tZ${}Gvg{SsioOIv-EtJH?| z+cXv$9~v*IcuC(07S>Vn4^;{*j8`j?{89y2*{_%TNZuJ1x?vjy`?q5(9Q$jiuz&l; z!ZsF(sY(MCu`V7jcdCeWY&FLfP!S7xu9%8g{?Qmx5euz6=jkL zi&(@WR{1mzv4}-1ViAj2#3B~4h$YFf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