Monoprice Multizone - bass, treble, balance controls?

Thanks! I look forward to it.

Can i use a socket instead of serial for the connection to the amp? example instead of /dev/ttyUSB0 socket://192.168.x.x:8080 ? I was able to get the custom amp integration added, but when trying to connect it, it errors. I get “Unexpected error”


I am guessing it is related to what you said you are updating?

@Littleaton, I’m also a new user and am getting the same error. In my case with /dev/ttyUSB0. The official Monoprice integration installs, configures, and runs fine for me.

Hi @thebradleysanders, great work from what I can see! Is this error related to the sync/async change on the platform?

Logger: custom_components.monoprice_custom.config_flow
Source: custom_components/monoprice_custom/config_flow.py:57
Integration: Monoprice 6-Zone Amplifier Custom (documentation, issues)
First occurred: 9:31:12 PM (4 occurrences)
Last logged: 10:13:29 PM

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/monoprice_custom/config_flow.py", line 78, in async_step_user
    info = await validate_input(self.hass, user_input)
  File "/config/custom_components/monoprice_custom/config_flow.py", line 57, in validate_input
    await get_async_monoprice(data[CONF_PORT], hass.loop)
  File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 381, in get_async_monoprice
    _, protocol = yield from create_serial_connection(loop, functools.partial(MonopriceProtocol, loop),
  File "/usr/local/lib/python3.10/site-packages/serial_asyncio/__init__.py", line 449, in create_serial_connection
    transport, protocol = await connection_for_serial(loop, protocol_factory, serial_instance)
  File "/usr/local/lib/python3.10/site-packages/serial_asyncio/__init__.py", line 476, in connection_for_serial
    protocol = protocol_factory()
  File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 350, in __init__
    self._connected = asyncio.Event(loop=loop)
  File "/usr/local/lib/python3.10/asyncio/locks.py", line 168, in __init__
    super().__init__(loop=loop)
  File "/usr/local/lib/python3.10/asyncio/mixins.py", line 17, in __init__
    raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Event() since it is no longer necessary
1 Like

Yup i get the same error, and the HA core integration works, but would love to se this one…

@thebradleysanders Any updates? I do not see any changes to the repository on Github.

I’m currently researching how to replace the EOL SmartThings groovy integration to my Monoprice 6-Zone Amp. I also have a Hubitat hub and a Home Assistant implementation. Possible solutions may to run some devices on HA or HE and some devices on SmartThings or migrate to HA or HE completely.

To that end, I thought I’d create and share a one-stop list of all the home automation integrations to this great-value amp so that I could narrow down which direction to go.

Here it is: https://www.reddit.com/r/homeautomation/comments/x7njvw/monoprice_6zone_amp_integrations_list/

Version 1.2.1 Released. Fixes bug with socket connection thanks to @Littleaton.

1 Like

Hello,
I’ve just read this after 3 years, and i just wanted to thanks all the contributors of this custom coponents !

1 Like

I’m using this integration with a rpi connected via usb-serial connection, I can change the balance/bass/treble with the slider and the corresponding service:set_balance/bass/treble but the number.zone_balance/bass/treble entities all show up as unknown. The commands and replies seem to be received correctly but the number entities are being updated:

2024-01-21 09:01:49.168 DEBUG (SyncWorker_9) [pymonoprice] Sending “b’<11BL09\r’”
2024-01-21 09:01:49.181 DEBUG (SyncWorker_9) [pymonoprice] Received “b’<11BL09\r\n#'”
2024-01-21 09:01:49.184 DEBUG (SyncWorker_12) [pymonoprice] Sending “b’?11\r’”
2024-01-21 09:01:49.221 DEBUG (SyncWorker_12) [pymonoprice] Received “b’?11\r\n#>1100010000120014090600\r\r\n#'”

Hello. I followed your instructions on the GitHub page to try and install via HACS. I got a popup that the integration was already part of the store so I changed it to find and install via the Home Assistant Community Store.

I restarted HA afterward but I do not see the integration as installed.

Is there another process I should be following?

Thanks.