Giter VIP home page Giter VIP logo

pancreabble's People

Contributors

bewest avatar logichammer avatar mddub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pancreabble's Issues

OpenAPS status messages not being received on Urchin

I've set up Pancreabble, which is successfully passing the CGM data over to Urchin on the Pebble, using the set-up details in the oref0-setup.sh dev repo, and the libs there.

I've built a version of peb-urchin-status.sh that generates an urchin-status.json that contains the following line:

{"message": "Set Temp Basal at 3:55: 2.85 for 30 minutes"}

My upload-pebble alias is:
upload-pebble = ! bash -c "~/src/oref0/bin/peb-urchin-status.sh && openaps report invoke upload/urchin-data.json && openaps use pebble send_urchin_data upload/urchin-data.json"

and my report is: urchin-data

[report "upload/urchin-data.json"]
use = format_urchin_data
reporter = JSON
cgm_clock = monitor/clock.json
report = upload/urchin-data.json
device = pebble
glucose_history = monitor/glucose-unzoned.json
status_text =
status_json = upload/urchin-status.json
action = add

The urchin-data.json file contains the list of SGV values for the graph, then the following:

"msgType": 1, 
  "statusText": "Set Temp Basal at 3:55: 2.85 for 30 minutes", 
  "delta": 2, 
  "trend": 0, 
  "recency": 233, 
  "lastSgv": 120

When the upload runs, I get a message on the pebble watch face saying:

Msg Failed Code 2

Any ideas how to fix this so that the OpenAPS status is being picked up and displayed?

error setting up

I don't have pancreoptions.json in myopenaps2
Using cp src/oref0/lib/oref0-setup/pancreoptions.json myopenaps2
Then running :~/myopenaps2# ~/src/oref0/bin/peb-urchin-status.sh
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Missing dev parameter

rfcomm show hci0

rfcomm0: 6D:0B:D3:64:00:08 channel 1 clean

#!/bin/bash
MAC=$1
if ! ( rfcomm show hci0 | grep -q $MAC ) ; then

I'm quitting for now because I got paired to edison and pebble then found my watchface had been inadvertantly left on another and pairing edison pebble took some struggle and haven't gotten it paired to my second pebble, round.

use instructions in readme

when you do a -h on the uses for the pancreabble device, you get set_time rather than set_clock options. I used the set_time option successfully. Also, the format_urchin_data option only takes a string or json file for the urchin status in addition to the glucose.json. Perhaps the changes in the code aren't up to date per the content in the readme?

Duration of data

After invoking succesfully the reports and sending to the pebble the bg's/temp basals I have on my pebble all the data. But if I enter/open any other notification I lose every OpenAPS/bg related data.
Is everything normal or I am lacking something in the configuration?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.