Closed wyliletv closed 9 months ago
@wyliletv the API isn't returning any locks:
2024-02-06 12:22:48.044 DEBUG (MainThread) [custom_components.ttlock.api] [c653] Received response: status=200: body={'list': [], 'pageNo': 1, 'pageSize': 1000, 'pages': 0, 'total': 0}
'list': []
being the relevant part.
Can you confirm that the lock is added directly to the account you are logging the integration into?
@jbergler Thanks for the reply. I did not perform the transfer lock operation. Once I transfered the lock and gateway it worked!
Hi. Exciting project! Thank you! I do not have a device or entity in the integration entry. Setup went well. Received the notification with the webhook url and added in TTLock site. TTLock site shows increasing API calls count. A test in the site reports 'OK'
HA is running in a docker container on Fedora. I am using nabu.casa service. I am using a SMONET lock with same firmware being reported as succesful.
HALog 2024-02-06 11:51:28.923 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration ttlock which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-02-06 12:22:47.295 DEBUG (MainThread) [custom_components.ttlock.api] [c653] Sending request to https://euapi.ttlock.com/v3/lock/list with args={'pageNo': 1, 'pageSize': 1000} 2024-02-06 12:22:48.044 DEBUG (MainThread) [custom_components.ttlock.api] [c653] Received response: status=200: body={'list': [], 'pageNo': 1, 'pageSize': 1000, 'pages': 0, 'total': 0} 2024-02-06 12:22:48.044 INFO (MainThread) [custom_components.ttlock] Webhook registered at https://hooks.nabu.casa/
LATER:
Suggestions? Thank you again.