Skip to content

First Beta of module with expanded features, error handling, exceptions, API integrations

Latest
Compare
Choose a tag to compare
@benh-au benh-au released this 01 Aug 07:00
· 8 commits to main since this release

First completed re-work of the module library originally devised by sh00t2kill.

  • Fixed a few bugs that prevented forked module from running.
  • Added error handling and basic argument validation to methods.
  • Added additional methods to control fountain LEDs, reset timers for "pump clean", "change water" and "change filter"
  • Added new helper functions to provide human readable values for API results (eg: device details)
  • Added new helper functions to convert the various schedules (eg: LED dimming), and timers (eg: 'filtertimer')
    to/from usable Python values
  • Identified additional API url's and JSON request payloads using Quantumult X app to implement within API integration
  • Created a demo script to authenticate, iterate through any linked fountain devices the user has setup, and demonstrate all
    main methods and features in the newly re-worked library.