AlexanderBabel / homebridge-broadlink-rm

[This fork supports TV accessories] Broadlink RM Mini and Pro plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
46 stars 11 forks source link

Broadlink keeps going to 'sleep' #58

Closed rogiervdberg closed 4 years ago

rogiervdberg commented 4 years ago

My setup is working fine, but after a couple of hours the broadlink keeps going to 'sleep'. The Broadlink does not react to interaction and I have to unplug the device and plug it back in. After that it works again. Homebridge does not give a error when the device is in 'sleep' mode.

Is there a solution to keep the device from going into standby/sleep mode?

Thanks!

Rogier

kiwi-cam commented 4 years ago

What do you see when it goes to "sleep"?

The plug-in will ping the device every five seconds and mark it as 'inactive' if it disconnects from the network.

rogiervdberg commented 4 years ago

I can still turn the tv on in the home app, but nothing happens. The console log displays the commands send, but nothing happens.

Thanks!

Rogier

On 1 Dec 2019, at 20:10, Cameron notifications@github.com wrote:



What do you see when it goes to "sleep"?

The plug-in will ping the device every five seconds and mark it as 'inactive' if it disconnects from the network.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/AlexanderBabel/homebridge-broadlink-rm/issues/58?email_source=notifications&email_token=AH5YKNMHZ6QBQYN3VBRF3SDQWQD3VA5CNFSM4JTLXDYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRSQGQ#issuecomment-560146458, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5YKNOBANTHZI42FDV5R2DQWQD3VANCNFSM4JTLXDYA.

kiwi-cam commented 4 years ago

Hi @rogiervdberg

I've made a few changes to better manage when the Broadlink device drops packets - basically utilising the device state when sending codes. This might help with the "sleep" issue you're having. Could you try installing from git: npm install -g git+https://github.com/AlexanderBabel/homebridge-broadlink-rm and see if it helps the issue? This should install fine over the top of your current installation. You should see version 4.0.4 if this has installed OK.

Let me know how it goes. If you don't have any issues I'll get it updated on npm for all to use.

rogiervdberg commented 4 years ago

I tried it and it works!

I have also updated to a better usb adaptor to feed the Broadlink, this also helps in my experience.

Thanks!!

Rogier

On 12 Dec 2019, at 20:52, Cameron notifications@github.com<mailto:notifications@github.com> wrote:

Hi @rogiervdberghttps://github.com/rogiervdberg

I've made a few changes to better manage when the Broadlink device drops packets - basically utilising the device state when sending codes. This might help with the "sleep" issue you're having. Could you try installing from git: npm install -g git+https://github.com/AlexanderBabel/homebridge-broadlink-rm and see if it helps the issue? This should install fine over the top of your current installation.

Let me know how it goes. If you don't have any issues I'll get it updated on npm for all to use.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/AlexanderBabel/homebridge-broadlink-rm/issues/58?email_source=notifications&email_token=AH5YKNPF3X2C2DL6MFHZYRLQYKJA3A5CNFSM4JTLXDYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGX2NFA#issuecomment-565159572, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH5YKNNRHFDY55FNVPCO75TQYKJA3ANCNFSM4JTLXDYA.

kiwi-cam commented 4 years ago

Fix is included in v4.0.4. Will be updated in NPM once a bugfix in v4.0.5 has finished being tested.