Code Monkey home page Code Monkey logo

broadlinkjs-rm's People

Contributors

clkao avatar hansmbakker avatar jfedyczak avatar lprhodes avatar momodalo avatar takjg 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  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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

broadlinkjs-rm's Issues

Multi network interfaces support

Hi,

I saw you just added the support for multiple ip addresses but it still does not support multiple network interfaces.

My setup: I have a Mac running homebridge with two network adapters; the first one is connected to the router for full internet connectivity. The second interface is a wifi router, disconnected from the internet, with just some non-homekit devices onto it (including my broadlink).

Any chances to support multiple network adapters?

Get error 65535

Hi,

I am using homebridge-broadlink-rm, and I cannot successfully discover my device. I tried to debug your code.

I can see I have the device discovered, but never receive the deviceReady.

My device is

  devices: {
    '��$PM*': Device {
      host: [Object],
      mac: <Buffer xx xx xx xx>,
      emitter: [EventEmitter],
      log: undefined,
      type: 24374,
      model: 'Broadlink RM Mini 3 D',
      on: [Function: addListener],
      emit: [Function: emit],
      removeListener: [Function: removeListener],
      count: 1,
      key: <Buffer xxxx>,
      iv: <Buffer xxxx>,
      id: <Buffer 00 00 00 00>,
      socket: [Socket],
      debug: undefined,
      _events: [Object: null prototype],
      _eventsCount: 1
    }
  },

On discover device, I am getting the following response:

<Buffer 5a a5 aa 55 5a a5 aa 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c5 c9 ff ff 2a 27 e9 03 01 00 2a 4d 50 24 df a7 00 00 ... 6 more bytes>

and thus I am getting a error 65535 at line 270

I am not familiar with socket, etc and therefore cannot understand what is happening.

Do you know what kind of problem I am having?

Unknown BroadLink device

[Info] We've discovered an unknown Broadlink device. This likely won't cause any issues.

Please raise an issue in the GitHub repository (https://github.com/lprhodes/homebridge-broadlink-rm/issues) with details of the type of device and its device type code: "27c2". The device is connected to your network with the IP address "192.168.3.52".

On the underside of the device, it says:
img_0059

Unsupported Device RM4 Mini

Just bought an RM4 Mini and I'm unable to activate learning mode because:

[12/5/2020, 22:54:08] [Broadlink RM] [INFO] Learn Code initializing (undefined)
[12/5/2020, 22:54:08] [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found)
[12/5/2020, 22:55:29] [Broadlink RM] [INFO] Learn Code initializing (undefined)
[12/5/2020, 22:55:29] [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found)
[Info] We've discovered an unknown Broadlink device. This likely won't cause any issues.

Please raise an issue in the GitHub repository (https://github.com/lprhodes/homebridge-broadlink-rm/issues) with details of the type of device and its device type code: "648d". The device is connected to your network with the IP address "[REDACTED]".

Question: How can I use this module?

hello,
It is a question, not an issue.
Can you explain how can I use this module?

  • Do I need an IOS thing? or can I use from a PC?
    I already have installed homebridge

Thanks

Clear learned data

What I want to happen

When running device.enterRFSweep(); the broadlink *rawData should be cleared. This happens when running device.enterLearning();.

SIDENOTE: When running RF, if I run enterLearning and then enterRFSweep, it won't find my RF Frequency.

What happens

Stored data is there until I hard reboot the broadlink.

The Issue

After recorded an action and it's time to record another. The previous action data is sent thru rawData before I get the change to change it.

Extra description

I've got both IR and RF recordings to work. However after the first successful learned code it's kept in the Broadlink for RF.
So each time I run device.checkRFData(); inside an interval loop the event triggers device.on("rawData", data =>

So when I will learn a new action the old data is sent back before I get a change to send something new.

Is there a way to 'cleanup' the 'rawData'? Tried running device.cancelLearn(); before I start with no success.

Broadlink integration in react-native code

Hi,

I need to integrate my react native application with Broadlink device to control TV by application.
Can anybody please guide how to integrate this library into RN application.

Thanks in advance.

RM Mini 3 support

There's no support for Mini 3.
Also I see there's 2 pull requests to enable this. Both using same id.

So please pick one, merge the pull and make a new npm release.

Cheers

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.