Skip to content

Releases: arraylabs/pymyq

v3.0.4

23 Feb 00:48
Compare
Choose a tag to compare
  • Re-implemented User Agent Coding as it seems even with V6 API we're back to that.

v3.1.0b3

13 Feb 22:39
Compare
Choose a tag to compare
v3.1.0b3 Pre-release
Pre-release

Fixed issue with updating devices

v3.1.0b2

13 Feb 21:00
Compare
Choose a tag to compare
v3.1.0b2 Pre-release
Pre-release
  • Fix error 400 when opening/closing cover or turning lamp on/off

v3.1.0b1

11 Feb 21:53
Compare
Choose a tag to compare
v3.1.0b1 Pre-release
Pre-release
  • Enforce Python 3.8 or higher for pypi
  • Fix issue in example.py if sending command to close cover fails
  • New MyQAccount class that then contains all devices associated with that account.

v3.0.3

11 Feb 16:54
Compare
Choose a tag to compare
  • Add support for confirmation lamp is on/off when sending command to turn lamp on or off

v3.0.2

09 Feb 22:40
Compare
Choose a tag to compare
  • Fix traceback if no accounts found

V3.0.0

05 Feb 21:48
9e3a077
Compare
Choose a tag to compare
  • Update to MyQ V6 API
  • Add support for lamps
  • Following properties were added to api:
    • last_state_update: date/time (UTC) when devices were updated last time (read-only)
    • covers: dictionary of all devices that are covers/garage doors/gates (read-only)
    • lamps: dictionary of all devices that are lamps (read-only)
    • gateways: dictionary of all devices that are gateways (read-only)
    • username: username used to authenticate (read/write)
    • password: password used to authenticate (write-only)
  • Following properties were added to MyQDevice:
    • account: Account ID associated with device
    • state_update: date/time (UTC) when device was updated last time. If this is older then last_state_update property from api then it means the device is not there anymore.
  • New classes created:
    • MyQGaragedoor: represents a garage door/gate. Inherits from MyQDevice
    • MyQLamp: represents a lamp. Inherits from MyQDevice
  • Methods open & close for garage door have new option wait_for_state (default False). If set to true then open/close will not return until garage door has completed opening/closing and return a Bool. If set the False then a Task object will be returned for the task that is waiting until the state is completed. This task can then be awaited upon for completion of open or close.
  • Device updates will automatically occur every 5 seconds when an open or close is send through the API for the garage door/gate.
  • Re-authentication is done before token will expire and performed asynchronously so it does not hold up retrieving device information or sending commands
  • Update interval limit set to 10 seconds from 30 seconds
  • Changed a number of ERROR or WARNING messages to DEBUG messages and raising exception
  • Moved sending of requests into its own class with more detailed debug allowing debug level to be set separate from api

Major Acknowledgment to @hjdhjd for figuring out the new API. Pymyq would not have been updated without the work he did!

V6 API Beta 6

03 Feb 15:52
Compare
Choose a tag to compare
V6 API Beta 6 Pre-release
Pre-release

Improved the web scraping for the login page reducing risk that changes to it impact pymyq login.

V6 API Beta 5

02 Feb 19:17
Compare
Choose a tag to compare
V6 API Beta 5 Pre-release
Pre-release

Changes:

  • Fixed commands for turning lamps on & off. Lamps should function now.
  • Allow HASS now to poll every 15 seconds instead of 30 seconds
  • Wait task for open/closed is now working

If no issues then this will be the release.

V6 API Beta 4

01 Feb 01:25
Compare
Choose a tag to compare
V6 API Beta 4 Pre-release
Pre-release

Doing beta release leveraging V6 API