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

Info #2

Open
danpowell88 opened this issue May 21, 2016 · 1 comment
Open

Info #2

danpowell88 opened this issue May 21, 2016 · 1 comment

Comments

@danpowell88
Copy link

Could you please give me a bit more detail as to how this works?

Does the Xdrip app poll the Pi every so often or does the wixel contact the Pi and the ipconfig settings in xdrip are just to say which hosts are allowed?

What is the purpose of the remote hosts?

@jamorham
Copy link
Owner

This script receives data from a Wixel which is connected via USB. The xDrip app polls this script over the (wifi) network to receive the data.

To explain the configuration file for this script: https://github.com/jamorham/python-usb-wixel-xdrip/blob/master/python-usb-wixel.cfg-example

The remoteHosts allows you to have multiple Raspberry Pi's around the house and one of them can be set as a master which polls the others and reads in any data received from Wixel's connected to those Pi's. You would set remoteHosts on the master with the addresses of your other Raspberry Pi's

The parakeet_url option allows you to get the script to upload data to a Parakeet Google App engine instance so that you don't need to be on your home wifi network to be able to access the raspberry pi's wixel data.

It also means that if you also use a Parakeet device you only need to enter the URL for the Parakeet web-service in to xDrip+ as a single entry and then you get all your Raspberry Pi receivers and Parakeet data consolidated to the web service.

See: https://github.com/jamorham/Parakeet-App-Engine for details of the Parakeet App Engine service.

You might also find the HowTo document from the Parakeet firmware useful, I also provide an automatic installer for USB mode:

https://github.com/jamorham/python-usb-wixel-xdrip/blob/master/HOWTO.md

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