Skip to content

Commit

Permalink
Release 0.2.5 (#18)
Browse files Browse the repository at this point in the history
* Fix connection for HUB version 4.15.250

Fix for HUB version 4.15.250; aioharmony will not work with lower versions.

* Use XMPP instead of web sockets

Use XMPP instead of web sockets

* Workaround for xmpp issue in Home Assistant

* Removed wait, does not work

* Add identifier to logger entries in responsehandler

Added identifier for which HUB any log messages are produced from responsehandler, making it easier to determine the HUB it is for.

* Add slixmpp in setup.py required list

Added slixmpp in setup.py for required package.

* Update version as beta right now

* Added release notes

Added release notes

* Potential fix for Host unreachable issues

* Update __version__.py

* Update to wait times on reconnect

* Merge for web socket reconnect fix

Merge for potential web socket reconnect fix

* Flake8

* Beta version update

* Further websocket fixes

* Changed timeout

Changed timeout from 30 seconds to 5 seconds
Sleep for 1 second before trying reconnects.

* Fixed debug logging issue on reconnects

* Update to beta version 8 after merge

* Fixes after merge

* Enable cleanup after closing websocket

* Set version to 0.2.0

* Add instructions for enabling XMPP

* Fix for sending command over XMPP

Sending a command to a device over XMPP was not working anymore.
Fixed.

* Merge fix from 0.1.13

Fix for sockets not being closed on some OS's.

* Fix listen parameter

Fix using --listen parameter

* Add closing code to debug for web socket

* Update slixmpp to 1.5.2

* Addd handlers for starting, stopping, and in progress

Add handlers for starting, stopping, and in progress of activity switches

* Improvement to cancel tasks

* Protocol as choice

Protocol can now be provided for connecting to the HUB. If not provided default behavior occurs.

* Check XMPP is available

Will check if XMPP is available even when provided as protocol. If it is not then default back to WEBSOCKETS.

* logmodules and stop handler fix

Added option logmodules to aioharmony.
Fix upon disconnect timeout so stop handlers is still called.

* Add some timestamps and small fix

Add timestamps for printing activities and responses.
Fix for when not providing parameter logmodules.

* Fixes for XMPP reconnection

Some fixes to reset super XMPP class upon reconnect.

* Added 2 debug lines

Co-authored-by: Erik Hendrix <[email protected]>
  • Loading branch information
ehendrix23 and Erik Hendrix authored Jun 19, 2020
1 parent 3e6ffa1 commit 08ca932
Show file tree
Hide file tree
Showing 8 changed files with 473 additions and 181 deletions.
16 changes: 16 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@ Release Notes
- Remote ID was not retrieved anymore, this is now available again
- If HUB disconnects when retrieving information then retrieval will be retried.
- Executing aioharmony with option show_detailed_config will now show all config retrieved from HUB
0.2.5
- Fixed: When using XMPP protocol the switching of an activity was not always discovered.
- Fixed: Call to stop handlers will now be called when timeout occurs on disconnect
- Changed: ClientCallbackType is now in aioharmony.const instead of aioharmony.harmonyclient.
- Changed: default log level for aioharmony main is now ERROR
- New: callback option new_activity_starting to allow a callback when a new activity is being started (new_activity is called when switching activity is completed)
- New: 3 new HANDLER types have been added:
- HANDLER_START_ACTIVITY_NOTIFY_STARTED: activity is being started
- HANDLER_STOP_ACTIVITY_NOTIFY_STARTED: power off is started
- HANDLER_START_ACTIVITY_NOTIRY_INPROGRESS: activity switch is in progress
- New: Protocol to use can be specified (WEBSOCKETS or XMPP) to force specific protocol to be used. If not provided XMPP will be used unless not available then WEBSOCKETS will be used.
- New: protocol used to connect can now be retrieved. It will return WEBSOCKETS when connected over web sockets or XMPP.
- New: One can now supply multiple IP addresses for Harmony HUBs when using aioharmony main.
- New: option activity_monitor for aioharmony main to allow just monitoring of activity changes
- New: option logmodules for aioharmony main to specify the modules to put logging information for



TODO
Expand Down
Loading

0 comments on commit 08ca932

Please sign in to comment.