kiwi-cam / 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
304 stars 95 forks source link

Pressing time in milliseconds #572

Closed armandoi75 closed 1 year ago

armandoi75 commented 1 year ago

Hi guys, I opened this request many times agò without receiving any suggestion/solution. Let me try one more time: The plugin works perfect for almost all the device configured, I've a big problem with a press time of a device. I see the same request in the past here :"https://github.com/kiwi-cam/homebridge-broadlink-rm/issues/395" The device should open the garage door but the plugin takes too much time to release the button and the garage door close again after 1 sec. Of course the command to open and close is the same hex code. Here the configuration: "name": "Cancello", "type": "switch", "host": "192.168.0.160", "enableAutoOff": true, "onDuration": 30, "data": [ { "data": "b18d1c00080b1114081308130813080a110001d109130813080b111308140814000000000000000000000000" } I searched documentation on a switch that modify the pressing time but I didn't find it. Do you have any ideas ?

Homebridge ver. 1.6.0 homebridge-broadlink-rm-pro v4.4.11

Thanks in advance for your help

tientmit88 commented 1 year ago

Did you tried this config

{ ... "name": "Example Garage Door", "type": "garage-door-opener", "openCloseDuration": 8, "data": { "open": "OPEN_HEX_CODE", "close":"CLOSE_HEX_CODE", "lock":"LOCK_HEX_CODE", "unlock":"UNLOCK_HEX_CODE" } ... }

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.