Info
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?
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