Skip to content

Fix Module Status Logic#177

Merged
janikwitzig merged 1 commit intomainfrom
fix-companion-status-logic
Jan 4, 2026
Merged

Fix Module Status Logic#177
janikwitzig merged 1 commit intomainfrom
fix-companion-status-logic

Conversation

@janikwitzig
Copy link
Collaborator

The Companion module status logic seems to be flawed.

When a connection is initiated, the status is set to InstanceStatus.Connecting when the ready event from osc is received. This could lead to the module actually having an established connection but not showing it to the user, which could be confusing.

This PR addresses this by setting the status to InstanceStatus.Connecting earlier in the process and then setting it to InstanceStatus.Ok when the osc socket is ready.

This PR should close #173 and solve an issue from #175

@janikwitzig janikwitzig self-assigned this Jan 3, 2026
@janikwitzig janikwitzig added the bug Something isn't working label Jan 3, 2026
@janikwitzig janikwitzig mentioned this pull request Jan 3, 2026
@justindube1987
Copy link
Contributor

Everything appears to be functional now on my end with this commit!

@janikwitzig
Copy link
Collaborator Author

janikwitzig commented Jan 3, 2026

Great, thanks for testing!
Did this also solve the variable issues?

@janikwitzig janikwitzig merged commit 8d7cd8d into main Jan 4, 2026
3 checks passed
@justindube1987
Copy link
Contributor

@janikwitzig testing now and seeing 1. the call for all variables is almost instant (no throttle). and 2. the data received from the Wing starts to bog down and stops before all messages are received sometimes. Also sometimes, when changes are made on the Wing, there's a significant delay before

2026-01-04.15-08-00.mp4

data is received by the module. Attempting to attach a video for example.

@janikwitzig
Copy link
Collaborator Author

@justindube1987 thanks for letting me know

@janikwitzig janikwitzig deleted the fix-companion-status-logic branch January 10, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Module not communicating with Wing

2 participants