Skip to main content

6 posts tagged with "cozie"

View All Tags

Update - Cozie v3

· One min read
Mario Frei
Postdoc at BUDS Lab

We are happy to announce that we have published version three of Cozie-Apple. We worked towards a cleaner, simpler code base in the app and the backend while also improving reliability. We have already started working with Cozie v3 and it is already deployed for research.

New features in Cozie v3

We have added more content to the website:

Update - Web API

· One min read
Mario Frei
Postdoc at BUDS Lab

We have updated the web APi for Cozie data retrieval. The change became necessary as the requests from some users exceeded the current payload limit of 6 MB. The example script was changed in to places:

  1. The 'shutil' module needs to be imported at the beginning
import shutil
  1. The new web API doesn't serve the data as JSON string. Instead, it is a two-step process. Firstly, a link is provided to a zipped .csv-file containing the data. Hence, the provided link needs to be called to then download the actual data.
# Download zipped CSV file with Cozie data
with requests.get(url, stream=True) as r:
with open('cozie.zip', 'wb') as f:
shutil.copyfileobj(r.raw, f)

# Convert zipped CSV file with Cozie to dataframe
with open('cozie.zip', 'rb') as f:
df = pd.read_csv(f, compression={'method': 'zip', 'archive_name': 'sample.csv'})

df = df.drop(columns=['Unnamed: 0'])

The initial call of the web API and the timezone manipulation of the dataframe remains the same, as does the resulting Pandas dataframe.

Update - Cozie is now on the App Store

· One min read
Mario Frei
Postdoc at BUDS Lab

Cozie is now available on the official Apple App Store. Thank you to all of you who help us test during the development

Until now, Cozie for Apple has been deployed four times in research experiments with up to 50 participants and counting.

We have updated the documentation for installation, setup, and data retrieval. We are still working on updating the documentation for customization of Cozie.

Update - Latest version

· One min read
Federico Tartarini
Postdoc at SinBerBEST

Apologies on the lack of updates for some time. The latest version of Cozie is now available for testing!

Thank to all of you who help us testing the Alpha and Beta version.

Please use the link in the home page and click on the 'contact us' button if you are interested and would like to learn more on this project. You can also proceed to Installation and follow the steps to install the latest version.

Update - Beta testing

· One min read
Federico Tartarini
Postdoc at SinBerBEST

We have successfully tested the Alpha version of Cozie and everything is working fine. We are now started testing the Beta version on the Apple Watch 6 and we are planning to open-source the code very soon.

Thank to all of you who help us testing the Alpha version.

Please use the link in the home page to contact me if you are interested and would like to learn more or to contribute to the project.