Skip to main content

A small webapp which can send beqcatalogue filters to a DSP device

Project description

ezbeq

A simple web browser for beqcatalogue which integrates with minidsp-rs for local remote control of a minidsp or HTP-1.

Setup

Windows / MacOS

Python is required so use an appropriate package manager to install it.

chocolatey is a convenient choice for Windows homebrew is the equivalent for MacOS

Linux

Use your distro package manager to install python.

Installation

Example is provided for rpi users

$ ssh pi@myrpi
$ sudo apt install python3 python3-venv python3-pip libyaml-dev
$ mkdir python
$ cd python
$ python3 -m venv ezbeq
$ cd ezbeq
$ . bin/activate
$ pip install ezbeq

Using with a Minidsp

Install minidsp-rs as per the provided instructionshttps://github.com/mrene/minidsp-rs#installation

Using with a Monolith HTP-1

See the configuration section below

Upgrade

$ ssh pi@myrpi
$ cd python/ezbeq
$ . bin/activate
$ pip install --upgrade --force-reinstall ezbeq

then restart the app

Running the app manually

$ ssh pi@myrpi
$ cd python/ezbeq
$ . bin/activate
$ ./bin/ezbeq
  Loading config from /home/pi/.ezbeq/ezbeq.yml
  2021-01-16 08:43:15,374 - twisted - INFO - __init__ - Serving ui from /home/pi/python/ezbeq/lib/python3.8/site-packages/ezbeq/ui

Now open http://youripaddress:8080/index.html in your browser

Configuration

See $HOME/.ezbeq/ezbeq.yml

Options that are intended for override are:

  • port: listens on port 8080 by default
  • if using a minidsp
    • minidspExe: full path to the minidsp-rs app, defaults to minidsp so assumes the binary is already on your PATH
    • minidspOptions: additional command line switches to pass to the minidsp binary
  • if using a htp1, add the ip address and named channels to which the filters should be sent. e.g. if the HTP1 is at 192.168.1.181 and only sub1 should be updated
htp1:
  ip: 192.168.1.181
  channels:
    - sub1

Starting ezbeq on bootup

This is optional but recommended, it ensures the app starts automatically whenever the rpi boots up and makes sure it restarts automatically if it ever crashes.

We will achieve this by creating and enabling a systemd service.

  1. Create a file ezbeq.service in the appropriate location for your distro (e.g. /etc/systemd/system/ for debian)::
[Unit]
Description=ezbeq
After=network.target

[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi
ExecStart=/home/pi/python/ezbeq/bin/ezbeq
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target
  1. enable the service and start it up::
$ sudo systemctl enable ezbeq.service
$ sudo service ezbeq start
$ sudo journalctl -u ezbeq.service
-- Logs begin at Sat 2019-08-17 12:17:02 BST, end at Sun 2019-08-18 21:58:43 BST. --
Aug 18 21:58:36 swoop systemd[1]: Started ezbeq.
  1. reboot and repeat step 2 to verify the recorder has automatically started

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ezbeq-0.4.10.tar.gz (893.6 kB view details)

Uploaded Source

Built Distribution

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

ezbeq-0.4.10-py3-none-any.whl (902.0 kB view details)

Uploaded Python 3

File details

Details for the file ezbeq-0.4.10.tar.gz.

File metadata

  • Download URL: ezbeq-0.4.10.tar.gz
  • Upload date:
  • Size: 893.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for ezbeq-0.4.10.tar.gz
Algorithm Hash digest
SHA256 4934bf877564b4cc8fd3a74dfd8efafff3a17abde4547904bdda640730ad50af
MD5 9ef1c3196a16e88e0fa84f7e253c30db
BLAKE2b-256 4e40e400dcf28cd9169239d6c0922cfa26bc1fab637ae2acd4d495619f5746a3

See more details on using hashes here.

File details

Details for the file ezbeq-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: ezbeq-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 902.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for ezbeq-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 efa00c6e5e4ad52fc1fe7645a22cf76051989444eb53329e24a1da118be0c55b
MD5 80851271fcf2e4dc27759972d4b86866
BLAKE2b-256 cae2cde2a3908f73e185e776b4d97cd06046bdfec6605f98bc16176b98b9fb82

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