Skip to content

Conversation

@WillCodeForCats
Copy link
Owner

  • Adds new option "Keep Modbus Connection Open". When enabled, the integration won't close the connection after each polling cycle. Default is disabled.
  • Allows poling intervals down to 1 second. For any interval under 10 seconds, it will force "Keep Modbus Connection Open" to be enabled even if disabled in options (a warning will be logged).

* New config option for keep modbus open (default off)
* Allow interval to 1 second with <10 seconds requiring connection to be held open even if disabled.
* New option string for keep modbus open
* Change 10 seconds to 1 second
@WillCodeForCats WillCodeForCats added the enhancement New feature or request label Jul 3, 2022
@WillCodeForCats WillCodeForCats self-assigned this Jul 3, 2022
@WillCodeForCats WillCodeForCats linked an issue Jul 3, 2022 that may be closed by this pull request
@WillCodeForCats WillCodeForCats changed the title New config option to keep Modbus connection open New config option: keep connection open Jul 3, 2022
@WillCodeForCats WillCodeForCats merged commit a6f2735 into main Jul 3, 2022
@WillCodeForCats WillCodeForCats deleted the 47-add-config-option-to-hold-modbus-connection-open branch July 13, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add config option to hold modbus connection open

2 participants