thebradleysanders / monoprice-6-zone-audio-controller Goto Github PK
View Code? Open in Web Editor NEWAn Integration for the Monoprice 6 Zone Home Audio Controller, with added sensors, sound mode, balance, treble & bass support.
An Integration for the Monoprice 6 Zone Home Audio Controller, with added sensors, sound mode, balance, treble & bass support.
Using HACS Version 1.2.3
I am getting the following repetitive error in my logs:
Main Log:
Logger: homeassistant.components.number
Source: components/number/init.py:254
Integration: Number (documentation, issues)
First occurred: 12:00:51 PM (54 occurrences)
Last logged: 12:00:51 PM
Entity None (<class 'custom_components.monoprice_custom.number.MonopriceZone'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author.
Core Log:
2023-04-30 12:00:51.373 WARNING (MainThread) [homeassistant.components.number] Entity None (<class 'custom_components.monoprice_custom.number.MonopriceZone'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author.
I noticed you mentioned fixing a similar issue here: #2 (comment)
I have two 6 zone amplifiers, if that has any bearing on the troubleshooting.
I've had a single socket:// setup working pretty well for a while.
Added another amp in a different location and setup a second socket:// device receiver. All of the entities appear to have been created ok, however, the entities between the two systems are getting confused.
If I change an 'Area' on zone 11 on system B, it will change on system A. I've also noticed that one of my automations which has been working well on system A now fails on occasion as it tries to adjust the volume on the parallel zone on system B.
Hi,
First, i would like to thank you for your great job :p
This is more a question than an issue i think, but :
I've just installed your customize coponment and i can't find anymore the control's source for each amp.
Is it normal ?
Thanks !
After the most recent update. When I enable this addon using a socket:// connection to an Ethernet to Serial adapter it causes Home Assistant iOS and Home Assistant Mac to go into a crazy refresh loop. I can still access my HA through regular Chrome, etc, but not through the iOS or Mac Apps. If I delete the integration the problem goes away. This was not happening until the most recent update.
I'm able to control all of the zones, but the bass, treble and balance entites are all showing as unknown. If I change the levels through a slider the amp changes accordingly but the number entites remain unknown and don't reflect the change. Any suggestions on how to get these working?
2024-02-07 09:42:52.734 DEBUG (SyncWorker_12) [pymonoprice] Sending "b'<11BS14\r'"
2024-02-07 09:42:52.747 DEBUG (SyncWorker_12) [pymonoprice] Received "b'<11BS14\r\n#'"
2024-02-07 09:42:52.749 DEBUG (SyncWorker_16) [pymonoprice] Sending "b'?11\r'"
2024-02-07 09:42:52.785 DEBUG (SyncWorker_16) [pymonoprice] Received "b'?11\r\n#>1100010000110914200100\r\r\n#'"
2024-02-07 09:42:59.750 DEBUG (SyncWorker_2) [pymonoprice] Sending "b'?11\r'"
2024-02-07 09:42:59.788 DEBUG (SyncWorker_2) [pymonoprice] Received "b'?11\r\n#>1100010000110914200100\r\r\n#'"
Hi There
I am working on trying to get this setup but i cant seem to get it to do so. It always defaults to the HA core monoprice one.
See my post here:
https://community.home-assistant.io/t/monoprice-multizone-bass-treble-balance-controls/212028/39
Any way to get this to work? and use yours and not the core one?
Error after updating to:
Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230607.0 - latest
This error originated from a custom integration.
Logger: homeassistant.loader
Source: custom_components/monoprice_custom/init.py:4
Integration: Monoprice 6-Zone Amplifier Custom (documentation, issues)
First occurred: 11:08:05 AM (1 occurrences)
Last logged: 11:08:05 AM
Unexpected exception importing component custom_components.monoprice_custom
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/monoprice_custom/init.py", line 4, in
from pymonoprice import get_monoprice
File "/usr/local/lib/python3.11/site-packages/pymonoprice/init.py", line 9, in
from serial_asyncio import create_serial_connection, SerialTransport
File "/usr/local/lib/python3.11/site-packages/serial_asyncio/init.py", line 408, in
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
HACS Version 1.2.3
EDIT: Issue is specific to a socket connection. I changed to a USB to serial connection and the problem seems be corrected. I virtualize HA, so the IP connection is preferred because I can fail over to another server and move the IP device over virtually versus physically moving the USB connection to the new machine.
Connected using socket connection, Globalcache iTach Flex Serial to IP connection. socket://[IP address]:4999
I have two Monoprice 6-zone amps controlled through this IP to serial connection, no prior issues using other control apps such as openHAB integration or Audio Control app (Apple Store app for the Monoprice amp).
After some amount of time (cannot determine a triggering amount of time) usually 4-5 hours after HA restart, dashboard becomes unresponsive (throws and error) and I get the following error in the log:
Source: custom_components/monoprice_custom/media_player.py:268
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 6:59:11 PM (1 occurrences)
Last logged: 6:59:11 PM
[140644132751440] write failed: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/serial/urlhandler/protocol_socket.py", line 203, in write
n = self._socket.send(d)
BrokenPipeError: [Errno 32] Broken pipe
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1820, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1857, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 216, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 798, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 977, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 838, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 729, in async_set_volume_level
await self.hass.async_add_executor_job(self.set_volume_level, volume)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/monoprice_custom/media_player.py", line 268, in set_volume_level
self._monoprice.set_volume(self._zone_id, round(volume * MAX_VOLUME))
File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 36, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 225, in set_volume
self._process_request(_format_set_volume(zone, volume))
File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 153, in _process_request
self._send_request(request)
File "/usr/local/lib/python3.10/site-packages/pymonoprice/__init__.py", line 144, in _send_request
self._port.write(request)
File "/usr/local/lib/python3.10/site-packages/serial/urlhandler/protocol_socket.py", line 231, in write
raise SerialException('write failed: {}'.format(e))
serial.serialutil.SerialException: write failed: [Errno 32] Broken pipe
Connection is only restorable via restart of Home Assistant.
Other apps connected to the device continue to work.
The follow fills the log and repeats about every minute:
2023-04-30 16:54:29.514 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:03.314 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 11
2023-04-30 18:38:03.315 WARNING (SyncWorker_1) [custom_components.monoprice_custom.media_player] Could not update zone 12
2023-04-30 18:38:03.315 WARNING (SyncWorker_7) [custom_components.monoprice_custom.media_player] Could not update zone 13
2023-04-30 18:38:03.316 WARNING (SyncWorker_4) [custom_components.monoprice_custom.media_player] Could not update zone 14
2023-04-30 18:38:03.316 WARNING (SyncWorker_2) [custom_components.monoprice_custom.media_player] Could not update zone 15
2023-04-30 18:38:03.317 WARNING (SyncWorker_9) [custom_components.monoprice_custom.media_player] Could not update zone 16
2023-04-30 18:38:03.318 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-04-30 18:38:03.318 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-04-30 18:38:03.319 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 23
2023-04-30 18:38:03.319 WARNING (SyncWorker_5) [custom_components.monoprice_custom.media_player] Could not update zone 24
2023-04-30 18:38:03.320 WARNING (SyncWorker_5) [custom_components.monoprice_custom.media_player] Could not update zone 25
2023-04-30 18:38:03.320 WARNING (SyncWorker_2) [custom_components.monoprice_custom.media_player] Could not update zone 26
2023-04-30 18:38:13.315 WARNING (SyncWorker_9) [custom_components.monoprice_custom.media_player] Could not update zone 11
2023-04-30 18:38:13.316 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 12
2023-04-30 18:38:13.317 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 13
2023-04-30 18:38:13.318 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 14
2023-04-30 18:38:13.318 WARNING (SyncWorker_10) [custom_components.monoprice_custom.media_player] Could not update zone 15
2023-04-30 18:38:13.319 WARNING (SyncWorker_3) [custom_components.monoprice_custom.media_player] Could not update zone 16
2023-04-30 18:38:13.320 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-04-30 18:38:13.320 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-04-30 18:38:13.321 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 23
2023-04-30 18:38:13.322 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 24
2023-04-30 18:38:13.322 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 25
2023-04-30 18:38:13.323 WARNING (SyncWorker_10) [custom_components.monoprice_custom.media_player] Could not update zone 26
2023-04-30 18:38:22.083 WARNING (SyncWorker_3) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:22.084 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:22.085 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:22.086 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:22.086 WARNING (SyncWorker_8) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:22.087 WARNING (SyncWorker_5) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:22.088 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:22.088 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:22.089 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:22.090 WARNING (SyncWorker_7) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:22.090 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:22.091 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:22.091 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:22.092 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:22.093 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:22.093 WARNING (SyncWorker_5) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:22.094 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:22.094 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:22.095 WARNING (SyncWorker_10) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:22.095 WARNING (SyncWorker_7) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:22.096 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:22.096 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:22.097 WARNING (SyncWorker_8) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:22.098 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:22.098 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:22.099 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:22.100 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:22.101 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:22.101 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:22.102 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:22.102 WARNING (SyncWorker_6) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:22.104 WARNING (SyncWorker_3) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:22.104 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:22.105 WARNING (SyncWorker_4) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:22.105 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:22.106 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:22.106 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:22.107 WARNING (SyncWorker_8) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:22.108 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:22.108 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:22.109 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:22.109 WARNING (SyncWorker_4) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:22.109 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:22.110 WARNING (SyncWorker_4) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:22.111 WARNING (SyncWorker_11) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:22.111 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:22.112 WARNING (SyncWorker_8) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:22.112 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:22.113 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:22.113 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:22.114 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:22.114 WARNING (SyncWorker_1) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:22.115 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:22.115 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:22.116 WARNING (SyncWorker_8) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:22.116 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:22.117 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:22.117 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:22.118 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:22.118 WARNING (SyncWorker_5) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:22.119 WARNING (SyncWorker_11) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:22.119 WARNING (SyncWorker_8) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:22.120 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:22.121 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:22.121 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:22.122 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:22.122 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:22.123 WARNING (SyncWorker_5) [custom_components.monoprice_custom.sensor] Could not update zone 26
2023-04-30 18:38:22.123 WARNING (SyncWorker_6) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:22.124 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 26
2023-04-30 18:38:22.125 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:22.125 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 26
2023-04-30 18:38:23.315 WARNING (SyncWorker_4) [custom_components.monoprice_custom.media_player] Could not update zone 11
2023-04-30 18:38:23.316 WARNING (SyncWorker_1) [custom_components.monoprice_custom.media_player] Could not update zone 12
2023-04-30 18:38:23.316 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 13
2023-04-30 18:38:23.317 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 14
2023-04-30 18:38:23.317 WARNING (SyncWorker_10) [custom_components.monoprice_custom.media_player] Could not update zone 15
2023-04-30 18:38:23.318 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 16
2023-04-30 18:38:23.319 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-04-30 18:38:23.319 WARNING (SyncWorker_1) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-04-30 18:38:23.320 WARNING (SyncWorker_5) [custom_components.monoprice_custom.media_player] Could not update zone 23
2023-04-30 18:38:23.320 WARNING (SyncWorker_9) [custom_components.monoprice_custom.media_player] Could not update zone 24
2023-04-30 18:38:23.321 WARNING (SyncWorker_7) [custom_components.monoprice_custom.media_player] Could not update zone 25
2023-04-30 18:38:23.322 WARNING (SyncWorker_3) [custom_components.monoprice_custom.media_player] Could not update zone 26
2023-04-30 18:38:33.315 WARNING (SyncWorker_4) [custom_components.monoprice_custom.media_player] Could not update zone 11
2023-04-30 18:38:33.316 WARNING (SyncWorker_2) [custom_components.monoprice_custom.media_player] Could not update zone 12
2023-04-30 18:38:33.317 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 13
2023-04-30 18:38:33.318 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 14
2023-04-30 18:38:33.318 WARNING (SyncWorker_7) [custom_components.monoprice_custom.media_player] Could not update zone 15
2023-04-30 18:38:33.319 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 16
2023-04-30 18:38:33.319 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-04-30 18:38:33.320 WARNING (SyncWorker_1) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-04-30 18:38:33.321 WARNING (SyncWorker_5) [custom_components.monoprice_custom.media_player] Could not update zone 23
2023-04-30 18:38:33.321 WARNING (SyncWorker_9) [custom_components.monoprice_custom.media_player] Could not update zone 24
2023-04-30 18:38:33.322 WARNING (SyncWorker_10) [custom_components.monoprice_custom.media_player] Could not update zone 25
2023-04-30 18:38:33.323 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 26
2023-04-30 18:38:43.316 WARNING (SyncWorker_4) [custom_components.monoprice_custom.media_player] Could not update zone 11
2023-04-30 18:38:43.317 WARNING (SyncWorker_2) [custom_components.monoprice_custom.media_player] Could not update zone 12
2023-04-30 18:38:43.318 WARNING (SyncWorker_8) [custom_components.monoprice_custom.media_player] Could not update zone 13
2023-04-30 18:38:43.318 WARNING (SyncWorker_11) [custom_components.monoprice_custom.media_player] Could not update zone 14
2023-04-30 18:38:43.319 WARNING (SyncWorker_7) [custom_components.monoprice_custom.media_player] Could not update zone 15
2023-04-30 18:38:43.319 WARNING (SyncWorker_3) [custom_components.monoprice_custom.media_player] Could not update zone 16
2023-04-30 18:38:43.320 WARNING (SyncWorker_0) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-04-30 18:38:43.320 WARNING (SyncWorker_1) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-04-30 18:38:43.321 WARNING (SyncWorker_5) [custom_components.monoprice_custom.media_player] Could not update zone 23
2023-04-30 18:38:43.322 WARNING (SyncWorker_9) [custom_components.monoprice_custom.media_player] Could not update zone 24
2023-04-30 18:38:43.322 WARNING (SyncWorker_10) [custom_components.monoprice_custom.media_player] Could not update zone 25
2023-04-30 18:38:43.323 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 26
2023-04-30 18:38:52.084 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:52.085 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:52.086 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:52.086 WARNING (SyncWorker_1) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:52.087 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 11
2023-04-30 18:38:52.088 WARNING (SyncWorker_4) [custom_components.monoprice_custom.sensor] Could not update zone 11
2023-04-30 18:38:52.088 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:52.089 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:52.090 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:52.090 WARNING (SyncWorker_3) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:52.091 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 12
2023-04-30 18:38:52.092 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 12
2023-04-30 18:38:52.093 WARNING (SyncWorker_5) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:52.094 WARNING (SyncWorker_1) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:52.094 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:52.095 WARNING (SyncWorker_7) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:52.095 WARNING (SyncWorker_10) [custom_components.monoprice_custom.number] Could not update zone 13
2023-04-30 18:38:52.096 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 13
2023-04-30 18:38:52.096 WARNING (SyncWorker_6) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:52.097 WARNING (SyncWorker_3) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:52.097 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:52.098 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:52.098 WARNING (SyncWorker_11) [custom_components.monoprice_custom.number] Could not update zone 14
2023-04-30 18:38:52.099 WARNING (SyncWorker_4) [custom_components.monoprice_custom.sensor] Could not update zone 14
2023-04-30 18:38:52.099 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:52.100 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:52.100 WARNING (SyncWorker_10) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:52.101 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:52.101 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 15
2023-04-30 18:38:52.102 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 15
2023-04-30 18:38:52.103 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:52.103 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:52.104 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:52.104 WARNING (SyncWorker_7) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:52.105 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 16
2023-04-30 18:38:52.105 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 16
2023-04-30 18:38:52.106 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:52.106 WARNING (SyncWorker_6) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:52.107 WARNING (SyncWorker_6) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:52.108 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:52.108 WARNING (SyncWorker_11) [custom_components.monoprice_custom.number] Could not update zone 21
2023-04-30 18:38:52.109 WARNING (SyncWorker_8) [custom_components.monoprice_custom.sensor] Could not update zone 21
2023-04-30 18:38:52.110 WARNING (SyncWorker_9) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:52.110 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:52.110 WARNING (SyncWorker_5) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:52.112 WARNING (SyncWorker_5) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:52.112 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 22
2023-04-30 18:38:52.113 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 22
2023-04-30 18:38:52.113 WARNING (SyncWorker_3) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:52.114 WARNING (SyncWorker_8) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:52.114 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:52.115 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:52.115 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 23
2023-04-30 18:38:52.115 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 23
2023-04-30 18:38:52.116 WARNING (SyncWorker_5) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:52.118 WARNING (SyncWorker_11) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:52.118 WARNING (SyncWorker_2) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:52.119 WARNING (SyncWorker_8) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:52.119 WARNING (SyncWorker_0) [custom_components.monoprice_custom.number] Could not update zone 24
2023-04-30 18:38:52.120 WARNING (SyncWorker_9) [custom_components.monoprice_custom.sensor] Could not update zone 24
2023-04-30 18:38:52.120 WARNING (SyncWorker_7) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:52.121 WARNING (SyncWorker_10) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:52.122 WARNING (SyncWorker_1) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:52.122 WARNING (SyncWorker_3) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:52.123 WARNING (SyncWorker_11) [custom_components.monoprice_custom.number] Could not update zone 25
2023-04-30 18:38:52.123 WARNING (SyncWorker_2) [custom_components.monoprice_custom.sensor] Could not update zone 25
2023-04-30 18:38:52.123 WARNING (SyncWorker_3) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:52.124 WARNING (SyncWorker_0) [custom_components.monoprice_custom.sensor] Could not update zone 26
2023-04-30 18:38:52.125 WARNING (SyncWorker_4) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:52.125 WARNING (SyncWorker_7) [custom_components.monoprice_custom.sensor] Could not update zone 26
2023-04-30 18:38:52.125 WARNING (SyncWorker_10) [custom_components.monoprice_custom.number] Could not update zone 26
2023-04-30 18:38:52.126 WARNING (SyncWorker_1) [custom_components.monoprice_custom.sensor] Could not update zone 26
I am having difficulty setting up two Monoprice 6 zone audio matrix devices. HA Core install over Ubuntu, Python 3.10 in VENV. Trying either unit as master with SABRENT USB 2.0 to Serial (9-Pin) DB-9 RS-232 Adapter Cable (FTDI Chip) and RS232 communication works fine. However when I add the second unit as slave the install identifies all 18 zones, but after trying to enable zones 21 to 23 it says state is "unknown" for them. I get the following errors in the HA log:
Logger: homeassistant.components.number
Source: components/number/init.py:104
Integration: Number (documentation, issues)
First occurred: February 11, 2023 at 2:32:09 PM (1 occurrences)
Last logged: February 11, 2023 at 2:32:09 PM
custom_components.monoprice_custom.number::MonopriceZone is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
and
This error originated from a custom integration.
Logger: custom_components.monoprice_custom.media_player
Source: custom_components/monoprice_custom/media_player.py:206
Integration: Monoprice 6-Zone Amplifier Custom (documentation, issues)
First occurred: 7:54:08 AM (377 occurrences)
Last logged: 8:15:05 AM
Could not update zone 21
Could not update zone 22
Could not update zone 23
Additionally, with debug logging in the component I get:
2023-02-12 08:18:01.108 DEBUG (SyncWorker_4) [pymonoprice] Sending "b'?11\r'"
2023-02-12 08:18:01.150 DEBUG (SyncWorker_4) [pymonoprice] Received "b'?11\r\n#>1100010000090912100301\r\r\n#'"
2023-02-12 08:18:01.151 DEBUG (SyncWorker_7) [pymonoprice] Sending "b'?12\r'"
2023-02-12 08:18:01.198 DEBUG (SyncWorker_7) [pymonoprice] Received "b'?12\r\n#>1200000000100710100301\r\r\n#'"
2023-02-12 08:18:01.199 DEBUG (SyncWorker_6) [pymonoprice] Sending "b'?13\r'"
2023-02-12 08:18:01.246 DEBUG (SyncWorker_6) [pymonoprice] Received "b'?13\r\n#>1300000000160707100201\r\r\n#'"
2023-02-12 08:18:01.247 DEBUG (SyncWorker_1) [pymonoprice] Sending "b'?14\r'"
2023-02-12 08:18:01.294 DEBUG (SyncWorker_1) [pymonoprice] Received "b'?14\r\n#>1400000000200707100101\r\r\n#'"
2023-02-12 08:18:01.295 DEBUG (SyncWorker_8) [pymonoprice] Sending "b'?15\r'"
2023-02-12 08:18:01.342 DEBUG (SyncWorker_8) [pymonoprice] Received "b'?15\r\n#>1500000000170707100201\r\r\n#'"
2023-02-12 08:18:01.343 DEBUG (SyncWorker_0) [pymonoprice] Sending "b'?16\r'"
2023-02-12 08:18:01.390 DEBUG (SyncWorker_0) [pymonoprice] Received "b'?16\r\n#>1600000000111212100601\r\r\n#'"
2023-02-12 08:18:01.391 DEBUG (SyncWorker_4) [pymonoprice] Sending "b'?21\r'"
2023-02-12 08:18:03.407 WARNING (SyncWorker_4) [custom_components.monoprice_custom.media_player] Could not update zone 21
2023-02-12 08:18:03.409 DEBUG (SyncWorker_7) [pymonoprice] Sending "b'?22\r'"
2023-02-12 08:18:05.421 WARNING (SyncWorker_7) [custom_components.monoprice_custom.media_player] Could not update zone 22
2023-02-12 08:18:05.423 DEBUG (SyncWorker_6) [pymonoprice] Sending "b'?23\r'"
2023-02-12 08:18:07.437 WARNING (SyncWorker_6) [custom_components.monoprice_custom.media_player] Could not update zone 23
Any insight or help would be appreciated, Thanks
Have you guys asked if you could just get this code merged into the official one? Seems like they would probably let you. I've seen so many posts about the official integration and the fact that you cant control the bass/treble and stuff. Would be such an easy merge if they were cool with it. Then you guys wouldn't have to maintain a separate fork. Just a thought.
Appreciate the work btw. I was really sad about not having the features you guys added here in the official one. So I'm really glad I found this.
Hi,
I am using the monoprice 6 zone amp (thank you - this is great) with a Sonos Port. This allows me to have the sonos port as a music source - and sound source for TV, etc.
Currently if I am watching TV with a sonos sound bar, I set the source for TV - then I use your code to turn on (for example) zone 1 & 2, set the source for sonos and this allows me to have the TV sound coming from the sonos soundbar mirrored onto the monoprice controlled amp with the sonos port as the sound source.
https://github.com/johanfrick/custom-sonos-card
I am trying to figure out how I can add it so within the sonos card I can call those other monoprice amp zones - again assuming the source is always the sonos port which is my overall plan.
Any ideas on how to make the monoprice amp zones show up as sonos devices?
Thanks,
Rich
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.