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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hasspad-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fa60e62c452e5465058f0bc6c6defeaf31538ab0af7ebe2807a3bbe1def92a9a
MD5 6b9e7f05cfe94bf4c2986666ef0a3943
BLAKE2b-256 433082fa5ef16597af3c746aacf52d89361b06edf1cc7eac713ef415978c2477

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hasspad-0.1.1-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.9.2 Linux/5.10.11-v7l+

File hashes

Hashes for hasspad-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a135317786d2acd4780b0621ea7e14e9d9d4f4eceb863a66b56f5aa80b40357d
MD5 485796035a254a40529128f7e8b7f801
BLAKE2b-256 8827fa4b44e9bd99cf57e72a5009bd3c35d10eb2a78062499f98c3d75ea88fcb

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