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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hasspad-0.1.0.tar.gz.
File metadata
- Download URL: hasspad-0.1.0.tar.gz
- Upload date:
- Size: 6.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8618ba1f62856e1ca36692efe290005fb9f058295c7c0167164cb8021bb45595
|
|
| MD5 |
6cf9d0383b39ae7e40a5d30753195936
|
|
| BLAKE2b-256 |
3baf518b121a9b8894f8770978ebfbb7205fb002a47a704964d8588e651a5a8c
|
File details
Details for the file hasspad-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hasspad-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c1565f5432485f028c822aff678a4301cf0a98f3c3f9632a654110a0de8ccc2
|
|
| MD5 |
153b905a277d1c4897f1bcc09b14ca88
|
|
| BLAKE2b-256 |
7766823aa43f96ef7cc5d87bd017fceca3aaa78678a50b702fecfb7986726ad4
|