lprhodes / broadlinkjs-rm Goto Github PK
View Code? Open in Web Editor NEWControl the IR and RF interfaces within Broadlink RM devices.
License: MIT License
Control the IR and RF interfaces within Broadlink RM devices.
License: MIT License
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?
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?
[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".
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]".
hello,
It is a question, not an issue.
Can you explain how can I use this module?
Thanks
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.
Stored data is there until I hard reboot the broadlink.
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.
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.
There is a new version out there, that causes this bug: lprhodes/homebridge-broadlink-rm#208
It can be fixed by adding devtype == 0x279d
to the list of devices
Hello lprhodes, Rm Pro does not record the signal of tc2 Switches, they are wall switch which link to Rm Pro through Rf signal 433 Mhz.
Please give me some help about.
Thanks for your willing.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.