mraiur/sleep-logger

Log your sleep and wakeup. Next will have a graph display your sleep schedule for the past X days.

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/mraiur/sleep-logger

1.0.1 2017-04-09 12:29 UTC

This package is not auto-updated.

Last update: 2025-10-26 08:03:07 UTC


README

A simple log server for tracking start and end of polyphasic sleep cicles. For now is for personal use.

Setup

	php composer.phar install
	

Copy the config/config.sample.php to config/config.local.php and set the environment config.

Then run

	php vendor/bin/phinx migrate

Preview

Blog

More on blog.mraiur.com

Usage

I am running Tasker on android and each nap/core sleep the task posts a request with a token and event type to HTTPS://SERVER/track/{EVENT_TYPE} with post param a user hash for "some" authentication.

Event Types

	1 = Start of sleep/nap
	2 = End of sleep/nap

TODO

Refactor the code if i get some time and continue the polyphasic sleeping.