sahilchaddha / homebridge-dafang

Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
MIT License
204 stars 34 forks source link

MQTT Pan Tilt Problem. Motor moves 2 times. #24

Closed renedivx closed 5 years ago

renedivx commented 5 years ago

Hello, thanks for the great plugin. works fine. But i have a small probem. If i press over mqtt turn left, turn right, turn down or turn up the motor moves two steps. if i send press the button on dafang site the motor moves only one step.

can i add something to the config.json that the motor also with mqtt only make 1 move. press button = one move lfet or so on

thanks best regards rene

mkormendy commented 5 years ago

Having the same issue here as well.

Zaphor88 commented 5 years ago

Me to.

Hussamfhaily commented 5 years ago

hi, you can edit the file moveCamera.js and delete line 30. Then you will get 1 move.

Zaphor88 commented 5 years ago

Great it worked! Thx

mkormendy commented 5 years ago

@sahilchaddha If the the pull request I have made is accepted, this ticket can be closed. See my commit comment as the reason for removing this from the homebridge module.

sahilchaddha commented 5 years ago

Thanks @mkormendy. Allow me some time to release a new version on npm and close this issue.

mkormendy commented 5 years ago

I use release-it. It’s a super great way to release to github and npm all in one operation. Just npm install release-it, it installs a command line tool which you can configure. It uses the semver methodology, but can be configured to however you like it. Docs on npm or its own github page too.

sahilchaddha commented 5 years ago

Thanks for the suggesion @mkormendy . I will surely implement it. For now you can update to version 1.4.4.