Top 23 Python home-assistant Projects
-
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-21The 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.
-
integration
HACS gives you a powerful UI to handle downloads of all your custom needs.
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.
-
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-24If 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.
-
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 -
supervisor
:house_with_garden: Home Assistant Supervisor (by home-assistant)
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.
-
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 -
ble_monitor
Xiaomi Mijia BLE MiBeacon monitor
Project mention: Keep Mi Flora sensor data after HA restart? | reddit.com/r/homeassistant | 2021-02-19 -
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-18I'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...
-
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-24The Circadian integration for Home Assistant is quite configurable: https://github.com/claytonjn/hass-circadian_lighting
-
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.
Maybe interesting: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor
-
unifiprotect
Control and monitor your Unifi Protect Cameras from Home Assistant
briis/unifiprotect: Control and monitor your Unifi Protect Cameras from Home Assistant (github.com)
-
remote_homeassistant
Links multiple home-assistant instances together
I see that in Home Assistant users can use plugin Remot-Home Assistant https://github.com/custom-components/remote_homeassistant
-
home-assistant-cli
:computer: Command-line tool for Home Assistant
Have you tried the official CLI? https://github.com/home-assistant-ecosystem/home-assistant-cli
-
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-31I 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
-
pyscript
Pyscript adds rich Python scripting to HASS
I highly recommend using this instead of the pretty awful built-in Python thing. Pyscript is just a TON better.
-
ha-wyzeapi
Home Assistant Integration for Wyze Bulbs, Switches, Sensors and Lock
-
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 -
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-21I'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).
-
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-14this one really helped solve my current issue, https://github.com/zachowj/hass-node-red
-
tuyaha
Implements the special Tuya Home Assistant API.
-
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-14I'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).
-
ha-samsungtv-smart
📺 Home Assistant SamsungTV Smart Component with simplified SmartThings API Support configurable from User Interface.
Try this integration instead: https://github.com/ollo69/ha-samsungtv-smart
-
ha-average
Average Sensor for Home Assistant
https://github.com/Limych/ha-average#average-sensor-for-home-assistant
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 |