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 | news.ycombinator.com | 2021-01-21

    The very first thing I did on my old Xiaomi Gen1 was to root it with information from this repo https://github.com/dgiese/dustcloud/wiki

    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 https://github.com/rytilahti/python-miio 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? | reddit.com/r/homeassistant | 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. | reddit.com/r/homeassistant | 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.. | reddit.com/r/homeassistant | 2021-02-19
  • GitHub repo supervisor

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

    Project mention: How Supervisor becomes not privileged? | reddit.com/r/homeassistant | 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? | reddit.com/r/homeassistant | 2021-02-24
  • GitHub repo ble_monitor

    Xiaomi Mijia BLE MiBeacon monitor

    Project mention: Keep Mi Flora sensor data after HA restart? | reddit.com/r/homeassistant | 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 | reddit.com/r/homeassistant | 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)? | reddit.com/r/smarthome | 2021-02-24

    The Circadian integration for Home Assistant is quite configurable: https://github.com/claytonjn/hass-circadian_lighting

  • 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? | reddit.com/r/homeassistant | 2021-02-23

    Maybe interesting: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

  • GitHub repo unifiprotect

    Control and monitor your Unifi Protect Cameras from Home Assistant

    Project mention: Doorbell chime option | reddit.com/r/Ubiquiti | 2021-02-15

    briis/unifiprotect: Control and monitor your Unifi Protect Cameras from Home Assistant (github.com)

  • GitHub repo remote_homeassistant

    Links multiple home-assistant instances together

    Project mention: remote Homebridge | reddit.com/r/homebridge | 2021-01-26

    I see that in Home Assistant users can use plugin Remot-Home Assistant https://github.com/custom-components/remote_homeassistant

  • GitHub repo home-assistant-cli

    :computer: Command-line tool for Home Assistant

    Project mention: [yabai] green green green | reddit.com/r/unixporn | 2021-01-29

    Have you tried the official CLI? https://github.com/home-assistant-ecosystem/home-assistant-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? | reddit.com/r/homeassistant | 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 ... https://github.com/flyte/pi-mqtt-gpio

  • GitHub repo pyscript

    Pyscript adds rich Python scripting to HASS

    Project mention: Python script not working | reddit.com/r/homeassistant | 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 | reddit.com/r/Wyze | 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 | reddit.com/r/homeassistant | 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)? | reddit.com/r/homeassistant | 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!. | reddit.com/r/nodered | 2021-02-14

    this one really helped solve my current issue, https://github.com/zachowj/hass-node-red

  • GitHub repo tuyaha

    Implements the special Tuya Home Assistant API.

    Project mention: Tuya Pet Feeder | reddit.com/r/homeassistant | 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. | reddit.com/r/homeassistant | 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 | reddit.com/r/homeassistant | 2020-12-21

    Try this integration instead: https://github.com/ollo69/ha-samsungtv-smart

  • GitHub repo ha-average

    Average Sensor for Home Assistant

    Project mention: Hive - Average Temperature? | reddit.com/r/homeassistant | 2021-01-27

    https://github.com/Limych/ha-average#average-sensor-for-home-assistant

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.

Index

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