Morpheuz Sleep Monitor with Smart Alarm

Description

Your Pebble watch, your phone and the free Morpheuz app are all you need to monitor your night's sleep.

Inside the Pebble watch is a movement sensor called an accelerometer. Using this Morpheuz tracks your movement during the night and transmits this back to your phone.

You view this information on your phone as a graph of movement over the night, and as a chart of the time spent in deep sleep, light sleep and potentially awake states.

Morpheuz includes a Smart Alarm facility. This enables you to set an earliest and latest wake-up time. When Morpheuz detects that you are stirring within this period, Morpheuz will gently awaken you with 30 seconds of watch vibration. If you remain in a deep sleep until the latest wake up time, Morpheuz will always attempt to wake you.

Morpheuz also includes a Power Nap feature. Once activated (by pressing select for 1.5 seconds), Morpheuz starts a countdown once you stop moving, giving an optimum 27 minutes of rest before stirring you with gentle vibration.

You can export a single night’s data via an email. You can then easily import this CSV data into a spreadsheet.

Instructions and information: http://www.morpheuz.net

Like Morpheuz on facebook at http://www.facebook.com/morpheuzsleepmonitor

Show a past chart from CSV data: http://www.morpheuz.net/p/revisit.html

AS THIS APP USES JAVASCRIPT IOS USERS WILL NOT BE ABLE TO RUN IT FROM THIS SITE. INSTEAD PLEASE DOWNLOAD FROM THE PEBBLE APP STORE.

Update History

Version 2.2.0
----------------
1) Ignore - a double press of the select button marks the current 10
minute period as 'ignored' (this can be undone by another double
press). Ignored periods appear as a vertical grey bar on the chart and
are included in their own (grey) segment on the pie chart. The idea is
that getting up to visit the loo, get a drink or a little nighttime
tweeting doesn't get included in the sleep pattern. There is a little
'ignore' icon on the top of the watch display.
2) The comms activity has been reduced to an absolute minimum - this
results in noticeably better battery life.
3) The are three links on the bottom of the chart page to instructions
at http://www.morpheuz.net, and links to the facebook page and twitter profile
apps via the url scheme. The facebook and twitter are text only on
Android.
4) Notice screen has been replaced - it isn't as artistic but I needed
more space for internationalisation of the text (English is the most
terse of the languages so room for longer text was essential). This is
really preparation for the future.
5) Animated initial screen - a little fun (I hope).
6) Integer arithmetic throughout. This has a very significant code size
change, but should also have a minor positive impact on battery life.
7) Resend data (double press of back button) - Morpheuz sends all data
to the phone ready for the settings button to be pressed. It uses the
ACK from the phone to decide that the transfer has been completed.
Sometimes the javascript on the phone doesn't run and there are gaps in
the chart. Pressing resend will re-transmit all of the data from the
watch to the phone over the next minute or so.
8) The keyboard hint page is no longer a graphic - the text is Pebble
generated - again this is for internationalisation. It doesn't look
much different.
9) The app icon has changed again. Honestly this is the last time - I'm
done with low res 1 bit plane images.
10) Email address for email export is stored.

Version 2.1.0
----------------
* NEW Weekend mode - One button press prevents the smart alarm going
off and automatically re-enables it for the next night. Ideal for those
nights when you go to bed knowing you don't need to get up. Activated
by a long press on the down button either before or after the long
press on the reset button.
* Further battery optimisation - calculation for smart alarm threshold
was taking place outside of the smart alarm period. This was a waste.
* Interfacing of the smart alarm actual time is now done as part of the
assured delivery loop. This prevents the smart alarm actual time being
lost if the watch app is shut when comms is down.
* New menu icon - again. Not satisfied with the last one.
* Reset does a double buzz if the smart alarm is on and a single buzz
if it is off. As before a total failure gives an SOS buzz.
* Built with latest SDK
* Comms icon cannot be at odds with BT icon

Version 2.0.0
----------------
* New graphics;
* SOS buzz when accelerometer is not working;
* better battery life;

Version 1.9.0
----------------
* Snooze
* Button hint screen
* Progressive alarm

Version 1.8.0
----------------
* Back button requires long press
* Clear onscreen notices
* Alarm can be cancelled by pressing any button

Version 1.7.0
----------------
* Runs without persistent connection to phone
* Data transfer when connected to phone
* Reset from watch
* Progress bar
* Recording indicator
* Flashing accelerometer indicator

Version 1.6.0
-------------
* Power nap
* Bluetooth and comms indication
* Hourly statistics

Version 1.5.0
----------------

*SDK2 BETA4
* Use Pebble accelerometer vibration indication - much simpler than my original technique
* Add inverse display
* Improved algorithm for determining sleep quality

Version 1.4.0
----------------
Ensured that parseInt is always called with a radix of 10. Conversion in some browsers (iOS) makes 09 = 9 decimal. In others (Android) makes 09 = 0.

Version 1.2.0
-------------
* Make config buttons work for Android
* Ensures that if the app hasn’t got focus then we don’t consider the
accelerometer data (probably the alarm or an alert is going off)
* Ensure it’s own alarm doesn’t produce a movement spike
* Plot the start and end of the smart alarm period, plus now the time
the smart alarm actually went off.
* Visual clues to tie the start and end times against the graph
* Reduced the emphasis of the trend line - which is interesting but not
*that* interesting.

Version 1.1.0
==========
* Compiled for 2.0 beta3
* Improved graphing adding trend line
* CSV mailto: now vertical
* Minutes on CSV now minutes not months.
* Serious code tidyup on web hosted side

Version 1.0.0
==========
* Better watch face graphics
* Smart alarm times on watch screen
* Nicer fonts
* Now includes MIT Licence.

Version 0.8.0
==========
* Copy option - copies as CSV data in a mailto (appears as an email document)

Version 0.7.0
==========

* Battery meter on screen at all times
* Version shown on watch face and in config window
* Date (ISO format) shown on graph
* Resolution of graph now 1 point per 10 mins not 1 point per 15 mins.

Version 0.6.0
==========

* Watchapp not watchface.
* Automatic self monitoring to reboot comms and accelerometer if problems occur
* Better graphing - gaps where no data found.
* Removed bug with resetting timer service repeatedly - could have resulted in poor battery life.

Version 0.5.0
==========
Added Smart Alarm. Set a time period from the earliest time to the latest time you wish to be woken and Morpheuz will wake you during that period with 30 seconds of vibration. It will attempt to alarm when you are restless rather than in a deep sleep. Unless it has already done so it will alarm at the end of the period.

Added a time scale to the sleep activity graph.

Extended the monitoring timeframe to 9 hours.

PLEASE NOTE: This is beta software on a beta OS. Whilst I am confident Morpheuz will not attempt to alarm outside the period specified, there is a possibility that it may not alarm at all. Please ensure that you set a backup alarm. During testing I've had the watch face swap during the night and this disables monitoring and the alarm function.

Also note, the new timeframe is only saved when the "Reset and Go" button is pressed, not when "Done" is pressed.

The vibration can be cancelled by closing the app.

created by - JamesFowler42

QR code for Morpheuz Sleep Monitor with Smart Alarm

Keep track of any updates for this App by signing in

×