Skip to content

Releases: pymodbus-dev/homeassistant_modbus

Branch p10 (Sensor caused hanging call_later method).

17 Aug 12:38
Compare
Choose a tag to compare

Waiting on active PR before submitting this PR.

Sensor cleared _cancel_call, which are used in modbus.py to cleanup in case of a stop/hold/restart

Branch p9 (add async_will_remove_from_hass() to do cleanup).

16 Aug 12:10
Compare
Choose a tag to compare

Waiting on active PR before submitting this PR.

Current implementation do not cleanup tasks/timers for entities, when the integration is stopped/reloaded, depending on the time this can lead to "unavailable" being set for an otherwise ok entity (In case the connection is closed, when the entity is updated).

This PR ensures that all entities cancels all ongoing activities when being stopped (not the same as being disabled).

Branch p8 (Avoid duplicate updates).

16 Aug 11:39
Compare
Choose a tag to compare

Waiting on active PR before submitting this PR.

The current implementation schedules an update at a fixed time interval (scan_interval), this leads to a couple of problems:

In case of reconnecting the updates stack up, and are executed fast (without the configured delay) when the connection is established, which will cause problem in many devices, and most surely will cause a spike in the statistics.

If a device is slow to respond, the scan_interval is not waited, which can lead to bad responses from the device.

This PR secures that each update is done at MINIMUM (might be more due to reconnect) scan_interval.

Branch P7 (Remove unused variable).

16 Aug 10:23
Compare
Choose a tag to compare

Waiting on active PR before submitting this PR.

variable in_error is no longer used, and removed.

Branch P6 (Retry primary connect).

15 Aug 21:09
Compare
Choose a tag to compare

Waiting on active PR before submitting this PR.

The current implementation only makes a primary connect once, if that fails no connection will ever be made, until the integration is reloaded.

This PR retries the primary connect every 60 seconds, until a connection is made, once connected reconnects are handled automatically in the library.

Branch P5 (Do not start update process until connection+delay).

15 Aug 15:57
Compare
Choose a tag to compare

Branch P4 (Delay start after connection is made).

15 Aug 14:15
Compare
Choose a tag to compare

Modbus HA 2025.8.1 as custom component.

15 Aug 14:00
Compare
Choose a tag to compare
v1.0.0

Make custom component.

modbus HA dev 2025/8/15 as custom component.

15 Aug 14:09
Compare
Choose a tag to compare

Changes to use Pymodbus 3.9.2.