Skip to main content

Home Assistant Neon Skill

Uses PHAL Home Assistant plugin

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>

On OVOS, you would update ~/.config/mycroft/mycroft.conf to include the following:

{
  "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.

Disabling Intents

If you don't want to have all of the intents enabled, which may be the case if you ship this skill by default in a voice assistant image, there is a setting available to disable intents. This can be done in the settings.json file for the skill. The path will be ~/.config/mycroft/skills/neon_homeassistant_skill.mikejgray/settings.json or ~/.config/neon/skills/neon_homeassistant_skill/settings.json for Neon.

{
  "__mycroft_skill_firstrun": false,
  "disable_intents": false
}

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

Metadata

Release files for neon-homeassistant-skill 0.0.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neon-homeassistant-skill 0.0.24
File Size Uploaded
neon_homeassistant_skill-0.0.24.tar.gz 14.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neon-homeassistant-skill 0.0.24
File Interpreter ABI Platform
neon_homeassistant_skill-0.0.24-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / neon_homeassistant_skill-0.0.24.tar.gz

Download URL neon_homeassistant_skill-0.0.24.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce8b1d6ee48e3d2a3ef1e724c40f1552a508b87d815e34f413eeab3f109b32f8
BLAKE2b-256 checksum
How to use checksums
adaf5ac1bcb7a03468ba361df1801b38d502804d432e9e8b38db3e4ce769dead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.8 Darwin/24.1.0

Release files / neon_homeassistant_skill-0.0.24-py3-none-any.whl

Download URL neon_homeassistant_skill-0.0.24-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32b901df14c46b75e655c9e32ad4aca3598d33db78f680222a4fe3dd5830d59e
BLAKE2b-256 checksum
How to use checksums
64770d925a1b0cd3e5afd70b1b467a665e366bad428b2b872ef500f09aedbe1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.8 Darwin/24.1.0

Release history Release notifications | RSS feed

This release

0.0.24 This release

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page