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.