lprhodes / homebridge-broadlink-rm

Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
570 stars 284 forks source link

Fan as aircon in last version #548

Open cilianospina opened 4 years ago

cilianospina commented 4 years ago

Hello, after upgrade to last version, fan is show as aircon 57746B3C-B95D-4A3A-824E-FFDDDCF58580

With old version 4FA40D75-43E9-4F9A-83C3-E7BEB06FC2A1

calvinyeap commented 4 years ago

I'm facing the same issue too.

IchabodFletchman commented 4 years ago

Same here. "type": "fan" Shows as a thermostat, so no controls work for the fan. Have to use the original "dumb" remote... that's hard to do now 😜

cilianospina commented 4 years ago

Same here. "type": "fan" Shows as a thermostat, so no controls work for the fan. Have to use the original "dumb" remote... that's hard to do now 😜

Downgrade to 3.6.18

daitium commented 4 years ago

Same problem here, how can I downgrade?

cilianospina commented 4 years ago

Same problem here, how can I downgrade?

sudo npm i homebridge-broadlink-rm@3.6.18

jasehigh commented 4 years ago

Same issue here... does any one know the instructions too downgrade?

cilianospina commented 4 years ago

No more updates :(

HumanSkunk commented 4 years ago

Hopefully this will get fixed as i spent ages trying to work out what the issue is only to end up here... I have tried all the other object types and the only one that 'works' is the switch.

I have tried rolling back to a previous version of this but it errors when i try and roll back. For now i will leave it as a switch type and hope this gets addressed. It has now almost been 3 months.

cilianospina commented 4 years ago

Hopefully this will get fixed as i spent ages trying to work out what the issue is only to end up here... I have tried all the other object types and the only one that 'works' is the switch.

I have tried rolling back to a previous version of this but it errors when i try and roll back. For now i will leave it as a switch type and hope this gets addressed. It has now almost been 3 months.

You need uninstall first I have 3.6.18, work perfect.

HumanSkunk commented 4 years ago

Hopefully this will get fixed as i spent ages trying to work out what the issue is only to end up here... I have tried all the other object types and the only one that 'works' is the switch. I have tried rolling back to a previous version of this but it errors when i try and roll back. For now i will leave it as a switch type and hope this gets addressed. It has now almost been 3 months.

You need uninstall first I have 3.6.18, work perfect.

Perfect. I uninstalled first as you suggested, reinstalled the 3.6.18 version and the fan behaves as expected. Thanks. Lets hope that they update the .22 version to fix this issue.

Naqsaq commented 4 years ago

Any news on this? Do I really have to roll back?

Silentbob101 commented 4 years ago

Bump :) this is really annoying to have to use a regular switch

Naqsaq commented 4 years ago

Bump :) this is really annoying to have to use a regular switch

Don't hold your breath. A lot of things are broken, while it's beginning to seem more and more likely that this plugin is abbandoned.. :/

cilianospina commented 4 years ago

the best and only solution is to downgrade 3.6.18

hcervenka commented 4 years ago

Hi guys, I cleaned up my config file, uninstalled 3.6.22, restarted homebridge, ran sudo npm i homebridge-broadlink-rm@3.6.18 but got a bunch of errors. Anybody knows what's what?

raw-socket@1.7.0 install /var/lib/homebridge/node_modules/raw-socket node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.15.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/lib/homebridge/node_modules/raw-socket/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/lib/homebridge/node_modules/raw-socket/.node-gyp' gyp ERR! System Linux 4.19.118+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/lib/homebridge/node_modules/raw-socket gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/var/lib/homebridge/package.json' npm WARN homebridge No description npm WARN homebridge No repository field. npm WARN homebridge No README data npm WARN homebridge No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! raw-socket@1.7.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the raw-socket@1.7.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-06-02T10_54_38_652Z-debug.log

cilianospina commented 4 years ago

Hi guys, I cleaned up my config file, uninstalled 3.6.22, restarted homebridge, ran sudo npm i homebridge-broadlink-rm@3.6.18 but got a bunch of errors. Anybody knows what's what?

raw-socket@1.7.0 install /var/lib/homebridge/node_modules/raw-socket node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/11.15.0" gyp WARN EACCES attempting to reinstall using temporary dev dir "/var/lib/homebridge/node_modules/raw-socket/.node-gyp" gyp WARN install got an error, rolling back install gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/var/lib/homebridge/node_modules/raw-socket/.node-gyp' gyp ERR! System Linux 4.19.118+ gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/lib/homebridge/node_modules/raw-socket gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/var/lib/homebridge/package.json' npm WARN homebridge No description npm WARN homebridge No repository field. npm WARN homebridge No README data npm WARN homebridge No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! raw-socket@1.7.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the raw-socket@1.7.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-06-02T10_54_38_652Z-debug.log

Try sudo npm install -g --unsafe-perm homebridge-broadlink-rm@3.6.18

hcervenka commented 4 years ago

That worked, thanks!