Skip to content

Conversation

@espenaf
Copy link
Contributor

@espenaf espenaf commented Mar 30, 2025

Fixes #18468.

  • Improves handling of keep alive poll job.
  • Bumps default Emotiva protocol version to 3.0.
  • Add documentation about opening of ports, protocol versions and keep alive.

Has been tested on 4.3.x and 5.0.0-SNAPSHOT. Backporting should be possible, and probably disariable to avoid this issue for users.

@espenaf espenaf force-pushed the emotiva_discovery_port_closed branch 2 times, most recently from 5aaf5f6 to 38cb5d0 Compare March 30, 2025 14:13
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the issue!. Left some comments to look at.

@espenaf espenaf force-pushed the emotiva_discovery_port_closed branch 2 times, most recently from ef10d79 to 0f8e868 Compare March 30, 2025 18:47
* Improves handling of keep alive.
* Bumps default protocol version 3.0.
* Add documentation about opening of ports, protocol versions and keep alive.

Signed-off-by: Espen Fossen <espenaf@junta.no>
@espenaf espenaf force-pushed the emotiva_discovery_port_closed branch from 0f8e868 to d328134 Compare March 30, 2025 20:34
@espenaf
Copy link
Contributor Author

espenaf commented Mar 30, 2025

Thanks for fixing the issue!. Left some comments to look at.

Thanks.

I see I got cought up in some NotNull/Nullable stuff again here, removed some of the checks that was redundant, and introducing the use of @Nullable for the raw values from the notification XML messages which was actually creating this issue, then the compiler/findBugs suddenly agreed a bit more. Hope this last update makes a bit more sense now.

@espenaf
Copy link
Contributor Author

espenaf commented Apr 23, 2025

@lsiepel I have pushed fixes for all the comments, so please look at the changes when you have time.

Signed-off-by: lsiepel <leosiepel@gmail.com>
@lsiepel lsiepel added the bug An unexpected problem or unintended behavior of an add-on label Apr 24, 2025
@lsiepel lsiepel changed the title [emotiva] Fix issue with keep alive when adding devices manually. [emotiva] Fix keep alive when adding devices manually Apr 24, 2025
@lsiepel lsiepel merged commit 378817d into openhab:main Apr 24, 2025
3 checks passed
@lsiepel lsiepel added this to the 5.0 milestone Apr 24, 2025
phenix1990 pushed a commit to phenix1990/openhab-addons that referenced this pull request Jul 31, 2025
* [emotiva] Fix issue with keep alive when adding devices manually.
* Improves handling of keep alive.
* Bumps default protocol version 3.0.
* Add documentation about opening of ports, protocol versions and keep alive.

Signed-off-by: Espen Fossen <espenaf@junta.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An unexpected problem or unintended behavior of an add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[emotiva] Keep alive poll job might not work properly if device is added manually

2 participants