Skip to content

Conversation

unaiur
Copy link
Collaborator

@unaiur unaiur commented Jan 23, 2021

Description

Refactor connection handling to use persistent connections and
reduce the chance of hitting a known bug in the Max! Cube that
resets to factory setting once every 50,000 connections.

Issues fixed:

Breaking changes:

 - MaxCubeConnection object removed. MaxCube constructor now receives
   the host and port parameters directly
 - The connection is not released after each command is send. This
   can block other applications to connect to the Max! Cube. You
   can call cube disconnect() method to release the connection
   manually.

@unaiur unaiur force-pushed the persistent-v2 branch 3 times, most recently from fcb31c6 to 41d4e34 Compare January 24, 2021 01:19
Refactor connection handling to use persistent connections and
reduce the chance of hitting a known bug in the Max! Cube that
resets to factory setting once every 50,000 connections.

Issues fixed:
 - uebelack#12
 - [Unable to change back to scheduled temperature (auto mode)](uebelack#24

Breaking changes:
 - Increased minimum supported version of Python to >= 3.7
 - MaxCubeConnection object removed. MaxCube constructor now receives
   the host and port parameters directly
 - The connection is not released after each command is send. This
   can block other applications to connect to the Max! Cube. You
   can call cube disconnect() method to release the connection
   manually.
@unaiur unaiur merged commit 0c11dd9 into uebelack:master Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant