Friday, 29 July 2016

did_vibrate stuck and accel_data_service_subscribe dead

Version 4.6 introduced two new error messages that are displayed at the top of the chart page.

These are:
  • Error: accel_data_service_subscribe dead. Please report this issue and reboot your Pebble. The sleep data may be incorrect.
  • Error: did_vibrate stuck. Please report this issue and reboot your Pebble. The sleep data may be incorrect.
Previously these were reported as A! and B! in the icon area on the Pebble screen, but since almost no one noticed them, and they would be gone when you go back to check, they were less than useless.

Morpheuz asks the Pebble OS to give it movement readings every few seconds. Morpheuz checks to make sure this actually happens and if it hasn't for more than a minute then it will flag this with the first error.

As part of the movement data Pebble OS provides a did_vibrate flag - this indicates if the vibration motor has run during the movement sample period. To avoid spikes which are not from your own movement, Morpheuz disregards any set of movement readings where the did_vibrate flag is set. If it is set to did_vibrate for more than 2 minutes then Morpheuz raises the second error.

Usage Analytics suggests that this problems occurs mostly on Original Pebble and Pebble Steel, although it does happen on the Pebble Time and Pebble Time Rounds as well to a lower extent.

What can you do?

  • Shut down your pebble (Settings -> System -> Shutdown) then bring it back to life with a long press on the back button. Your watch is like any other computer, sometimes a reboot fixes a multitude of problems.
  • Report this on the Morpheuz Bug page.
  • Report this to Pebble themselves. It seems likely there is a bug in the firmware and Pebble have an excellent track record of finding and fixing this sort of thing if they know about it.
Please let me know if the shutdown and restart worked. I'd also be interested in anyone who actually got chart data with one of these errors.

Wednesday, 20 July 2016

More sleep quotes, more pithy #tweetmysleep comments

Alongside the release of Morpheuz 4.6 - which I hope you'll like, I've increased the library of timeline quotes (open the Smart Alarm or Bed-time pins and you'll see the quote of the day) and #tweetmysleep now has bigger selection of pithy comments about last nights sleep.

Sleep well.

Sunday, 17 July 2016

Morpheuz 4.6

Morpheuz 4.6 is now live.

Key to this release is to improve the contrast in the charts and to make the colours consistent throughout. So the dark blue on the sleep bar is the same dark blue as is used to represent deep sleep in the Quality of Sleep pie chart.

This can be seen in the example below:

...which can be much easier viewed in comparison with the sleep quality pie:

This makes it easier to see where the deep sleep occurred, that it is 12% of that night's sleep and that constitutes 1 hour of the total.

The sleep totals are now in the key of the quality of sleep pie rather than being added in a table below summary.

Note: the sleep total doesn't add up precisely, 4:20 + 3:20 + 1 is 8:40 not 8:34. The reason for this is Morpheuz counts in 10 minute segments of sleep, so all the assessments (restless, light, deep and ignore) are 10 minute segments from the moment the bed time button is pressed, however the smart alarm happens at an exact time and this, when used, represents the end of sleep.

As usual there are a number of bugs quashed and optimisations made. Especially on the original Pebbles every byte is precious.

Please send me an email if you'd like to be involved in beta testing Morpheuz. Like all beta tests you get the new features first, but, whilst I attempt never to release anything that is not right, there is a risk of a little minor pain.

Thursday, 23 June 2016

Morpheuz 4.5 - Sleep depth bar plus Sun and moon bars

Sometimes something simpler than the up and down graph would be nice. Maybe if the settings/chart/config page showed the same sort of bar as the mini-chart on the watchface?

Like this, possibly?

The dark blue is deep sleep - notice that is where the movement trace is below the bottom division, the mid blue is light sleep - the movement trace is between the bottom division and the next one up, light blue is restless sleep - the movement is above the top division.
Mid grey is where no movement was recorded, and the light grey (also shown as a vertical bar on the graph) is where I pressed ignore on the watch menu.

Inspired by the sun streaming in through the window early (very very early) in the morning, I wondered what effect the sun and moon have on my sleep patterns. So, just below the sleep bar I've included some sun and moon lines:

The sun bar shows the sky brightening towards sunrise. Notice that this pretty closely matches the time I woke up and pressed ignore giving the grey line on the chart.
The moon bar shows the phase of the moon and then moon rise and set points. Note when the moon is new this bar is completely black.

This app requires your Pebble, Pebble Steel, Pebble Time, Pebble Time Steel or Pebble Time Round to be running Pebble Watch v3.13 (or later)

If the latest version you can get from the Pebble App Store is 3.7 then please read Updated software for Classic Pebbles

Sunday, 8 May 2016

Morpheuz 4.4 - Mini charts now work without Smart Alarm

They were supposed to but didn't at 4.3.

This app requires your Pebble, Pebble Steel, Pebble Time, Pebble Time Steel or Pebble Time Round to be running Pebble Watch v3.11.1 (or later)

If the latest version you can get from the Pebble App Store is 3.7 then please read Updated software for Classic Pebbles

Friday, 29 April 2016

Morpheuz 4.3 - On watch sleep charts

New this release are sleep charts.

Every day Morpheuz creates a 'Morpheuz Summary' timeline pin. This tells you how much sleep you've had or not had. It looks like this:


A summary pin is timed to appear just after the alarm goes off or 11 hours after bed time was pressed, whichever happens sooner.

Pressing the select button gets this menu to appear:


This is the magic bit. Press select again and you get a little chart:


Light blue bands represent restless sleep, medium blue bands light sleep and dark blue bands deep sleep. Across the bottom of the chart is a yellow line that shows the duration of your sleep. Within this bottom border are a green and red blob showing the points where the smart alarm was set for earliest and latest. If you use the ignore feature then that is shown as a vertical light grey band. The medium grey at the end is where there was no recording.

The chart is also available from inside the Morpheuz app too, as "chart" on the menu.

Unfortunately there wasn't enough memory space on the watch to add this option to the Pebble and Pebble Steel.

This app requires your Pebble, Pebble Steel, Pebble Time, Pebble Time Steel or Pebble Time Round to be running Pebble Watch v3.11.1 (or later)

If the latest version you can get from the Pebble App Store is 3.7 then please read Updated software for Classic Pebbles

Wednesday, 6 April 2016

Morpheuz & Smartbulbs

A recent email suggested it'd be great if Morpheuz could turn on smart bulbs when the alarm goes off. It already can and has been able to for many releases, however checking through www.morpheuz.net you'd have some trouble finding the information.

Support is provided directly for LIFX and Phillips Hue bulbs.

Go into the Morpheuz settings and scroll down. Expand the section, fill in the details and save.



Clicking on the 'Test before...' checkbox will attempt to set the lights based on the settings you've entered rather than waiting until morning to discover the details were wrong.

Should you not have LIFX or Phillips Hue bulbs, then, if support for your bulbs is available under IFTTT, it is possible to set this up and use the 'morpheuz_alarm' event to turn on the lights too. Or the internet enabled coffee machine.

Note: the Phillips Hue interface will not change a light that is already on.

Note: these features require that your Pebble remain connected to you phone and it retains a connection to the internet.