homebridge-mqttthing icon indicating copy to clipboard operation
homebridge-mqttthing copied to clipboard

Multiple sets at the same time

Open miguelpruivo opened this issue 4 years ago • 2 comments

Hi! I'm using the apply to convert int to a particular value to my vacuum and then it publishes back the set speed into a get which updates the UI switcher in the HomeKit to the latest value. However, this has a little "lag" between sliding the switch and receiving the updated value back.

Is there any way to make it immediate? For example, I was trying to publish two topics at the same time: one for setting the value and the other to immediately updating (instead of waiting the vacuum to update it itself). Is this possible?

Thank you!

miguelpruivo avatar Dec 19 '21 12:12 miguelpruivo

MQTT is usually pretty quick. Can you work out where the delay is by turning on logging? Note that you can use the same topic for 'get' and 'set' in MQTTThing if that helps.

arachnetech avatar Dec 31 '21 22:12 arachnetech

@arachnetech how would you apply/publish two topics at the same time?

miguelpruivo avatar Jan 01 '22 03:01 miguelpruivo