Code Monkey home page Code Monkey logo

signalk-fusion-stereo's Introduction

signalk-fusion-stereo

Greenkeeper badge

signalk-server-node plugin to control a Fusion stereo

API

The stereo can be controled using PUT requests. These can be done via HTTP or over WebSockets.

Detailed info on PUT and Request/Response

Http:

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/output/zone1/volume/master
{
  "value": 12
}

WebSockets:

{
  "context": "vessels.self",
  "requestId": "184743-434373-348483",
  "put": {
    "path": "entertainment.device.fusion1.output.zone1.volume.master",
    "value": 12
  }
}

Set Volume

The value is a number between 0 and 24

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/output/zone1/volume/master
{
  "value": 12
}

Mute/UnMute

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/output/zone1/isMuted
{
  "value": true
}

Change the Source

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/output/zone1/source
{
  "value": 'source2'
}

Power On/Off

The value should be 'on' or 'off'

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/state
{
  "value": 'on'
}

Play/Pause/Prev/Next

PUT http://localhost:3000/signalk/v1/api/vessels/self/entertainment/device/fusion1/play
{
  "value": true
}

signalk-fusion-stereo's People

Contributors

sbender9 avatar greenkeeper[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.