Open Dominique57 opened 1 year ago
For the scheduling part, ie. every day at XX time
It ought to be noted that on the documentation it had been said that when running the application using wsgi, only 1 worker should be enabled. This could be sufficient in a single-worker_multiple-thread scenario but must be taken in account !
Is there any solution out there that isn't an external Cron job that would suffice (as in extruding the need from the WebApp) ? Is It possible to only enable a specific worker? Wouldn't that raise issues on how to handle worker crashes ?
Commit d316075 add support for apscheduler This solution has been chose since our application will run on a rpi with minimalistic performance (single worker, single thread, single threadpool)
todo list to get closer to wanted poc :
How will the server handle the request for backend ? How will it allow to manipulate domotic interestingly ? How will the front-end be ? simple minimalistic of more developed ? Integrate flexomunnofficialclient ?