Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessing human readable data outside of the app? #16

Open
famesjranko opened this issue Apr 7, 2022 · 2 comments
Open

accessing human readable data outside of the app? #16

famesjranko opened this issue Apr 7, 2022 · 2 comments

Comments

@famesjranko
Copy link

Hi there,

I've just received my complete Healthypi V4 kit and I'm trying to access the data coming in via the serial port on the raspberry pi. I'm trying to access the sensor data with python and forward said data in realtime to another server for processing.

I'm able to connect and read data from the serial port, however, I'm not sure how to understand what the data is actually representing in terms of sensor values. I'm getting a list of integers separated by spaces, for example: 131 4 10 123 4 10 10 0 0

The gui automatically writes data to a csv when usb storage is attached to the pi, and I can see in the gui.java file that can be found in healthypi-rpi.zip an example of how that is being done (I'm assuming that's an older file as you provide .jar class files for functioning java program)

Obviously question is, could you share the java source files? Or at least could you provide a means of understanding the integer values being received through the serial connection?

Appreciate any help.

@famesjranko
Copy link
Author

Is this abandonware???

@gerardsimons
Copy link

There is code for it in Python (https://github.com/jackyko1991/HealthyPi-Python-Interface) but you have to change the baud rate to 115200. Also in my case the values still didn't make sense, I think the packet format might be different...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants