iomax / homebridge-mqttgaragedoor

Homebridge accessory plugin that create an HomeKit Garage Door Opener mapped on MQTT topics
Apache License 2.0
8 stars 9 forks source link

Update Problem #1

Closed jannnfe closed 6 years ago

jannnfe commented 6 years ago

Hello, If the garage is closed and I open it, and I stop it in the middle, then nothing works anymore. How exactly does the plugin work? What values ​​must the various topics have? Thanks

iomax commented 6 years ago

Could you provide some more info about your setup and what do you means by "nothing works anymore" ?

Could you tell me something more about your config.js and following param ?

On 21 November 2017 at 21:51, Jan Feiler notifications@github.com wrote:

Hello, If the garage is closed and I open it, and I stop it in the middle, then nothing works anymore. How exactly does the plugin work? What values ​​must the various topics have? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iomax/homebridge-mqttgaragedoor/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ0qWCA7qAD5NGRZEeEXd-Z4RIiyz--Pks5s4zfkgaJpZM4QmeCS .

jannnfe commented 6 years ago

I have a Sonoff Basic with Tasmota Firmware running and PulseTime enable. I connected a Reed Sensor to the Relay. The Reed Sensor is on Topic cmnd/Garagentor_Sensor/POWER1

"topics": { "statusSet": "cmnd/Garagentor/POWER", "openGet": "cmnd/Garagentor_Sensor/POWER1", "closedGet": "cmnd/Garagentor_Sensor/POWER1", "openValue": "ON", "closedValue": "OFF" } "doorRunInSeconds": "", "pauseInSeconds" : ""

I mean that homebridge displays open... while the door is closed or it displays opend and it is actually closed. I don't know how to describe the issue right because i don't know much about mqtt sorry :(

iomax commented 6 years ago

One reed sensor can provide just the info about door status closed or full opened not both so you have to use the "Sensor" topic just for the right param ( openGet or closeGet) instead of both. In this case the doorRunInSeconds can be used to show the running time ( opening or closing info in the home app ) up to the final state otherwise you can leave it and the home app will reflect the reed status without any "running" feedback.

iomax commented 6 years ago

Any news ?