Skip to main content

No project description provided

Project description

hasspad

A macropad interface for Home Assistant using the Pimoroni Keybow

Installation

First, provision the device. Flash raspios and ensure ssh and WiFi access are enabled. This can be done by writing a blank ssh file and a wpa_supplicant.conf file to the BOOT mount.

Once you are able to login to the device, perform some basic setup to set the hostname and enable SPI:

sudo raspi-config nonint do_hostname hasspad
sudo raspi-config nonint do_spi 1
sudo reboot

Install docker and docker-compose:

curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi

sudo apt-get install -y libffi-dev libssl-dev python3 python3-pip
sudo pip3 install docker-compose

The last thing you need to do is ensure environment variables are set that are used to authenticate with Home Assistant. You can also pass these in as flags or modify docker-compose.yml:

export HASSPAD_URI="ws://homeassistant.local:8123/api/websocket"
export HASSPAD_ACCESS_TOKEN="abcd"

Finally, just run docker-compose up.

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

hasspad-0.1.3.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

hasspad-0.1.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file hasspad-0.1.3.tar.gz.

File metadata

  • Download URL: hasspad-0.1.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.8 Linux/5.10.11-v7l+

File hashes

Hashes for hasspad-0.1.3.tar.gz
Algorithm Hash digest
SHA256 320c2d2295f800a12fcc5a35bb28dcf8e55f8575cc0acda60a087b886bd7a84b
MD5 724a615a1e2856faf11332414242d50e
BLAKE2b-256 5491688623468d0dd8f1ec8f656b968145ae47a6a5a2ee1da7c04211eb9912fb

See more details on using hashes here.

File details

Details for the file hasspad-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: hasspad-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.8 Linux/5.10.11-v7l+

File hashes

Hashes for hasspad-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc1c162bd9e5d4523bf072fa5e599f559b5ec46430499de2ccea4701cb9ff7c
MD5 e60738e4a97171af41d7832c0cbaa1e1
BLAKE2b-256 43e5cda1646d221f206e71f6df25a7f7be2ae6ad2382c34df78e05a77fb59ef4

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