Python home-assistant

Open-source Python projects categorized as home-assistant

Top 23 Python home-assistant Projects

  • GitHub repo frigate

    NVR with realtime local object detection for IP cameras

    Project mention: Coral USB Device Errors, Get's Warm, and Doesn't work with Frigate | | 2021-06-15

    Hey folks - I'm trying to get Frigate setup with a Google Coral USB stick. Everything on the setup has gone well, except that the USB device is behaving strange. It appears to be connecting/disconnecting repeatedly. And it's awfully warm to the touch when it's not in use.

  • GitHub repo python-miio

    Python library & console tool for controlling Xiaomi smart appliances

    Project mention: Can someone add "zhimi.airpurifier.mb4" to Xiaomi.miio profile? | | 2021-01-19
  • GitHub repo integration

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

    Project mention: Can you connect Meross MS310 plug to HomeKit via HomeBridge? Is there a plug-in I can install and it will take care of everything rather than having to get HTTP Catcher and hoop through multiple hurdles? | | 2021-05-11

    Once done, you’ll need to install HACS ( ) this is a little harder but ok if you follow instructions exactly.

  • GitHub repo SonoffLAN

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

    Project mention: Sonoff Toys to try out in HA whilst I'm in quarantine | | 2021-02-26

    I can recommend these together with the sonoff zigbee bridge using the custom integration sonoffLAN

  • 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 ble_monitor

    Passively monitors BLE messages from Xiaomi Mijia BLE MiBeacon, Qingping, ATC, Xiaomi Scale, Kegtron and Thermoplus sensors

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

    Hack your Amazon Dash to run what you want.

    Project mention: IoT WiFi button to send HTTP request or UDP packet? | | 2021-06-08

    If you get your hands on some Amazon Dash Buttons (check eBay), they can be hacked to do what you want.

  • 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: | | 2021-05-12

    Install the Alexa Media Player component, at least version 3.40 or higher

  • GitHub repo receipt-parser-legacy

    A supermarket receipt parser written in Python using tesseract OCR

    Project mention: Ask HN: OCR Libraries for Receipt Scanning/Parsing? | | 2021-04-03

    For "middle ground" projects like this (criteria: a common enough problem that lots of people _should_ have thought about it -- but it may not be a lucrative core business area -- and there aren't any household-name open source projects that cover it), I often turn to GitHub repository search to see what's available.

    Based on that, your best bet might be, which is a Python library built on top of the Tesseract OCR engine. You can use it containerized, in Android/iOS applications, or via your own Python scripts.

  • 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 Xiaomi, Roborock and Viomi vacuums without a need for rooting.

    Project mention: Is there any way to create moving objects in a Lovelace picture element? | | 2021-02-16

    Mine is done through an older method but I believe this one can do it for roborock:

  • 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 unifiprotect

    Control and monitor your Unifi Protect Cameras from Home Assistant

    Project mention: Can I set notifications on Protect to limit how often I get them? | | 2021-06-03

    I have been using HA for awhile now. I have it setup to only send notifications from my garage once every 60 seconds, and from the front door every 20 seconds. It works pretty well. I actually just tried switching to using the HA thumbnail for the notification but I'm having issues with that.

  • GitHub repo remote_homeassistant

    Links multiple home-assistant instances together

    Project mention: Is there a way to estimate coverage of my 6 Zigbee repeaters? 1 is the ConBee II hub, the rest are IKEA Trådfri repeaters. I have devices connecting to the "not nearest" all the time. | | 2021-05-13

    I use a Pi with its own Home Assistance instance and then use Remote Home-Assistant to link it to my primary instance. I only have one remote, but the documentation says that it can support multiple.

  • GitHub repo HASS-Deepstack-object

    Home Assistant custom component for using Deepstack object detection

    Project mention: For what do you use your Jetson Nano? | | 2021-03-13

    Running Deepstack on it, paired with HASS-Deepstack-object in Home Assistant.

  • GitHub repo xiaomi_airpurifier

    Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant

    Project mention: | | 2021-03-18

    If you've installed the custom component via HACS ( you to use:

  • 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 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 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 ha-wyzeapi

    Home Assistant Integration for Wyze devices.

    Project mention: I'm Wyze Cofounder Dave Crosby - AMA! | | 2021-06-17

    I am a Home Assistant user, and currently use the Wyze Integration... which is a third-party "hack" (no offense to the developer), meaning that any change to Wyze's backend or a server outage would render any devices integrated via that integration useless, in short order. This is obviously no different to the situation where someone uses the devices directly through the Wyze app... but also completely goes against the idea of a "locally controlled" smart home.

  • GitHub repo adaptive-lighting

    Adaptive Lighting custom component for Home Assistant

    Project mention: Turn on Lights differently depending on the Time of Day | | 2021-04-14

    Home assistant has Adaptive lighting component but you have to install it from external repository. It works well with Hue, not with Tradfri unfortunately.

  • GitHub repo xiaomi_fan

    Xiaomi Mi Smart Fan integration for Home Assistant

    Project mention: How to control the Xiaomi Smartmi Standing Fan 3 with node red? | | 2021-06-17

    The integration is still not perfectly done, as you can see in this issue:

  • GitHub repo Home-Assistant-Mail-And-Packages

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

    Project mention: I set up Home Assistant to notify my roommate and I in the morning when we need to check our apartment building's mailroom in the evening. Saves us a lot of hassle! | | 2021-04-30
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-06-17.


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

Project Stars
1 frigate 1,849
2 python-miio 1,775
3 integration 1,736
4 SonoffLAN 1,214
5 supervisor 918
6 ble_monitor 748
7 amazon-dash 718
8 alexa_media_player 680
9 receipt-parser-legacy 635
10 Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor 425
11 haaska 387
12 hass-circadian_lighting 358
13 unifiprotect 350
14 remote_homeassistant 316
15 HASS-Deepstack-object 273
16 xiaomi_airpurifier 262
17 home-assistant-cli 261
18 pyscript 248
19 pi-mqtt-gpio 247
20 ha-wyzeapi 238
21 adaptive-lighting 231
22 xiaomi_fan 195
23 Home-Assistant-Mail-And-Packages 183