Python home-assistant

Open-source Python projects categorized as home-assistant

Top 23 Python home-assistant Projects

  • GitHub repo python-miio

    Python library & console tool for controlling Xiaomi smart appliances

    Project mention: Valetudo is a cloud-free web interface for robot vacuum cleaners | | 2021-01-21

    The very first thing I did on my old Xiaomi Gen1 was to root it with information from this repo

    It's come a long way since the early days and with valetudo it's really easy and convenient to hook the vacuum up to Home Assistant. It's actually one of the reasons I was recommending Xiaomi vacuum cleaners to friends and family. Unfortunately they have recently changed the firmware password making it impossible to root without using a serial connection.

    Never once has my vacuum connected outside my own network. I know many instructions say you need to install the app to root, however that's not true. You could upload using as long as the vacuum isn't provisioned yet.

  • GitHub repo integration

    HACS gives you a powerful UI to handle downloads of all your custom needs.

    Project mention: Missing Integrations? | | 2021-02-17

    You'll also find that many integrations you might want to use aren't official and won't be found in the HA docs at all. Many are community-developed and require more manual install steps. But HACS makes it easier.

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo frigate

    NVR with realtime local object detection for IP cameras

    Project mention: Looking for a compatible motion sensor/camera for rodent detection in attic. | | 2021-02-24

    If you can get power to the attic (usually there's a plug up there somewhere), you could use a Wifi IP cam that's always on and Frigate HA add-in. I use it to detect wildlife outside, I'd say detecting animals inside should be easier.

  • GitHub repo SonoffLAN

    Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant

    Project mention: Questions for anyone with the Sonoff Zigbee Bridge.. | | 2021-02-19
  • GitHub repo supervisor

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

    Project mention: How Supervisor becomes not privileged? | | 2021-02-14

    I've also tried giving the container access to real dev by following the suggestion mentioned here (followed by a supervisor reload/restart from the UI), but that also doesn't always work and gets overwritten with the next supervisor silent update.

  • GitHub repo alexa_media_player

    This is a custom component to allow control of Amazon Alexa devices in Home Assistant using the unofficial Alexa API.

    Project mention: Is there any way to use the service: media_player.play_media with an Amazon Echo group? | | 2021-02-24
  • GitHub repo ble_monitor

    Xiaomi Mijia BLE MiBeacon monitor

    Project mention: Keep Mi Flora sensor data after HA restart? | | 2021-02-19
  • GitHub repo haaska

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

    Project mention: Template Sensor Not An Option To Trigger Alexa Routine | | 2021-02-18

    I've just re-done the whole setup process from scratch, this time using this method, but it's the exact same result - the sensor is recognised as a contact sensor in the Alexa app, but it can't be chosen as a routine trigger. I've also set it up through the North American endpoint, with the same end result...

  • GitHub repo hass-circadian_lighting

    Circadian Lighting custom component for Home Assistant

    Project mention: Is there a better way to do auto mode with the Kasa (TP-Link) Smart Bulb (KL130B)? | | 2021-02-24

    The Circadian integration for Home Assistant is quite configurable:

  • GitHub repo Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

    This custom integration provides a way to present a live view of a map for a Xiaomi (and Roborock) vacuums.

    Project mention: Roborock s6 maxv state of support in HA? | | 2021-02-23

    Maybe interesting:

  • GitHub repo unifiprotect

    Control and monitor your Unifi Protect Cameras from Home Assistant

    Project mention: Doorbell chime option | | 2021-02-15

    briis/unifiprotect: Control and monitor your Unifi Protect Cameras from Home Assistant (

  • GitHub repo remote_homeassistant

    Links multiple home-assistant instances together

    Project mention: remote Homebridge | | 2021-01-26

    I see that in Home Assistant users can use plugin Remot-Home Assistant

  • GitHub repo home-assistant-cli

    :computer: Command-line tool for Home Assistant

    Project mention: [yabai] green green green | | 2021-01-29

    Have you tried the official CLI?

  • GitHub repo pi-mqtt-gpio

    Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.

    Project mention: How to use RPi Zeros as devices in my HA setup? | | 2021-01-31

    I currently use ESP devices with sensors attached in my house however you may be able to use a Raspberry Pi instead and have certain sensors such as Temperature, PIR motion etc ...

  • GitHub repo pyscript

    Pyscript adds rich Python scripting to HASS

    Project mention: Python script not working | | 2021-02-18

    I highly recommend using this instead of the pretty awful built-in Python thing. Pyscript is just a TON better.

  • GitHub repo ha-wyzeapi

    Home Assistant Integration for Wyze Bulbs, Switches, Sensors and Lock

    Project mention: New product revealed: Wyze Bulb Color | | 2021-02-17
  • GitHub repo Home-Assistant-Mail-And-Packages

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

    Project mention: snail mail to email with monoproce door/window contact sensor | | 2021-01-12
  • GitHub repo adaptive-lighting

    Adaptive Lighting custom component for Home Assistant

    Project mention: How do you make a light change gradually (in my case, brightness and warmth)? | | 2021-02-21

    I'm using Adaptive lighting which does the same thing I believe? I like that I can leave it on all the time, then automate turning it off and back on when I want to change the colour of a light for some reason (movie mode, or having a notification through lighting are my use cases).

  • GitHub repo hass-node-red

    Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core

    Project mention: How to create custom entity , so node-red automations can be enabled\disabled!. | | 2021-02-14

    this one really helped solve my current issue,

  • GitHub repo tuyaha

    Implements the special Tuya Home Assistant API.

    Project mention: Tuya Pet Feeder | | 2021-01-05
  • GitHub repo iphonedetect

    A custom component for Home Assistant to detect iPhones connected to local LAN, even if the phone is in deep sleep.

    Project mention: Just re built my hassio on my server now with a asus a3100 and was wondering if and how I can utilize presence detection. | | 2021-02-14

    I'd recommend using ping and along with Bluetooth Presence detector (edge) and iPhone Detect (it's detects androids as well, ignore the name...and you need to install HACS for the iPhone tracker to work).

  • GitHub repo ha-samsungtv-smart

    📺 Home Assistant SamsungTV Smart Component with simplified SmartThings API Support configurable from User Interface.

    Project mention: Samsung TVs | | 2020-12-21

    Try this integration instead:

  • GitHub repo ha-average

    Average Sensor for Home Assistant

    Project mention: Hive - Average Temperature? | | 2021-01-27

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 2021-02-24.


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

Project Stars
1 python-miio 1,623
2 integration 1,568
3 frigate 1,239
4 SonoffLAN 950
5 supervisor 846
6 alexa_media_player 619
7 ble_monitor 569
8 haaska 367
9 hass-circadian_lighting 310
10 Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor 299
11 unifiprotect 264
12 remote_homeassistant 262
13 home-assistant-cli 240
14 pi-mqtt-gpio 225
15 pyscript 206
16 ha-wyzeapi 173
17 Home-Assistant-Mail-And-Packages 149
18 adaptive-lighting 137
19 hass-node-red 111
20 tuyaha 94
21 iphonedetect 93
22 ha-samsungtv-smart 77
23 ha-average 74