• Stars
    star
    191
  • Rank 202,877 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created about 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Areas with batteries included for Home Assistant

Magic Areas for Home Assistant

Magic Areas

Build Status Discord Latest release GitHub latest commit GitHub contributors

Tired of writing the same automations, over and over, for each of your rooms? You wish Home Assistant just figured out all entities you have in an area and magically started being smarter about them?

Magic Areas is the batteries that were missing! Would like to have a single motion sensor that is grouped to all your other motion sensors in that area? What if all (most) of your sensor and binary_sensor entities had aggregates (grouping/average), PER AREA? Would you like for lights and climate devices to turn on and off MAGICALLY whenever an area is occupied/clear?

If you think all of the above features are freaking awesome, Magic Areas is here for you!

Features

  • Uses multiple type of sensors for determining presence on an area.
  • media_player, binary_sensors (all listed types) are supported
  • Loads areas from Area Registry -- No need of handling them elsewhere!.
  • Support exclusion of entities you don't want to be considered.
  • Support inclusion of entities not in the Area Registry (i.e. integrations that don't define an unique_id).
  • Automatic turn climates and lights on! (All or user-defined).
  • Creates lights groups which reacts to different area states!
  • Automatic turn off lights, climate and media devices when a room is clear
  • Creates a Health sensor (triggered by binary_sensors with problem, smoke, moisture, safety and gas device classes) for each area
  • Creates a Presence Hold switch to manually override area presence
  • Creates aggregation sensors for your binary_sensor such as:
    • Motion sensors
    • Door sensors
    • Window sensors
    • Leak sensors
  • Creates average (and sums) sensors for all your sensor needs
  • Creates global (interior/exterior) aggregate and average sensors
  • Area-Aware Media Player: Forward media_play events to media player entities in occupied areas only!

Installation

Magic Areas is available on HACS! For installation instructions check the installation wiki.

Configuration

Configuration options for Magic Areas are on a per-area basis.

Before you start: Please make sure you understand all the Concepts on the wiki.

Go to Configuration > Integrations. You shall see the Magic Areas integration and configure each area (and Meta-Areas!).

See all configuration options in the wiki.

Problems/bugs, questions, feature requests?

Please enable debug logging by putting this in configuration.yaml:

logger:
    default: warning
    logs:
        custom_components.magic_areas: debug

As soon as the issue occurs capture the contents of the the log (/config/home-assistant.log) and open up a ticket!

More Repositories

1

GoldenEye

GoldenEye Layer 7 (KeepAlive+NoCache) DoS Test Tool
Python
1,324
star
2

Babadook

Connection-less Powershell Persistent and Resilient Backdoor
PowerShell
231
star
3

virtuaplant

VirtuaPlant is a Industrial Control Systems simulator which adds a “similar to real-world control logic” to the basic “read/write tags” feature of most PLC simulators.
Python
206
star
4

Multi-TOR

Shellscript opens multiple TOR instances
Shell
108
star
5

torblock

TORBlock is a BASH script to automatically download the list of TOR exit-nodes and add them to your IPTables ruleset.
Shell
49
star
6

GoldenEye-Mobile

GoldenEye Mobile Android Layer 7 HTTP DoS Test Tool
Java
33
star
7

usernamer

Pentest Tool to generate usernames/logins based on supplied names.
Python
32
star
8

peach-pit

Peach Fuzzer PIT Files
22
star
9

ha-room

Room presence custom_component for Home Assistant
Python
10
star
10

bifrost

bifröst - Intelligent Self-Learning Whitelist-based Web Application Firewall
Python
9
star
11

liboutplus

C library for structured output in many formats as text, csv, json, xml, html etc
C
9
star
12

etter.filter.hrf

The HRF (HTTP Request/Response Filter) is an ettercap filter that virtually downgrades HTML pathes on-the-fly replacing 'https' strings to 'http' forcing data to be sent over plaintext
7
star
13

nsrlex

Computer forensics tool to extract from NSRL signature files the known-good and known-bad hashsets.
Python
6
star
14

iDRACula

iDRACula uses the Shodan API (www.shodanhq.com) to search for Dell iDRAC boards exposed to the internet with default credentials
Python
5
star
15

whitespace

Whitespace Programming Language Tools
PHP
4
star
16

debian-bootstrap

Script for bootstrapping a debian-based distro
Shell
3
star
17

envmgr

Safely and easily manage service API keys to be used as environment variables
Python
2
star
18

Talks

Materials from talks on conferences
2
star
19

prick

The PHP Resource Information Conformity checKer will scan through all your PHP file's variable's and function's names to check for consistency of the used character set in order to detect obfuscated (and potentially malicious) values for those entities.
Python
2
star
20

pi-weather-station

Weather Station for Raspberry Pi
Python
1
star
21

mita

Man-in-the-App Proof-of-concept code
PHP
1
star
22

Wordpress-Do

Apple's Quicksilver / Gnome Do-like quick action manager for Wordpress
PHP
1
star
23

cpft

Copy-and-Paste File Transfer is a simple proof-of-concept VBS script that encodes and decodes base64-encoded binaries thus allowing to transfer files via text-only interfaces.
Visual Basic
1
star
24

esphome-packages

Handy packages for ESPHome
1
star