Comments (14)
Hi my RM4 Mini 51da is working with [email protected] but not with [email protected]
For [email protected], the RM4 does not send any commands. No error message is produced.
from homebridge-broadlink-rm.
WOW this is great! I was able to change the index.js file. It does appear to have fixed the connection issue. I was able to trigger a learn, and receive an IR code, then output that IR code to turn the TV on. At this point it seems like it is working as planned. Any idea how to pickup the temperature sensor and humidity sensor in the cable that it ships with?
I am unable to see where I have access to 4.2.6 version to download it. HomeBridge web UI only shows 4.2.5 and I can't see it on GitHub unless I'm on the Teams or something.
from homebridge-broadlink-rm.
No problem @ninm002. Could you confirm which model device you're using? I'll add this device code to the supported list... and hopefully it is that easy (it usually is) 🤞
from homebridge-broadlink-rm.
from homebridge-broadlink-rm.
homebridge-broadlink-rm-pro@4.2.5 should support this device now. Let me know if there are any issues.
from homebridge-broadlink-rm.
Thank you very much. You are impressively quick!
I now have
[Broadlink RM] [INFO] Discovered Broadlink RM Mini 4 S (648d) at 10.0.1.55 (a7:xx:xx:xx:xx)
so the device appear to be discovered. I am now running into the same issue utester123123bb is in the other open issue thread. The device will not trigger into a code receive mode when Learn Button is pressed.
from homebridge-broadlink-rm.
[6/9/2020, 22:12:13] [homebridge-broadlink-rm-pro] TV On/Off getSwitchState: false
[6/9/2020, 22:12:13] [homebridge-broadlink-rm-pro] Learn getSwitchState: undefined
[6/9/2020, 22:12:38] [homebridge-broadlink-rm-pro] Learn getSwitchState: undefined
Every 30 seconds it tries to communicate and is unable to.
from homebridge-broadlink-rm.
I attempted to see if the communication to send a code was working. Since I am new to this I may have made a mistake. But I found my TV Samsung Hex code to turn it on and setup an accessory switch to use. Homebridge triggered the send event, but the device did not appear to send out of the code or flash any lights.
[6/9/2020, 22:16:03] [homebridge-broadlink-rm-pro] TV On/Off sendHex (10.0.1.55; a7:df:24:b5:97:01) 26004e009191123612361236121212121212121212121236123612361212121212121212121212121236121212121212121212121212123712121236123612361236123612361200060d9191121212000c750d050000000000000000
from homebridge-broadlink-rm.
I'm starting to think there's more going on here. I've just ordered myself an RM4 so I can see what's happening. Unfortunately that's going to take a few weeks to get to me.
After that sendHex log, do you see an invalid command 114 line?
from homebridge-broadlink-rm.
Hi @ninm002 - would you mind being my guinea pig? I've just found a spot in the code I imported which uses different headers for one RM4 device, but not all. Could you try the following to use these headers on all RM4 devices:
- Locate the file index.js in homebridge-broadlink-rm-pro/node_modules/kiwicam-broadlinkjs-rm/index.js
- Empty the file, and replace the contents with this: https://github.com/kiwi-cam/broadlinkjs-rm/blob/kiwi-cam-rm4-Testing/index.js
- Save changes and restart homebridge
If it makes things worse, just re-install and it'll pull the master version over the top. If it works let me know and I'll integrate the changes.
from homebridge-broadlink-rm.
Here is the Log Output. No invalid commands. If I had to guess it never gets interpreted and the header is not being picked up by the device.
[6/9/2020, 22:28:48] [homebridge-broadlink-rm-pro] TV On/Off getSwitchState: false
[6/9/2020, 22:28:55] [homebridge-broadlink-rm-pro] Learn Code (ready)
[6/9/2020, 22:29:02] [homebridge-broadlink-rm-pro] TV On/Off setSwitchState: true
[6/9/2020, 22:29:03] [homebridge-broadlink-rm-pro] TV On/Off sendHex (10.0.1.55; a7:df:24:b5:97:01) 26004e009191123612361236121212121212121212121236123612361212121212121212121212121236121212121212121212121212123712121236123612361236123612361200060d9191121212000c750d050000000000000000
[6/9/2020, 22:29:05] [homebridge-broadlink-rm-pro] [INFO] Learn Code (stopped - 10s timeout)
[6/9/2020, 22:29:05] [homebridge-broadlink-rm-pro] [INFO] Learn Code (stopped)
[6/9/2020, 22:55:22] [Config] [homebridge-broadlink-rm-pro] Failed to check registry.npmjs.org for updates: socket hang up
I believe I saw a different header format with some devices within this home assistant code. Sorry if its a waste of time, I don't know enough yet. Just trying to put some pieces together.
home-assistant/core#32523
I'd be happy to try that coding suggestion. I will let you know if I have any trouble and report when I can later this evening.
from homebridge-broadlink-rm.
Thanks @ninm002. The Invalid command is actually a red-herring I believe. I think it's a confirmation message that Broadlink have introduced.
I've made things a little easier to test and pushed a BETA release. Instead of editing the index.js file you can now just install [email protected].
Keep me posted.
from homebridge-broadlink-rm.
from homebridge-broadlink-rm.
4.2.6 is publishing to npm now with the fixed index.js included.
from homebridge-broadlink-rm.
Related Issues (20)
- Question - Accessory Controlled / Sensor Automation for IR / AC Accessory
- Fahrenheit reading HOT 1
- Specify room
- Additional "ping" method
- Overreporting Blinds Position Status in 4.4.16-beta.0 HOT 4
- [homebridge-broadlink-rm-pro] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined).
- naming a numeral as a button gives an illegal value message HOT 7
- HomeKit AC Hardware Display Units incorrect HOT 8
- Cannot get "Learn" to work HOT 1
- Periodic disconnects when internet access is blocked
- On triggers fine ,off sometimes fails HOT 1
- Exception/SIGTERM on Learn Timeout
- Garage Door Opener Not Sending Stop Signal Before Open/Close Commands
- Error from Characteristic "On" when trying to scan for RF Codes HOT 1
- 2 Broadlink Rm 4 when one is working is the other locks HOT 10
- Can't get TV buttons to show up in HomeKit HOT 6
- Since moving to Docker, devices are no longer found with "locked" warning, without being locked HOT 2
- "Learn Code (Couldn't learn code, device not found)" HOT 3
- HELP - Brodlink RM4 Pro - Adding light remote controller to Homekit via Homebridge
- In-app remote volume, mute, and power buttons not working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-broadlink-rm.