Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] osc2mqtt/HomeAssistant integration #43

Open
Bluscream opened this issue Feb 27, 2023 · 3 comments
Open

[Enhancement] osc2mqtt/HomeAssistant integration #43

Bluscream opened this issue Feb 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Bluscream
Copy link

Bluscream commented Feb 27, 2023

Maybe this: https://github.com/SpotlightKid/osc2mqtt

@PaciStardust PaciStardust added the enhancement New feature or request label Feb 27, 2023
@PaciStardust
Copy link
Owner

PaciStardust commented Feb 27, 2023

That project is written in Python, however I will consider either implementing my own converter directly into HOSCY, or making it a separate service once I have time to do so

@PaciStardust
Copy link
Owner

Will be trying to get started on this tomorrow. Idea proposal:

OSC -> MQTT:
Program will include an OSC listener compliant with OSCQuery.
Any incoming messages will be converted as follows:

  1. Address will be converted without initial slash
  2. Parameter will be a string, unless you want bytes, I can do that too

This will have a blacklist and whitelist mode
I will also add a conversion table

MQTT -> OSC:
Program will include an MQTT client that will connect to a broker

  1. All connection info, including credentials can be specified
  2. A configurable list of events to subscribe to will be added
  3. Address will gain a slash at start

This will also include a conversion table

Anything else needed?

@Bluscream
Copy link
Author

That sounds overkill for what i need, but would be totally awesome, thank you!

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

No branches or pull requests

2 participants