This WebApp allows users to control Eight Sleep mattresses without a subscription by using a custom scheduling system. It runs a script every 30 minutes to adjust mattress temperature according to a user-defined schedule, bypassing Eight Sleep's paid "Smart Scheduling" feature.
Many frameworks allow you to define a crontab expression that runs a particular function.
However since the project is written in NextJS, I don't believe they offer this feature right out of the box. I understand why NextJS was used, it was used for quick and easy deployment to Vercel, but that unfortinately brings limitations.
It may be possible via a Docker implementation to have a script running as a daemon in the background that hits the local API, but that would only be available to Docker installs.
Many frameworks allow you to define a crontab expression that runs a particular function.
However since the project is written in NextJS, I don't believe they offer this feature right out of the box. I understand why NextJS was used, it was used for quick and easy deployment to Vercel, but that unfortinately brings limitations.
It may be possible via a Docker implementation to have a script running as a daemon in the background that hits the local API, but that would only be available to Docker installs.