Coder Social home page Coder Social logo

senzil / cec-monitor Goto Github PK

View Code? Open in Web Editor NEW
26.0 5.0 6.0 603 KB

HDMI-CEC library with a simple monitor written on ES6 to make cec enabled apps.

License: MIT License

JavaScript 100.00%
cec-monitor cec-client cec hdmi-cec-library hdmi hdmi-cec node nodejs

cec-monitor's People

Contributors

damoclark avatar dependabot[bot] avatar pablodgonzalez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cec-monitor's Issues

support node 12 ++

Hello do you plan to support node 12 ++?
I'm using node 12 and doesn't work
environment:
OS: raspbian strech
node: 12.13.1

in node 8.x works well

What hardware do i need?

There's no information what hardware do i need to use this library.
Does it work with Raspberry Pi? Pulse-eight adapters?

Question: Controlling volume of external audio system

I'm trying to figure out flow of the CEC (today I've started doing anything with it). So far I'm quite lost if it comes to controlling audio systems.

The following command is turning of my audio system (sound bar):

monitor.WriteMessage(CEC.LogicalAddress.BROADCAST, CEC.LogicalAddress.AUDIOSYSTEM, CEC.Opcode.STANDBY);

however I can't find the right combination to do the opposite - turn the audio on. Is the source the broadcast? If yes then audio system id destination. Bu I can't find a Opcode to put in the command. Could you please help me figure it out? And then how to control the volume of audio system? By mocking remote keys? Or there's a command for that?

Deasync Error: Could not locate the bindings file

Hello,

I'm trying to use cec-monitor within an ElectronJS v5.0.2 app, but the app is not starting because it throws an error while loading deasync module. Here it is the error thrown:

App threw an error during load
Error: Could not locate the bindings file. Tried:
→ /home/pi/cityadpro_player/node_modules/deasync/build/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/build/Debug/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/build/Release/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/out/Debug/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/Debug/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/out/Release/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/Release/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/build/default/deasync.node
→ /home/pi/cityadpro_player/node_modules/deasync/compiled/12.0.0/linux/arm/deasync.node
at bindings (/home/pi/cityadpro_player/node_modules/bindings/bindings.js:88:9)
at Object. (/home/pi/cityadpro_player/node_modules/deasync/index.js:30:31)
at Module._compile (internal/modules/cjs/loader.js:808:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:820:10)
at Module.load (internal/modules/cjs/loader.js:677:32)
at tryModuleLoad (internal/modules/cjs/loader.js:609:12)
at Function.Module._load (internal/modules/cjs/loader.js:601:3)
at Module.require (internal/modules/cjs/loader.js:715:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/home/pi/cityadpro_player/node_modules/@senzil/cec-monitor/lib/cec-monitor.js:17:39)

Does anybody have any clue about how to solve this problem?

Thank you!

eslint configuration not included in git repo

Hi Pablo,

I've opened a git clone of your code and while eslint is included in your dev toolchain, you haven't committed your eslint config to the repo.

If you could do this, then I can ensure any PR I issue will be properly formatted. :)

Damien.

Update to V2

Update to V2 to publish new features and support breaking changes.
Update Readme, with new features list.

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.