Skip to main content

A Neon AI Skill for Home Assistant, which integrates with ovos-PHAL-plugin-homeassistant.

Project description

Home Assistant Neon Skill

Uses PHAL Home Assistant plugin

Still a work in progress - PRs and issues welcome

Available on PyPi: pip install neon-homeassistant-skill

Installation on Neon

**Note**: This skill and the required PHAL plugin come pre-installed on Neon images for the Mycroft Mark II and Neon's published Docker images. These instructions are for custom development builds or creating your own Neon instance from scratch.

Install ovos-PHAL-plugin-homeassistant per their documentation

Then, you can pip install neon-homeassistant-skill, or handle the installation from the ~/.config/neon/neon.yaml file if you prefer:

skills:
  default_skills:
    # Jokes skill included because it cannot be pip installed to the image
    - https://github.com/JarbasSkills/skill-icanhazdadjokes/tree/dev
    - neon-homeassistant-skill # Optionally with a version, such as neon-homeassistant-skill==0.0.10

Authenticating to Home Assistant

On a device with a screen, such as the Mycroft Mark II, you can say open home assistant dashboard and use the OAuth login flow to authenticate from the PHAL plugin. If you don't have a screen available or prefer to edit the configuration directly, read on.


The documentation for ovos-PHAL-plugin-homeassistant specifies which configuration file to put your Home Assistant hostname/port and API key. Note that Neon uses a YAML configuration, not a JSON file, so edit ~/.config/neon/neon.yaml and make the following update for a minimal installation:

PHAL:
  ovos-PHAL-plugin-homeassistant:
    host: http://<HA_IP_OR_HOSTNAME>:8123
    api_key: <HA_LONG_LIVED_TOKEN>

The PHAL node above should be at the root of the Neon user configuration file, appended to the end of file if existing content exists, and will merge with system configuration per Neon Configuration Docs.

Mycroft Mark II does not always support .local hostnames such as the default homeassistant.local DNS. You may need to use the IP of your Home Assistant instance instead. If you have a Nabu Casa subscription and don't mind traffic going out to the internet using your public Nabu Casa DNS is also a supported option. However, if your internet connectivity drops from your Neon instance, you will be unable to control your smart home devices from Neon. A local DNS/IP is preferable.

Upcoming Features

  • Start OAuth workflow with voice
  • Start an instance of the ovos-PHAL-plugin-homeassistant if PHAL isn't already running
  • Vacuum functions
  • HVAC functions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neon_homeassistant_skill-0.0.12a11.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file neon_homeassistant_skill-0.0.12a11.tar.gz.

File metadata

File hashes

Hashes for neon_homeassistant_skill-0.0.12a11.tar.gz
Algorithm Hash digest
SHA256 3617d80db429b0648f5a08670caf6dc3aa4a410359c258431205bde8f9230f7c
MD5 9132bab3a269b5c2f4df7b74e68379f7
BLAKE2b-256 0dbcfb1100f0291f1462e90113d8cf748915caebb1367b2765ae462e4fa4f941

See more details on using hashes here.

Provenance

File details

Details for the file neon_homeassistant_skill-0.0.12a11-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_homeassistant_skill-0.0.12a11-py3-none-any.whl
Algorithm Hash digest
SHA256 42c751c16c375e46f66f6d5ccdfe48f28312107cf31ff26ad6d0c9cfc4ce58ad
MD5 231cee80b7afa173893e5272962de1b6
BLAKE2b-256 2f0bc69fb413aca032ee41e475ac4a5c8dce59ee70821f1c8bff4c99328dc3ad

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page