Skip to main content

OSENSA-Plantiga Python library

Project description

Python module for interfacing with the OSENSA-Plantiga pods.

History

Release 0.1.7:

  • Add logic to sort results in find_docks()

  • Add debugging tools for erase_flash() and poll() methods

Release 0.1.6:

  • Revert default SYNC pin state to low

  • Add logic to support software reset

  • Tweak erase_flash() debugging text

Release 0.1.5:

  • Update erase function to support fast erase

  • Update default SYNC pin state

  • Minor tweaks to connect() logic

Release 0.1.4:

  • Add convert_unixtime() method

Release 0.1.3:

  • Add method to test clock drift/accuracy

Release 0.1.2:

  • Add methods to set device into bootloader and to upload new firmware

  • Add custom exception to allow return of partially complete flash record read

  • Add 1.5Mbaud as a selectable baudrate option

  • Other misc bug fixes

Release 0.1.1:

  • Update API to work with new pod and dock hardware

  • Update documentation detailing new pod operation modes and instructions on setting dock serial number

  • Fix issue with serial port initialization causing communication issues between pods and docks

  • Add methods to get SYNC and RESET pin states

  • Revise connect() logic to improve pod detection speed

  • Fix bug with minimal modbus library causing errors when compiled

  • Add poll() method for continuous monitoring of a single parameter

  • Add speed_test() method for evaluating device read speed

  • Add placeholder battery_level() method that returns a hardcoded percentage value (0.98 = 98%)

Release 0.1.0:

  • Rename release version to fix install error

Release 0.0.10:

  • Time base in CSV file now based on unix time stamps + interpolation

Release 0.0.9:

  • Fix bug in minimalmodbus that prevented reconnecting after disconnecting

Release 0.0.8:

  • Revise Record logic to support new record format that includes record size and data rate

  • Revise Record print() and tocsv() logic to include unix timestamp

  • Revise save_records() logic to allow option to save headers

Release 0.0.7:

  • Add modbus CRC check in the read flash command

  • Add option to adjust number of flash pages to read at a time

  • Update baudrate options to support faster baudrates

  • Fix find_docks() support for MacOS

  • Increase speed of Pod connection failure detection

Release 0.0.6:

  • Add logic to handle none type exceptions when finding docks

  • Add pyserial and python-dateutil as package dependencies

Release 0.0.5:

  • Add methods to improve accessibility for connecting to a dock

  • Add methods for pod time synchronization

Release 0.0.4:

  • Add method to read pod firmware version

Release 0.0.3:

  • Add methods to read and write from device flash

  • Add Record class to store 1 page of data from flash

  • Add methods to conveniently read disk page and usage

  • Add helper methods to convert flash data to a plot, a csv file and to a serial blob

Release 0.0.2:

  • Add missing modbus library

Release 0.0.1:

  • Test release

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

osensaplantiga-0.1.7.tar.gz (37.4 kB view details)

Uploaded Source

Built Distribution

osensaplantiga-0.1.7-py3-none-any.whl (63.8 kB view details)

Uploaded Python 3

File details

Details for the file osensaplantiga-0.1.7.tar.gz.

File metadata

  • Download URL: osensaplantiga-0.1.7.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for osensaplantiga-0.1.7.tar.gz
Algorithm Hash digest
SHA256 bf611b5ac1fb99113c03ac4de750a3015fca25466c3415789c4b14356175a032
MD5 c20318295e6356cae8ceace32e12898f
BLAKE2b-256 4b9956e2ac9afcb01200e131b2ccb1027ca8db74b2d64591fb2d52ba70eede74

See more details on using hashes here.

File details

Details for the file osensaplantiga-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for osensaplantiga-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e2eddfb579e9b18c8b60809f4324f2270fc373f2a09532e12fe72a719f71a9e3
MD5 8bc986478e3e66afc99bb00b9ded9ece
BLAKE2b-256 7901f4d8ca8db6ac2f3e51510a831c91d2b1af73298bcb2f53f19b4a2b2574c3

See more details on using hashes here.

Supported by

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