https://github.com/davesteele/comitup-demo
Audio demo code for Comitup on the Raspberry Pi
https://github.com/davesteele/comitup-demo
Last synced: 12 months ago
JSON representation
Audio demo code for Comitup on the Raspberry Pi
- Host: GitHub
- URL: https://github.com/davesteele/comitup-demo
- Owner: davesteele
- License: gpl-2.0
- Created: 2017-07-05T04:03:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-15T02:20:49.000Z (about 5 years ago)
- Last Synced: 2025-03-03T02:22:41.659Z (over 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# comitup-demo
## Description
This is a quick-and-dirty demonstration package for the
[**Comitup**](https://davesteele.github.io/comitup/) service. When the
comitup-demo service is started (automatically, at boot), it will clear out
any NetworkManager connections, and restart NetworkManager and Comitup.
It will then announce, using a synthesized voice via an attached speaker,
whenever the following events occur:
* A new user connected to the comitup Access point ("AP")
* A new user accessed a comitup-web page ("web")
* The Internet-facing wifi node is connected ("Successful connection")
Once connected, a web service is started that will allow the person who
initiated the successful connection to enter their name, which is then
announced.
## Requirements
The demo requires the following:
* A Raspberry Pi 3, or Zero-W (or newer Pi), with an additional USB wifi adapter
(the second adapter is a requirement of the demo, not Comitup, and
the use of a wireless-enabled Pi avoids AP-mode compatibility problems)
* The following packages must be installed:
- comitup
- festival
* A speaker connected to the Pi audio port
## Installation
Run *install.sh*, and set the *web_service* parameter in
*/etc/comitup.conf* to *demoweb.service*.
Please note that this package is somewhat invasive. It rewrites the **Comitup**
_comitup\_web_ configuration variable on installation, and wipes known
NetworkManager Wifi connections on startup.