Releases: arraylabs/pymyq
Releases · arraylabs/pymyq
v3.0.4
- Re-implemented User Agent Coding as it seems even with V6 API we're back to that.
v3.1.0b3
Fixed issue with updating devices
v3.1.0b2
- Fix error 400 when opening/closing cover or turning lamp on/off
v3.1.0b1
- 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
- Add support for confirmation lamp is on/off when sending command to turn lamp on or off
v3.0.2
- Fix traceback if no accounts found
V3.0.0
- 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
Improved the web scraping for the login page reducing risk that changes to it impact pymyq login.
V6 API Beta 5
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
Doing beta release leveraging V6 API