mattsaxon / HASS-SpeakercraftMediaPlayer

Speakercraft Platform for Home Assistant
4 stars 1 forks source link

Support for remote serial #22

Closed mattsaxon closed 2 years ago

mattsaxon commented 2 years ago

Decide how to support a remote MZC device from the HA device.

Consider;

Ideally using rfc2217 is the way to go, but given the chattiness of the (pesudo) xonxoff protocol, this may not be as nice as remote commands via MQTT which should be less chatty

mattsaxon commented 2 years ago

@sjeffrey101 comments that RFC2217 may be unnecessarily complex and we can use a raw TCP/IP stream, which is also supported by pyserial. Given this approach, the MQTT approach should be unnecessary

mattsaxon commented 2 years ago

Verified that we don't need custom solution and works with off the shelf remote serial.

Updated in https://github.com/mattsaxon/HASS-SpeakercraftMediaPlayer/pull/40