kind3r / hass-addons

Integration of the offline TTLock sdk into Home Assistant
66 stars 26 forks source link

Can't search for lock #29

Open Tinkere opened 3 years ago

Tinkere commented 3 years ago

When I go to the to the Web UI the search icon doesn't do anything. This are the logs it doesn't do anything after server start

ttlock-hass-integration@0.2.1 start node ./index.js [Error: ENOENT: no such file or directory, access '/data/lockData.json'] { errno: -2, code: 'ENOENT', syscall: 'access', path: '/data/lockData.json' } [Error: ENOENT: no such file or directory, access '/data/aliasData.json'] { errno: -2, code: 'ENOENT', syscall: 'access', path: '/data/aliasData.json' } MQTT connected Server started

If I go to the MQTT logs iget this error

1631846492: Socket error on client < unknown >, disconnecting.