🏡 Open source home automation that puts local control and privacy first.
* Add a general mysensors component. This sets up the serial comm with the gateway through pymysensors. The component also contains a decorator function for the callback function of mysensors platforms. Mysensors platforms should create a function that listens for the node update event fired by the mysensors component. This function should call another function, that uses the decorator, and returns a dict. The dict should contain a list of which mysensors V_TYPE values the platform handles, the platfrom class and the add_devices function (from setup_platform). * Change existing mysensors sensor platform to depend on the new mysensors component. * Add a mysensors switch platform. The switch platform takes advantage of new functionality from the the fork of pymysensors https://github.com/MartinHjelmare/pymysensors, that enables the gateway to send commands to change node child values. * Change const and is_metric to global constants, in the mysensors component and import const depending on the mysensors version used. * Change variables devices and gateway to global variables. * Add some debug logging at INFO log level. |
||
---|---|---|
config | ||
docs | ||
homeassistant | ||
script | ||
tests | ||
.coveragerc | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CONTRIBUTING.md | ||
Dockerfile | ||
LICENSE | ||
MANIFEST.in | ||
pylintrc | ||
pytest.ini | ||
README.md | ||
requirements.txt | ||
requirements_all.txt | ||
setup.py |
Home Assistant

Home Assistant is a home automation platform running on Python 3. The goal of Home Assistant is to be able to track and control all devices at home and offer a platform for automating control.
To get started:
python3 -m pip install homeassistant
hass --open-ui
Check out the website for a demo, installation instructions, tutorials and documentation.
Examples of devices it can interface it:
- Monitoring connected devices to a wireless router: OpenWrt, Tomato, Netgear, DD-WRT, TPLink, ASUSWRT and any SNMP capable Linksys WAP/WRT
- Philips Hue lights, WeMo switches, Edimax switches, Efergy energy monitoring, and Tellstick devices and sensors
- Google Chromecasts, Music Player Daemon, Logitech Squeezebox, Plex, Kodi (XBMC), iTunes (by way of itunes-api), and Amazon Fire TV (by way of python-firetv)
- Support for ISY994 (Insteon and X10 devices), Z-Wave, Nest Thermostats, RFXtrx, Arduino, Raspberry Pi, and Modbus
- Interaction with IFTTT
- Integrate data from the Bitcoin network, meteorological data from OpenWeatherMap and Forecast.io, Transmission, or SABnzbd.
- See full list of supported devices
Built home automation on top of your devices:
- Keep a precise history of every change to the state of your house
- Turn on the lights when people get home after sun set
- Turn on lights slowly during sun set to compensate for less light
- Turn off all lights and devices when everybody leaves the house
- Offers a REST API and can interface with MQTT for easy integration with other projects like OwnTracks
- Allow sending notifications using Instapush, Notify My Android (NMA), PushBullet, PushOver, Slack, Telegram, and Jabber (XMPP)
The system is built modular so support for other devices or actions can be implemented easily. See also the section on architecture and the section on creating your own components.
If you run into issues while using Home Assistant or during development of a component, check the Home Assistant help section how to reach us.