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)
- Hombridge 1.70 & Node.js v20.9.0
- Seeking Solutions for Garage Door Status Synchronization Issue
- Unable to get HomeKit pin
- Unknown BroadLink device is found
- No accessories have been added
- Only Broadlink Accesories show up in homebridge but not homekit HOT 2
- HomeKit Automation - timed automation not turning on device
- Options for portable Air Conditioner
- v4.4.15 Stopped Working Today HOT 7
- Error: Cannot find module 'hap-nodejs' HOT 1
- UPD port forwarding for Eero
- Only toggle for hood instead of momentary
- Add frequency support for RM 4 pro learn HOT 1
- [Broadlink RM] [ERROR] Learn Code (Couldn't learn code, device not found) - HOT 3
- Remote Repeat isn't working on second instance
- Not discovering Broadlink RM4 Pro HOT 14
- Air Conditioner warning from the characteristic 'Current Relative Humidity'
- TV Accessory not displaying correctly in Homebridge or Homekit HOT 2
- RM Mini 3 / HomeKit & Fan Automation (Dyson/TRONIC) HOT 1
- heater-cooler comminucates in C even when set to F HOT 1
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.