fixed python 3.9 compatibility
This commit is contained in:
25
README.md
25
README.md
@@ -5,13 +5,9 @@ Stream Deck API Library for Home Assistant Stream Deck Integration
|
||||
|
||||
Only compatible with separate [Stream Deck Plugin](https://github.com/Patrick762/streamdeckapi-plugin) or the bundled server.
|
||||
|
||||
## Requirements
|
||||
- Python 3.10 or higher
|
||||
|
||||
## Dependencies
|
||||
- [websockets](https://pypi.org/project/websockets/) 11.0.2
|
||||
|
||||
|
||||
## Server
|
||||
This library also contains a server to use the streamdeck with Linux or without the official Stream Deck Software.
|
||||
|
||||
@@ -21,3 +17,24 @@ For this to work, the following software is required:
|
||||
- cairo [Installation instructions for Windows](https://stackoverflow.com/a/73913080)
|
||||
|
||||
The event `doubleTap` is not working with this server software.
|
||||
|
||||
### Installation on Linux / Raspberry Pi
|
||||
|
||||
Install requirements:
|
||||
`sudo apt install -y libudev-dev libusb-1.0-0-dev libhidapi-libusb0 libjpeg-dev zlib1g-dev libopenjp2-7 libtiff5`
|
||||
|
||||
Allow all users non-root access to Stream Deck Devices:
|
||||
```bash
|
||||
sudo tee /etc/udev/rules.d/10-streamdeck.rules << EOF
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", GROUP="users", TAG+="uaccess"
|
||||
EOF
|
||||
```
|
||||
|
||||
Reload access rules:
|
||||
`sudo udevadm control --reload-rules`
|
||||
|
||||
Install the package:
|
||||
`pip install streamdeckapi`
|
||||
|
||||
Start the server:
|
||||
`streamdeckapi-server`
|
||||
|
||||
Reference in New Issue
Block a user