Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Inputs, config.schema.json, and updated eiscp fork #80

Merged
merged 2 commits into from
Nov 22, 2020

Conversation

solowalker27
Copy link
Collaborator

@solowalker27 solowalker27 commented Jun 4, 2020

Before submitting your PR, please review the following checklist:

Touches code around and thus potentially addresses (this should at least be looked at again after this):
#74
#72
#71
#68
#63

  • KEEP PR small so it could be easily reviewed.
  • AVOID making unnecessary stylistic changes in unrelated code

Manually merged my changes back in. Ran npm test and fixed all the linting errors. Performed a sanity check with my own Onkyo and confirmed it's functioning properly. I tried to keep your styling changes as much as possible. I updated the input mapping to use your input_name and display_name. Did some cleanup along the way. Should hopefully be easier to review and more immediately testable.

solowalker27 added 2 commits June 4, 2020 13:24
Copy link

@bradhs bradhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually... after installing this pull request I am getting the following error when homebridge starts up. I rebuilt my config just in case it was causing issues.

[10/25/2020, 20:47:46] TypeError: Cannot read property 'some' of undefined
at /usr/local/lib/node_modules/homebridge-onkyo/index.js:808:24
at Array.filter ()
at OnkyoAccessory.addSources (/usr/local/lib/node_modules/homebridge-onkyo/index.js:807:38)
at OnkyoAccessory.setUp (/usr/local/lib/node_modules/homebridge-onkyo/index.js:160:37)
at new OnkyoAccessory (/usr/local/lib/node_modules/homebridge-onkyo/index.js:148:8)
at /usr/local/lib/node_modules/homebridge-onkyo/index.js:30:22
at Array.forEach ()
at OnkyoPlatform.createAccessories (/usr/local/lib/node_modules/homebridge-onkyo/index.js:29:13)
at new OnkyoPlatform (/usr/local/lib/node_modules/homebridge-onkyo/index.js:22:8)
at /usr/local/lib/node_modules/homebridge/src/server.ts:397:40
at Array.forEach ()
at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:374:27)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:153:29)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47

@cbrandlehner
Copy link
Collaborator

cbrandlehner commented Nov 9, 2020

Sorry guys, I was really busy caused by a covid-19 project that forced me to work literally every day since April this year.
I lost track of all the changes, so please give me some short update what kind of help is needed here.

To give you some background info: I am authorized to merge commits on GitHub. To publish a new release on npmjs.org we need help from @ToddGreenfield ... or am I authorized? I can not remember, have to try.

@ToddGreenfield to make things easier: in another project I added an npm token to my GitHub repository and enabled a GitHub action to push a new release to npm every time a new release was published on GitHub.
This is the action: https://github.com/cbrandlehner/homebridge-daikin-local/blob/master/.github/workflows/npmpublish.yml
Token documentation: https://docs.github.com/en/free-pro-team@latest/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages

@ToddGreenfield
Copy link
Owner

@cbrandlehner You should be authorized to publish on npm for this package. Sorry guys, I just don't have time to maintain or assist.

@cbrandlehner
Copy link
Collaborator

@ToddGreenfield good to know, thanks. ALL, if you need me to publish something, please let me know.

@musiienko
Copy link

hey there, any news regarding merging this PR? :)

@cbrandlehner
Copy link
Collaborator

If this is what is needed, I can easily help.

@cbrandlehner cbrandlehner merged commit 6d7976e into ToddGreenfield:master Nov 22, 2020
@johnlietzke
Copy link

I would definitely use the DRX receiver support. Anything I can do to help please let me know.

@jondthompson
Copy link

So is this the main repo now with 0.7.x, or is @ToddGreenfield's with 0.8.0?

@Jacksonbm1
Copy link

I'm curious if anyone figured this out

@johnlietzke
Copy link

Yes. It works. Just lots of trial and error. For the DRX 4 use the name DRX-4 input is bd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants