Skip to main content

ggwave data-over-sound audio transformer plugin for OVOS

Project description

GGWave audio plugin

plugin for https://github.com/ggerganov/ggwave

Emit audio QR codes to be handled by this plugin

Interact with this plugin from your browser, including WiFi setup

The companion skill OpenVoiceOS/ovos-skill-ggwave allows you to enable/disable this plugin by voice

Skill stores support installing skills via GGWave:

"skills": {
    "installer": {
      "allow_pip": true,
      "allow_alphas": true,
      "break_system_packages": false
    }
}

TIP Allow ovos-core to install python packages, otherwise the install commands from this plugin will error out

Install

pip install ovos-audio-transformer-plugin-ggwave

ggwave fails to install on python 3.11, you can use the wheel from here https://whl.smartgic.io/ , plugin install should then work

Listener Plugin

To have this plugin loaded by dinkum-listener, enable it in mycroft.conf

WARNING currently not recommended, see bug report in dinkum-listener

"listener": {
    "audio_transformers": {
        "ovos-audio-transformer-plugin-ggwave": {
            "start_enabled": true
        }
    }
}

Standalone

You can also run the plugin in standalone mode, in it's own process or docker container

Launch with the console entrypoint

ovos-ggwave-listener

Valid Audio Data

this repo provides a test interface via github pages

you can also test your own payloads via https://ggwave-js.ggerganov.com/

Wifi setup

emit a message setting the wifi SSID SSID:123456

after the SSID is set, emit a message setting the wifi password PSWD:123456

if password is empty then it is assumed to be an open network PSWD:

once password is received a bus message is sent for ovos-PHAL-plugin-network-manager to handle

Install a github skill

install a skill from a github url

GHS:https://github.com/OpenVoiceOS/skill-ovos-icanhazdadjokes

Install a python package

install any package from pypi

PIP:skill-wikipedia-for-humans

Utterance

inject an utterance in the messagebus like if the user spoke it to the microphone

UTT:hello cruel world

Speak

make a OVOS device speak

SPEAK:hello world

Bus

inject a simple message in the messagebus

BUS:recognizer_loop:sleep

Json

inject a serialized message in the messagebus

JSON:{"type": "speak", "data": {"utterance": "hello"}, "context": {}}

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

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

File details

Details for the file ovos_audio_transformer_plugin_ggwave-1.0.0a1.tar.gz.

File metadata

File hashes

Hashes for ovos_audio_transformer_plugin_ggwave-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 7b99df22e2287110f7671f809c29b12c4d1293bb174c987d7d5aab1fbf1be279
MD5 02c7ebfbd07bec9ac74488b0322f87e2
BLAKE2b-256 08d22a184de8cb21c96af2edb26ef1b3be4721157ccd83b18dbf5887d5f58460

See more details on using hashes here.

File details

Details for the file ovos_audio_transformer_plugin_ggwave-1.0.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_audio_transformer_plugin_ggwave-1.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b290909479bcbbd78f195fd85f5df51c1f40a0d5e55a361e97064132ad0d36e
MD5 dcfbe316f75154ddcf356e42bd5a1f3b
BLAKE2b-256 29183469f4ed7c4342e652a1592eaccbe9ed5edd1c21783594c80a6895a357fe

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