Skip to main content

Python module for interfacing with the OSENSA-Plantiga pods.

History

Release 0.1.8:

  • Add option to save record CSV with CRC flags

  • Add option to save record CSV files with converted timestamp

  • Add logs() method for viewing debugging logs

  • Add status() method for viewing device status

  • Add custom modbus command to check flash integrity

  • Move print outputs to logging object

  • Remove unnecessary whitespace

  • Add sanity test

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

Release files for osensaplantiga 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osensaplantiga 0.1.8
File Size Uploaded
osensaplantiga-0.1.8.tar.gz 39.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for osensaplantiga 0.1.8
File Interpreter ABI Platform
osensaplantiga-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 104.3 kB

Release files / osensaplantiga-0.1.8.tar.gz

Download URL osensaplantiga-0.1.8.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eba17531d7614ce7b7ddf0e1b9487c8b5ad6c3ef0d85166f5320df1caad158af
BLAKE2b-256 checksum
How to use checksums
c3f001e4d00f05503af3f3106125becb98f84c3244f13279d257ed6f490fb556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / osensaplantiga-0.1.8-py3-none-any.whl

Download URL osensaplantiga-0.1.8-py3-none-any.whl
Size 65.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fca80f23b40fe74186fe10179b4366f90ad46cfdb0184935f644e7ffbc0467c
BLAKE2b-256 checksum
How to use checksums
5c01a6c400579e279f46042d6ad1e249781c43f4c1055e458c5dc21a8df5dc3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page