Skip to main content

Neon Enclosure Module

Project description

Neon Enclosure

The enclosure module implements the Platform and Hardware Abstraction Layer (PHAL) from OpenVoiceOS. This service loads PHAL plugins that provide different functionality to the core; plugins primarily differ from skills in that they do not have any intents and that they may only be valid in certain core environments (i.e. only for particular hardware or operating system environments).

Admin Services

neon_enclosure.admin contains a service much like neon_enclosure, but plugins it loads will have root privileges. This service is intended for handling any OS-level interactions requiring escalation of privileges and is excluded from Docker support. Because this service runs as root, it also requires configuration be initialized prior to its initialization; user-level configurations will be placed in the /root directory per XDG, so any configuration should be done at the system-level.

Running in Docker

The included Dockerfile may be used to build a docker container for the neon_audio module. The below command may be used to start the container.

docker run -d \
--network=host \
--name=neon_enclosure \
-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_enclosure

Note: The above example assumes Docker data is stored in the standard user locations ~/.local/share and ~/.config. You may want to change these values to some other path to separate container and host system data.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

neon-enclosure-1.7.1a11.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neon_enclosure-1.7.1a11-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file neon-enclosure-1.7.1a11.tar.gz.

File metadata

  • Download URL: neon-enclosure-1.7.1a11.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for neon-enclosure-1.7.1a11.tar.gz
Algorithm Hash digest
SHA256 0ba5c0cacd485a6bf63ee8b09280bff2f68209e8c62df763ab322e062e0ef8b1
MD5 41aca9610a7c5d4d4898b5a7501ea42c
BLAKE2b-256 f0145cbf58251614ffa99ac03fef9e2cfcf7ff044a6feeb9af9a0026acf337fa

See more details on using hashes here.

File details

Details for the file neon_enclosure-1.7.1a11-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_enclosure-1.7.1a11-py3-none-any.whl
Algorithm Hash digest
SHA256 688eb28e3c4f9a3fbf0204ca4ed1ecba1e7cdf2b921f93facbe35bfea449faa6
MD5 4a63e5cd8f4281115c8112170ca93b7a
BLAKE2b-256 6ad56592de74cddb2be3d34857f21a4b7d9d5e6d0b50ecef224b1ddf0e05f7ec

See more details on using hashes here.

Supported by

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