Webhooks or mqtt protocol

What is the easiest way for a smarthome installer to sync instant state of the lock instead of refreshing the sync every x seconds. 1. Webhooks - i read the documentation but it seems to be a bit complicated to provide such endpoint from homeassitant or openhab or grenton system 2. mqtt should be simple and fast (configuration of mqtt host in tede webportal) is there any working solution in python/node-red which can be re-used in openhab/grenton (using mqtt) ?

Hi Jacek, It depends of your integration. If your system is installed in local network where the bridge is connected then use the Bridge API and callbacks to receive instant notificatioo. The existing Home Assistant integration works like that ( Tedee - Home Assistant (home-assistant.io) ) If your system is outside the local network use cloud api webhooks. This is how Homey integrations works. ( edwinvdpol/com.tedee: Tedee for Homey (github.com) )