Closed OhNoItSJoe closed 5 years ago
are you running as sudo? try node index.js
.
Update to latest version and try again and post the output.
Seems you are getting the error "We've discovered an unknown Broadlink device." What device are you trying to use?
I will try updating it again, I just installed it yesterday. And I will run index.js as sudo as soon as I get home.
I am using the BroadLink RM Mini 3
`[21:09:10] openhabian@openHABianPi:/srv/openhab2-conf/broadlink-mqtt-bridge$ sudo -s [21:09:14] root@openHABianPi:/srv/openhab2-conf/broadlink-mqtt-bridge# bash -c "$(curl -sL https://raw.githubusercontent.com/fbacker/broadlink-mqtt-bridge/master/installers/raspberry.sh)"
| "\ /" \ / " \ /""\ |" "|" | |" \ (" |" |/"| / ") (. |) :|: |// \ / \ (. __ :|| | || ||.\ \ (: |/ / |: \/|/ / / ) :/' /\ \ |: \ ) ||: | |: ||: . \ | / (| _ \ // (: (__/ /// ' \ (| (_\ ||\ | |. ||. \ . (// \ |: |_) :|: \ / / \ |: :( _|: \ /\ || \ \ |: | \ \ (_____/|_| \)"__(/ _(__/ ___(_|\|_(| _)
Installing helper tools ... Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v8.12.0 Installed Node version: v8.14.0 No Node.js upgrade necessary. It seems like Broadlink-Bridge is already installed. We'll try to upgrade instead.
Upgrade ... Updating 2ae9b70..3bd52b9 error: Your local changes to the following files would be overwritten by merge: README.md device.js index.js Please commit your changes or stash them before you merge. Aborting Unable to upgrade. Please run git pull manually. [21:09:26] root@openHABianPi:/srv/openhab2-conf/broadlink-mqtt-bridge# [21:09:26] root@openHABianPi:/srv/openhab2-conf/broadlink-mqtt-bridge# sudo git pull Updating 2ae9b70..3bd52b9 error: Your local changes to the following files would be overwritten by merge: README.md device.js index.js Please commit your changes or stash them before you merge. Aborting `
Just unistalled the bridge an reinstalled it, same error. I ran index.js as sudo and normal.
Your first update didn't work because it looks like you modified files in the project.
Looks like the underlaying plugin doesn't support the RM Mini 3. There's a pull request to fix this that hasn't been merge. I've created a new pull request, so hopefully this will be resolved soon.
Thank you very much! Looking forward to use this binding soon.
Which BroadLink device do you use?
Lets hope he will merge the request. I've setup notifications so I'll know when something happens.
I'm using the Broadlink RM PRO+ to control the heater and tv with IR. Ceiling fans, car heater and outdoor lights with RF.
Any news by chance? I might just buy a rm pro until the rm mini works, will have a use for it elsewhere.
Doesn't happen anything in the repo, so made an npm change to the fellow who we I think have a fix. please try latest version and see if it works now.
Oh my god, it is working! Thank you really much! By the way, is there a way to support your project here?
Perfect. Then I'm happy.
No way to support for the moment, just enjoy and hope it's working for you. Maybe in the future when I have the time to really sit down with the project I might add a support possibility.
Hello Fbacker, I tried what you said earlier today and it worked. Now I'm getting a new Error. Read the error in the code down below.
I can't reach the webgui on port 3001 (I changed it). It said that the MQTT connection worked.
I reinstalled my openHAB (v2.4 now) and got this error after running "node index.js" in the broadlink-mqtt-bridge directroy: