Skip to main content

A module for interacting with the Seneye range or aquarium and pond sensors

Project description

Build Status Coverage Status

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

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

pyseneye_windows-0.0.2.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file pyseneye_windows-0.0.2.tar.gz.

File metadata

  • Download URL: pyseneye_windows-0.0.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using 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.7.3

File hashes

Hashes for pyseneye_windows-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d8bf0a7f68de77eaa87840c1639bf2f8c3882d59cc9fc83ad02359339586ca01
MD5 d94758dcd11f0d68fa7fb934f5a84a36
BLAKE2b-256 2157e8393357d685cc6e4593909bbd4c82ab24bb8d58f02bead994bc32d59071

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page