pyseneye
A module for working with the Seneye range of aquarium and pond sensors. Support is provided for the HID/USB driver for the device although it is intended to add support for their API later.
When using this, readings will not be synced to the Seneye.me cloud service. This module is in no way endorsed by Seneye and you use it at your own risk.
Generated documentation can be found here
Quickstart
Install pyseneye using pip: $ pip install pyseneye. Once that is complete you can import the SUDevice class and connect to your device.
>>> from pyseneye.sud import SUDDevice, Action
>>> d = SUDevice()
Once the class is initialised you can put the Seneye into interactive mode and then retrieve sensor readings.
>>> d.action(Action.ENTER_INTERACTIVE_MODE)
>>> s = d.action(Action.SENSOR_READING)
>>> s.ph
8.16
>>> s.nh3
0.007
>>> s.temperature
25.125
>>> d.action(Action.LEAVE_INTERACTIVE_MODE)
>>> d.close()
You need access to the USB device, so these calls may require elevated privileges.
Issues & Questions
If you have any issues, or questions, please feel free to contact me, or open an issue on GitHub
Metadata
Release files for pyseneye 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyseneye-0.0.1.tar.gz | 7.4 kB | Without provenance | Details for pyseneye-0.0.1.tar.gz |
Release files / pyseneye-0.0.1.tar.gz
| Download URL | pyseneye-0.0.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dae6dd02f5db35f832c9351c107ef6d122cc3f93ca8c431d74b5f567c2f0f44
|
|
BLAKE2b-256 checksum How to use checksums |
fd1601219d32627629a72c244fee78809e408503e71404fd17b98b6f21fafef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.3
|
Security for pyseneye 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.