Skip to content

Releases: shbatm/PyISY

v3.0.0dev6 … Catch Timeout Error

24 May 02:58
Compare
Choose a tag to compare
Pre-release
Catch Timeout Error

v3.0.0dev5 … Add websocket guardian and cleanup.

24 May 02:55
Compare
Choose a tag to compare
Add websocket guardian and cleanup.

3.0.0dev4 Make sure only one websocket created

23 May 09:13
Compare
Choose a tag to compare
v3.0.0dev4

Merge branch 'async' into PyISY_beta

Minor fix

23 May 02:01
Compare
Choose a tag to compare
Minor fix Pre-release
Pre-release
v3.0.0dev2

Update Error Handling

Async All the Things

23 May 01:46
Compare
Choose a tag to compare
Async All the Things Pre-release
Pre-release

Breaking Changes

  • Module now uses asynchronous communications via asyncio and aiohttp for communicating with the ISY. Updates are required to run the module in an asyncio event loop.
  • Connection with the ISY is no longer automatically initialized when the ISY or Connection classes are initialized. The await isy.initialize() function must be called when ready to connect. To test a connection only, you can use Connection.test_connection() after initializing at least a Connection class.

Changed

  • Module can now be used/tested from the command-line with the new __main__.py script; you can test a connection with python3 -m pyisy http://your-isy-url:80 username password.
  • A new helper function has been added to create an aiohttp.ClientSession compliant with the ISY: Connection.get_new_client_session(use_https, tls_ver=1.1) will return a web session that can be passed to the init functions of ISY and Connection classes.