Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spoddify-mopped/spoddify-mopped-gpio

A plugin to control Spoddify Mopped using GPIO.
https://github.com/spoddify-mopped/spoddify-mopped-gpio

gpio plugin raspberry-pi spoddify-mopped

Last synced: about 1 month ago
JSON representation

A plugin to control Spoddify Mopped using GPIO.

Awesome Lists containing this project

README

        

[![npm Version](https://badgen.net/npm/v/spoddify-mopped-gpio)](https://www.npmjs.com/package/spoddify-mopped-gpio)
# Spoddify Mopped GPIO

Spoddify Mopped GPIO is a plugin to control [Spoddify Mopped](https://github.com/spoddify-mopped/spoddify-mopped) using GPIO.

- Volume rotary encoder
- Play / Pause
- Previous / Next

## Install

The installation requires that [Spoddify Mopped](https://github.com/spoddify-mopped/spoddify-mopped) is already installed.

You can install this plugin with:

```bash
npm install -g spoddify-mopped-gpio
```

## Config

This plugin is configured in the [`config.json`](https://github.com/spoddify-mopped/spoddify-mopped/wiki/Config-File) of Spoddify Mopped.

### Example:

```json
"plugins": {
"spoddify-mopped-gpio": {
"playPausePin": 15
}
}
```

### Structure:

| Key | Description |
| --------------------------- | --------------------------------- |
| `playPausePin` _(optional)_ | GPIO pin of the play pause button |
| `nextPin` _(optional)_ | GPIO pin of the next button |
| `previousPin` _(optional)_ | GPIO pin of the previous button |

# Contributing

Contributing and pull requests are very welcome.

More information about contributing to this project can be found [here](CONTRIBUTING.md)