Python module to push data to the Pervasive Nation IoT network. It saves data locally until there is internet access.
Project description
# pndatapush Python module to push data to the Pervasive Nation IoT network. It saves data locally until there is internet access.
#To install pip install -r requirements.txt
#To run an example python gatherdata.py
#To add to your project Create an instance of the Offline class.
offline = Offline(payload_consumers=[PNPushData]) #PNPushData is a data consumer class. see pnpushdata.pushdata.PNPushData
Then when sensor data is received save the data
offline.save(‘12456’, 30.00) #save(self, deviceid, payload):
Changelog
0.0.1 (2016-04-13)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pndatapush-0.0.1.tar.gz
.
File metadata
- Download URL: pndatapush-0.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c11efaa9d2ea7191ac49d73b188a31dce37da32729437557c6f99c3e0531ada |
|
MD5 | 3381880fe656dfb591f0fe32e12f302d |
|
BLAKE2b-256 | de8c5b09a14893961afe0f36c0c265be1201146a04b226265158f3e008a4b9eb |