Python home-automation

Open-source Python projects categorized as home-automation

Top 23 Python home-automation Projects

  • Home Assistant

    :house_with_garden: Open source home automation that puts local control and privacy first.

    Project mention: Are the majority of the Smart LED bulbs rebrands from one manuafacturer? | /r/homeautomation | 2023-09-30

    Looks to me like these are the same. Or atleast using tuya / smart life system. If you have issues separate your 2.4 and 5ghz network. They don't like 5ghz. If you want to pull them completely off the grid check out https://www.home-assistant.io/ there is a tuya development platform and a plugin for home assistant that gives you local control too. Eliminating delays. There's 100s of smart home stuff that although probably have different makers all use the tuya eco system

  • frigate

    NVR with realtime local object detection for IP cameras

    Project mention: My new Ring security setup without using ring (Home assistant + Alarmo) | /r/Ring | 2023-09-22

    My next goal is to ditch all my Google cameras with Amcrest ones using (Frigate NVR) and a coral.ai chip. This will get rid of the monthly subscription fees and leave me with products that will last until they fail.

  • Revelo Payroll

    Free Global Payroll designed for tech teams. Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.

  • python-miio

    Python library & console tool for controlling Xiaomi smart appliances

    Project mention: Lifehack kütyük, eszközök | /r/hungary | 2023-03-15
  • kalliope

    Kalliope is a framework that will help you to create your own personal assistant.

    Project mention: Can I run Kalliope on Windows ? | /r/learnpython | 2023-01-07

    I have found this package called Kalliope which is a personal assistant framework. I tried pip3 install kalliope, but I get an error on installing pyalsaaudio:

  • home-assistant-config

    :house: My Home Assistant configuration, a bit different that others :) Be sure to :star2: this repository for updates! (by frenck)

  • supervisor

    :house_with_garden: Home Assistant Supervisor (by home-assistant)

    Project mention: The Home Assistant Green is here | news.ycombinator.com | 2023-09-17

    I recently discovered the home-assistant supervisor [0] repository. It's awesome to see such a well-designed, mature, and actively maintained open-source python application. I've found that there's no shortage of high quality python libraries and frameworks to learn from, but open-source applications aren't as common. I love coming across repos like this so I can study their design.

    [0] https://github.com/home-assistant/supervisor

  • amazon-dash

    Hack your Amazon Dash to run what you want.

    Project mention: Small, easy to press, IoT button for triggering tasks? Using Tile now but my mother with Arthritis has trouble. | /r/tasker | 2023-06-03

    Try searching for hacking amazon dash buttons, never did it myself, never had one. https://github.com/Nekmo/amazon-dash

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • appdaemon

    :page_facing_up: Python Apps for Home Automation

  • pyatv

    A client library for Apple TV and AirPlay devices

    Project mention: New Home Architecture Upgrade is Available Again | /r/HomeKit | 2023-03-27

    -> https://github.com/postlund/pyatv/issues/1931

  • hass-music-assistant

    Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.

    Project mention: Is there *any* speaker group casting system out there that just works? | /r/plexamp | 2023-02-21

    In fact the Music Assistant add on might work for your use case without much futzing now that I think about it. If you haven't looked at that yet, do so. It might "just work" for you.

  • ha-wyzeapi

    Home Assistant Integration for Wyze devices.

    Project mention: Ways to enable/disable camera feed (HomeAssistant is fine too) | /r/Scrypted | 2023-04-14
  • HomeAssistant-Tapo-Control

    Control for Tapo cameras as a Home Assistant component

    Project mention: How likely are wifi connected baby monitors to be hacked? | /r/ScienceBasedParenting | 2023-02-24
  • zha-device-handlers

    ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.

    Project mention: Philips Hue will soon force users to create an account | news.ycombinator.com | 2023-09-21

    There are some quirks fixes that add support for a lot of these in zha that just haven't been merged yet but that you can add

    https://github.com/zigpy/zha-device-handlers/pull/2485

  • haaska

    Home Assistant Alexa Skill Adapter that supports v3 of the Alexa Smart Home Skill API

  • python-ring-doorbell

    Python Ring Door Bell is a library written in Python 3 that exposes the Ring.com devices as Python objects.

  • better_thermostat

    This custom component for Home Assistant will add crucial features to your climate-controlling TRV (Thermostatic Radiator Valves) to save you the work of creating automations to make it smart. It combines a room-temperature sensor, window/door sensors, weather forecasts, or an ambient temperature probe to decide when it should call for heat and automatically calibrate your TRVs to fix the imprecise measurements taken in the radiator's vicinity.

    Project mention: Aqara as thermostat for radiator | /r/Aqara | 2023-02-11

    This is what I do, and it works great. I use https://github.com/KartoffelToby/better_thermostat

  • Home-Assistant-Mail-And-Packages

    Home Assistant integration providing day of package counts and USPS informed delivery images.

    Project mention: Searching for a self-hosted parcel tracking service | /r/selfhosted | 2023-01-25
  • MerossIot

    Async Python library for controlling Meross devices

  • blinkpy

    A Python library for the Blink Camera system

    Project mention: api or local module storage access to photos/videos | /r/blinkcameras | 2023-02-06

    I was able to setup a script based on blinkpy that worked. It's not an out-of-the-box type thing though, I had to modify an example script to loop through and download what I was interested in, but if you're willing to dig into the options, you can get some interesting information like temperature and an actual value for the battery instead of "good, good, good, change immediately". I ran it on an old machine I had, it would download x days worth of videos, sort them, rename them, then transfer them to a shared drive. PITA, but for what I needed at the time it was fine.

  • home-assistant-configuration

    My Old Home Assistant Config. For more Information visit -> (by thejeffreystone)

    Project mention: Automate a Wake-up light | /r/homebridge | 2022-12-16

    I created two helpers (which are basically what Home Assistant calls variables): a toggle helper and a time helper. Then I created an automation to run when the time is equal to the time that the helper is set to and it checks to make sure the toggle helper is on, then you can run whatever task you want (lights, music, etc) as part of the automation. Some smart lights have a built in "fade" time that you can use in Home Assistant, but my lights don't support that (FYI, the "Light" service call built into Home Assistant has this functionality but only if your lights support it. If your lights don't they'll just come on and you'll be confused as to why it isn't working.... I know from experience), so I am using a script I borrowed from Jeff at SlackerLabs to accomplish the fading. He talks about his lighting script in this video. He has it on his GitHub here. Scripts in Home Assistant are a little more complicated than regular automations, but definitely much more powerful.

  • EventGhost

    EventGhost is an advanced, yet easy-to-use extensible automation tool for Windows.

    Project mention: Send link to server from context menu | /r/userscripts | 2023-05-25

    ``` // ==UserScript== // @name Send To EventGhost // @namespace http://tampermonkey.net/ // @version 1.0 // @description Add a context menu option to send a link to EventGhost or choose your own server // @author @Reddit u/The_IMPERIAL_One // @match :///* // @run-at document-start // @grant GM_registerMenuCommand // @grant GM_xmlhttpRequest // @icon https://github.com/EventGhost/EventGhost/raw/master/images/logo.png // ==/UserScript==

  • home_assistant_solarman

    Home Assistant component for Solarman collectors used with a variety of inverters.

    Project mention: Discounter: Supermarkt Netto bringt Balkonkraftwerk - Golem.de | /r/de | 2023-01-03
  • home-assistant-cli

    :computer: Command-line tool for Home Assistant

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-30.

Python home-automation related posts

Index

What are some of the best open-source home-automation projects in Python? This list will help you:

Project Stars
1 Home Assistant 63,161
2 frigate 9,858
3 python-miio 2,743
4 kalliope 1,669
5 home-assistant-config 1,657
6 supervisor 1,464
7 amazon-dash 799
8 appdaemon 759
9 pyatv 742
10 hass-music-assistant 716
11 ha-wyzeapi 627
12 HomeAssistant-Tapo-Control 614
13 zha-device-handlers 512
14 haaska 507
15 python-ring-doorbell 493
16 better_thermostat 472
17 Home-Assistant-Mail-And-Packages 470
18 MerossIot 437
19 blinkpy 428
20 home-assistant-configuration 393
21 EventGhost 392
22 home_assistant_solarman 384
23 home-assistant-cli 373
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
www.influxdata.com