pdgonzalez872

pdgonzalez872

Wearable device that pushes data somewhere? Nerves?

I have a project idea and would love to ask your general opinion:

Long story short, I want to gather data (aka spy) on my grandma. :slight_smile:

My grandma (nana from now on) and I are very close. She is basically my mom.

I’d like to potentially use Nerves, or any other technology that already
exists, to finish this project. I don’t need to use Nerves, but I think the
folks here are the best and could maybe give insight on the problem itself. I’d
love if Nerves were the answer for this, even if clunky.

My MVP would be something that can email/push data to a server where I can
monitor. The end result is a csv with nana data that gets stored somewhere. I’m
interested in common data points that wearables can track these days and I’d
settle for a daily step count as the MVP. Heart rate as a stretch goal. After
doing quite a bit of research on existing tech (and unfortunately coming up
short) I wanted to reach out here and see what you all think about this.

Why the existing stuff doesn’t apply, as far as I can tell:

  • The existing workflow for wearables is having a smartphone to interface with
    the device and sync the data to the phone. This is done by an app. The one I
    have experience with is called VeryFitPro. You can’t push the data anywhere from that app.

  • I bought this device: Amazon.com, and went through the normal
    workflow. The data is displayed, but it is kept on the device itself. There
    is no server that stores this data, no website to visit, at least in the
    cheap version I bought.

  • The ones that do provide the “upload data” functionality have software that
    help with the upload and manages data. this step is manual. I’d like it to be kind of a cron job
    that pushes today’s activity up somewhere.

  • I don’t feel comfortable having nana wear a very expensive device on a daily
    basis for safety concerns. So the ideal solution would be something cheaper,
    that doesn’t get everyone’s attention.

I’d love to gather data on her activity. I could use it to try to correlate
physical activity with potential arthritis/physical pain. Maybe things hurt a couple of
days after she over exerts herself. Maybe, it doesn’t have anything to do with
effort.

I’ve been keeping track of her Duolingo progress and it has been awesome.
Duolingo sends reports via email, my email :).

Does this make sense? Please let me know if you have any questions. Thanks!!!

PD

  • Disclaimer: Nana data will only be used for good things. We are doing this
    together and she is happy about it :).

Most Liked

pdgonzalez872

pdgonzalez872

Hey! I wanted to update you on this. After doing a little bit more research, it turns out that Fitbit has an api that I can query and get the data I wanted. From what I see, there isn’t a cheaper alternative than the Fitbit at the moment. Maybe their price has this service built into it, which is completely fine.

I built a little app that emails me with data I wanted, currently reporting on my wife. When I see Nana next I’ll “deploy” the live version :slight_smile:

Thanks for the help!! (I wish I could “close” this)

ConnorRigby

ConnorRigby

Nerves Core Team

So assuming the device needs to be battery powered, you might be better off with an Arduino or similar solution. I’ve not tried it recently, but powering even the puny rpi0w via battery power was surprisingly difficult to get any longevity. The Beam isn’t exactly optimized for low power consumption

tmecklem

tmecklem

Echoing @ConnorRigby here:

There was design work on a pHAT that has a real time clock and the ability to completely power the Pi down and power it back on at intervals with access to the power/timing via GPIO. With that approach, having intermittent data collection would be reasonable on battery. Without something like that, power management is tricky and inefficient on the Pi (even the zero). I believe that design stalled due to other alternatives and lack of interest, but I could inquire if you’re interested in moving forward with an Elixir wearable. I can also share some of my own perspective with the OpenAPS rigs if you’d like, but it’s a little more information than would be useful in a discussion like this. There’s a hardware-dev gitter chat for OpenAPS that could be relevant for wearable tiny computers that collect data: https://gitter.im/openaps/hardware-dev.

An Arduino/microcontroller approach seems like it would be better for data collection, and Adafruit has lots of wearable tutorials and content.

Alternatively, using an Edison might be more in line with your needs if you want to run Elixir on a wearable since its design sips power compared to Pi, but it’s closer to the expensive side that you want to avoid.

Where Next?

Popular in Questions Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New

Other popular topics Top

aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36128 110
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement