Closed TCke83 closed 1 year ago
Hi, thanks for another contribution, will get into that in day or two - hope you are not in a hurry ;-)
@jimirocks not in a hurry from my point of view. Love the time/effort you guys invested in this library so happy to contribute to make it even more complete. Give me your thought about the implementation.
@TCke83 Hi Tom, sorry for beeing late. Here are my thoughts on design (and I will also add few notes into the code):
LoxoneIconRegistry.getIcon
to LoxoneAppFiles.getFile
LoxoneAppFiles
should be available straight through Loxone
class
Loxone.appFiles()
methodLoxoneAppFiles
can take LoxoneWebSocket
as constructor parameter => there will be no need for CommandRequestResponseListener
(which feels weird anyway)LoxoneAppFiles
- similarly to TokenRepository
introduce simple FileRepository
interface and provide it's in memory implemntation for the beginningWould you agree on this proposal?
Hi, sorry for not being able to progress on this due to other priorities. Is your proposal still relevant?
Closing due to inactivity
@jimirocks i've quicky made a first draft for downloading (and caching) images from the miniserver, could you take a look and give me your comments?
The caching part maybe needs to be more permanent (together with the App object, if the last modified timestamp doesn't change), but that will be another change i guess.