Thought I’d put this into the thread before adding it as a stand alone addon:
I’ve created a HASSOS addon which, with an api id/key, device id and region will query the Tuya API and provide a locally accessible file with all of your device Names, Ids and Keys
I just got sick of having to login to my ubuntu server to run the command.
This is very much a work in progress and currently it will query the API every 5 minutes when the Addon is running.
The addon is on my repo https://github.com/wlatic/hassio.addons
There are going to be issues, but hopefully with feed back, I can iron them out. Also someone may be able to take this and run with it!