Giter VIP home page Giter VIP logo

onkyo.js's Issues

Timeout when using SPEAKER_AB_CONTROL commands?

Question

How would I use these commands? So far everything is working great but the A/B speaker commands do not work. Everything else does work. I'm trying it like this:

onkyo.speakerAbControlStatusA()

or like this

onkyo.sendCommand("SPEAKER_AB_CONTROL", "STATUS_A")

Both attempts get me

Unhandled rejection Error: connect ETIMEDOUT 196.168.1.176:60128 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)

I'm using version 0.8.2. If any more information is required I'd be happy to provide it.

Add api to set specific volume levels

Description

  • Type: Enhancement

Enhancement

There is no way to set specific volume ( only +1 or -1 )

It could be usefull to set specific value

Thank you

unknow_msgs

Just some unknow_msgs while testing

RX: unknown event: Error: Unknown data: DIM01
RX: unknown event: Error: Unknown data: RAS00
RX: unknown event: Error: Unrecognised key: SLI12

Add optional port configuration

HI there, am utilising this great little project in conjunction with my NEEO remote but ive ran into an issue. I have two devices and it doesn't seem to play nice as there is what seems to be port contention. ive fixed this in my local copy by duplicating the package and making it onkyo1.js and changed the port manually to accomodate but it would be great if this could be done in the connect function as below

`var onkyo515 = require('onkyo.js');
var onkyo515 = onkyo515.init({ip: '192.168.1.124', PORT: 60129 });
onkyo515.Connect();
module.exports.onkyo515ButtonPressed = function onkyo515ButtonPressed(name, deviceid) {

console.log('[CONTROLLER]', name, 'button was pressed!');
console.log (name);`

isOn and isOff to promises

Description

  • Type: Enhancement
  • Related Issue: #24

Enhancement

Reason to enhance/problem with existing solution

isOn and isOff rely on cached value and gives boolean

Suggested enhancement

Returns Promise and resolved boolean

Pros
result is always up-to-date

Cons
Breaking change

OnkyoDiscover class is not exposed

After ES6 Pr merged i have started my work ( Module for domotic software )

The discover function is not exposed and the exemple below is not working.

const {OnkyoDiscover} = require('onkyo.js');
OnkyoDiscover.DiscoverFirst()
  .then((onkyo) => {
      return onkyo.powerOn();
  });

Error

TypeError: Cannot read property 'DiscoverFirst' of undefined

Thank you

onkyo.js available in Node-Red

Description

  • Type: Question

Question

Have you ever tried to embed this frame work into a node-red node? There are several example out there but none of it is really comfortable.

Enhancement: Add isOn() isOff()

Description

  • Type: Enhancement | Question

Enhancement

Suggested enhancement

Enhance power api like yamaha-nodejs

powerStatus return object like { PWR : true }

Implement or modify existing power api like yamaha package return:

onkyo.isOn()
onkyo.isOff()

What do you think about this feature ?

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.