MarkMpn / AutotuneWeb

A web interface for running Autotune
45 stars 31 forks source link

Automatically Run Weekly #6

Open bmammon opened 5 years ago

bmammon commented 5 years ago

This is an incredible tool. Thank you so much for simplifying this process. Would it be possible to automatically run autotune every week (or alternate range of time) so I could have an email in my inbox with my results every Sunday for instance?

MarkMpn commented 5 years ago

I had planned to do this, but it would only be able to run automatically if there is a single ISF and CR in the profile as otherwise it would still need user input on which ratio to use each time. I haven't tracked how many profiles would meet this requirement to see how useful adding automation would be.

bmammon commented 5 years ago

I have one CR and one ISF! But there is lots of variation. If you do decide to implement I am happy to test

gh-davidr commented 5 years ago

I can build something that would help here. It would be a tool that could be scheduled to run on local machines at desired frequency, launch AutotuneWeb and complete all the fields.

However, does AutotuneWeb work "Running Autotune in the Cloud"? I tried just the once but never received an email with results.

bmammon commented 5 years ago

It definitely works! Just be patient and you will get the email if you haven't already. And that would be awesome if you could schedule it to run regularly :)

gh-davidr commented 5 years ago

ok - I've built something that will work. Have a look at my latest repo.

I've been unable to test a successful email back since my daughter's nightscout is woefully empty! She's not run a sensor in over a month now but due to put one on soon. I guess the wrapper detects that there are no cgm values to autotune with so no email gets sent...

Hopefully someone can verify it will run unattended successfully and generate email.

bmammon commented 5 years ago

I can test but I have a Mac. So I think need to find something equivalent to Windows Scheduler

gh-davidr commented 5 years ago

Have you tested? You could contribute a Mac script to the GitHub project and instructions on how to schedule on Mac. Have a look at (https://smallbusiness.chron.com/schedule-automator-tasks-mac-os-x-39132.html) for some guidance