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.2.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.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hasspad-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d90204371e8952f1362d8f395b67f6f82d1bdee94bbfd080b6f19811ee0638ee
MD5 1a13cc10ce0ff3ca337ba554e7c032c5
BLAKE2b-256 ece31970cb792d616c7d140c8a8700bdc7d68a73393334f4cbe59386ee0d3901

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hasspad-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f13110744d4632c1a07ecc380fae1c23b76a03c27c59c8da0e8a401960acc82
MD5 b597ef795a59ab5ee49a8fda6a0ea6c8
BLAKE2b-256 9e3cfa9ac02ae369be5c87960249b252f812d8b9a4ff479c6a9880509c3d5db5

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