Roon Extension : RHEOS 2-way control & 192Hz/24bit Playback and Grouping on Denon/Marantz HEOS devices now in Extension Manager

unfortunately squeeze bock didn’t help docker
still have the same error.

dumb question do I have to set up a director structure?
if I have to set up folder and mount point, what should it be?

Did you uninstall from extension manager?

Is the log file the same?

When using a NAS I’m afraid you are much more on your own as there are too many variables for me to sort out.

I easily backed out the extension manager

I did get different errors this time…so that’s good.

date stream content
2024/01/10 19:21:07 stdout Node.js v19.9.0
2024/01/10 19:21:07 stdout
2024/01/10 19:21:07 stdout }
2024/01/10 19:21:07 stdout code: e[32m’ERR_UNHANDLED_REJECTION’e[39m
2024/01/10 19:21:07 stdout [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason No devices found.] {
2024/01/10 19:21:07 stdout
2024/01/10 19:21:07 stdout ^
2024/01/10 19:21:07 stdout triggerUncaughtException(err, true /* fromPromise */);
2024/01/10 19:21:07 stdout node:internal/process/promises:289
2024/01/10 19:21:07 stdout :warning: Please ensure RHEOS is enabled in Settings β†’ Extensions
2024/01/10 19:20:57 stdout STARTING HEOS
2024/01/10 19:20:57 stdout STARTING HEOS CONNECTIONS
2024/01/10 19:20:57 stdout 172.17.0.5,Linux,rheos-roon-extension-rheos-1,linux,x64 Version : 0.8.4-8
2024/01/10 19:20:57 stdout INITIATING SERVICES
2024/01/10 19:20:57 stdout 1/11/2024, 12:20:57 AM STARTING ROON
2024/01/10 19:20:57 stdout STARTING ROON CONNECTIONS

Make sure you have stopped RHEOS from the extension manager. Uninstall if you are not going to use it.

See what is shown on the settings - extensions - view. Delete any prior authorization. And restart docker on the NAS . Then enable RHEOS from the settings screen.

It is MUCH simpler to run from the extension manager. I can not give you much help on the NAS and you will need to be able to explore your set up.

I suggest you follow Patrick’s guidance on file structure etc.

@Evan_Kohn1

Here is your issue. Do not map an rheos folder in the image… that method is for the option where you are going to install Peter’s files directly into a blank image…

Just remove the entire volume mapping highlighted below…

lets see if this gets you going or to the next error for us to fix :slight_smile:

1 Like

PS - I have tried a few times to get the extension manager to work in synology nas but have not - it is something to do with the fact that the extension manager software wants a handle to the docker proces (since the extension manager actually spins up images) - the issue is one or both of the following problems:

  1. I already have Portainer attaching to the docker socket so β€œit” can manage building and deploying images and docker doesnt let another control it easily [read this somewhere]
  2. the synology implementation of docker is slightly different and the path to the docker socket and or permissions is telling extension manager to β€˜p*ss off’

Since I like running the beta versions anyway as Peter is actively developing for all of us, I cannot use the extension manager anyway - so win win for me…

1 Like

Thanks Patrick!

Having the NAS to test this on is so helpful.

By the way, did RHEOS work for your party?

The AVR control is working well for me - maybe explore a little and let me know ? I realize it requires a little learning - but it actually is much the same as the new HEOS! (Did they copy???)

Version 0.8.4-9 Uploaded to Docker and available as test and latest.

Minor changes to bi-directional volume controls especially for fixed groups.

@patrick_mccarthy thanks for all the help! And wish I had better news.

I just deleted everything and redid the container. I took all the defaults adding no information.

reading you last note, I’m wondering if this will forever be a docker in synology issue?
I do have portainer, do you think if you shared the yml, this would work?

for kicks, here’s the error Synology gave:
rheos-roon-extension-rheos-1
date stream content
1/11/24 7:34 stdout Node.js v19.9.0

1/11/24 7:34 stdout

1/11/24 7:34 stdout }

1/11/24 7:34 stdout code: e[32m’ERR_UNHANDLED_REJECTION’e[39m

1/11/24 7:34 stdout [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason \No devices found".] {
"
2024/01/11 07:34:58,stdout,

2024/01/11 07:34:58,stdout, ^

2024/01/11 07:34:58,stdout, triggerUncaughtException(err" true /* fromPromise */);
"
2024/01/11 07:34:58,stdout,node:internal/process/promises:289

2024/01/11 07:34:58,stdout, β€šΓΆβ€  Please ensure RHEOS is enabled in Settings β†’ Extensions

2024/01/11 07:34:48,stdout,STARTING HEOS

2024/01/11 07:34:48,stdout,STARTING HEOS CONNECTIONS

2024/01/11 07:34:48,stdout,172.17.0.5" Linux rheos-roon-extension-rheos-1 linux x64 Version : 0.8.4-8
"
2024/01/11 07:34:48,stdout,INITIATING SERVICES

2024/01/11 07:34:48,stdout,1/11/2024" 12:34:48 PM STARTING ROON

Did you look what is enabled in the extension settings?

@peter_richardson
Testing 0.8.4-9

My notes…

  • Uninstalled and reinstalled RHEOS. Zone off. Groups on.

  • One receiver (Zones off, Groups On)
    – Played music on Patio. Turned on with RHEOS control. Volume works
    – Played with receiver off. It turned on correctly and played. Volume works.

  • Two receivers (Zones off, Groups On)
    – Hard reset both
    – Grouped two
    – Played and both powered on automatically
    – No grouping on HEOS app and Volume control on RHEOS not synching
    – Ungrouped and tried volume. Still not working on RHEOS.

  • One receiver (Turned Zones On, Groups On)
    – Restarted HEOS app
    – No speakers found. Reset to defaults. No change.
    – Uninstall/reinstall RHEOS. Players loaded correctly.
    – Volume unresponsive and then after a few seconds responded correctly.
    – Power icon working

  • Two receivers (Zones on, Groups On)
    – Added a second receiver
    – Two receiver group synched on HEOS app as expected
    – Second receiver stayed off when playing music, but Power icon powered it on.
    – Volume was unresponsive on both receivers
    – Ungrouping the receivers did not ungroup in HEOS app.

Log
2024-01-11T16:41:01.230124000Z STARTING ROON CONNECTIONS 2024-01-11T16:41:01.273665000Z 1/11/2024, 4:41:01 PM STARTING ROON 2024-01-11T16:41:01.332990000Z INITIATING SERVICES 2024-01-11T16:41:01.334671000Z 192.168.1.174,Linux,DietPi,linux,arm64 Version : 0.8.4-9 2024-01-11T16:41:01.344250000Z STARTING HEOS CONNECTIONS 2024-01-11T16:41:01.346117000Z STARTING HEOS 2024-01-11T16:41:01.441904000Z β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β” 2024-01-11T16:41:01.442213000Z β”‚ (index) β”‚ name β”‚ pid β”‚ model β”‚ ip β”‚ resolution β”‚ network β”‚ 2024-01-11T16:41:01.442354000Z β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ 2024-01-11T16:41:01.442497000Z β”‚ 0 β”‚ 'Garage HEOS' β”‚ 517302361 β”‚ 'Denon DRA-800H' β”‚ '192.168.1.239' β”‚ 'CD' β”‚ 'wired' β”‚ 2024-01-11T16:41:01.442624000Z β”‚ 1 β”‚ 'Patio HEOS' β”‚ 1238197077 β”‚ 'Denon AVR-X3600H' β”‚ '192.168.1.237' β”‚ 'CD' β”‚ 'wired' β”‚ 2024-01-11T16:41:01.442755000Z β”‚ 2 β”‚ 'Living room' β”‚ 945182341 β”‚ 'Denon Home 350' β”‚ '192.168.1.232' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.442884000Z β”‚ 3 β”‚ 'Workout Room' β”‚ -643584911 β”‚ 'Denon DHT-S516H' β”‚ '192.168.1.238' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.443020000Z β”‚ 4 β”‚ 'Master Bedroom' β”‚ 1172627996 β”‚ 'Denon Home 350' β”‚ '192.168.1.225' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.443162000Z β”‚ 5 β”‚ 'Family room soundbar' β”‚ 486241238 β”‚ 'Denon DHT-S716H' β”‚ '192.168.1.128' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.443295000Z β”‚ 6 β”‚ 'Home Theater HEOS' β”‚ 1176195927 β”‚ 'Denon AVR-X3700H' β”‚ '192.168.1.233' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.443417000Z β”‚ 7 β”‚ 'kitchen left' β”‚ -76870616 β”‚ 'Denon Home 250' β”‚ '192.168.1.235' β”‚ 'CD' β”‚ 'wifi' β”‚ 2024-01-11T16:41:01.443540000Z β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ 2024-01-11T16:41:01.466924000Z 1/11/2024, 4:41:01 PM ROON PAIRED com.RHEOS.latest 2024-01-11T16:41:01.477662000Z DISCOVERING DEVICES 2024-01-11T16:41:01.482615000Z READING PROFILES 2024-01-11T16:41:01.510438000Z 1/11/2024, 4:41:01 PM DIFFERENT PLAYERS 2024-01-11T16:41:01.511898000Z 1/11/2024, 4:41:01 PM UPDATING CONFIG 2024-01-11T16:41:01.513568000Z 1/11/2024, 4:41:01 PM CREATING ROOT XML 2024-01-11T16:41:01.809740000Z 1/11/2024, 4:41:01 PM CREATING CONFIG FROM IP 192.168.1.174 2024-01-11T16:41:28.342008000Z DISCOVERING DEVICES 2024-01-11T16:41:28.344409000Z BUILDING DEVICES 2024-01-11T16:41:28.344873000Z BUILDING DEVICES 2024-01-11T16:41:28.425287000Z CREATING Garage HEOS 2024-01-11T16:41:28.449043000Z CREATING Family room soundbar 2024-01-11T16:41:28.470989000Z CREATING Master Bedroom 2024-01-11T16:41:28.495595000Z CREATING kitchen left 2024-01-11T16:41:28.519158000Z CREATING Living room 2024-01-11T16:41:28.549992000Z CREATING Workout Room 2024-01-11T16:41:28.583659000Z CREATING Patio HEOS 2024-01-11T16:41:28.634588000Z CREATING Home Theater HEOS 2024-01-11T16:41:28.635738000Z ROON SERVER IP ADDRESS 192.168.1.192 2024-01-11T16:41:28.637391000Z CREATING ZONE CONTROLS 2024-01-11T16:41:28.638203000Z TESTING IF AVR Garage HEOS 2024-01-11T16:41:28.643744000Z TESTING IF AVR Workout Room 2024-01-11T16:41:28.645807000Z TESTING IF AVR Family room soundbar 2024-01-11T16:41:28.647086000Z TESTING IF AVR Patio HEOS 2024-01-11T16:41:28.648460000Z TESTING IF AVR Home Theater HEOS 2024-01-11T16:41:28.651132000Z STARTING TO MONITOR AVRS 2024-01-11T16:41:28.651413000Z ADDING LISTENERS 2024-01-11T16:41:28.652381000Z SETTING LISTENERS 2024-01-11T16:41:28.654965000Z UPDATING HEOS GROUPS 2024-01-11T16:41:28.673108000Z CREATING FIXED GROUPS 2024-01-11T16:41:28.697474000Z SETTINGS [ 2024-01-11T16:41:28.697796000Z [ 'host_ip', '192.168.1.92' ], 2024-01-11T16:41:28.698007000Z [ 'streambuf_size', 524288 ], 2024-01-11T16:41:28.698169000Z [ 'output_size', 8388608 ], 2024-01-11T16:41:28.698340000Z [ 'stream_length', -3 ], 2024-01-11T16:41:28.698541000Z [ 'seek_after_pause', 1 ], 2024-01-11T16:41:28.698698000Z [ 'volume_on_play', -1 ], 2024-01-11T16:41:28.698847000Z [ 'volume_feedback', 0 ], 2024-01-11T16:41:28.698990000Z [ 'accept_nexturi', 0 ], 2024-01-11T16:41:28.699129000Z [ 'flac_header', 0 ], 2024-01-11T16:41:28.699301000Z [ 'keep_alive', 0 ], 2024-01-11T16:41:28.699429000Z [ 'next_delay', 15 ], 2024-01-11T16:41:28.699563000Z [ 'send_coverart', false ], 2024-01-11T16:41:28.699707000Z [ 'send_metadata', true ], 2024-01-11T16:41:28.699837000Z [ 'flow', 0 ], 2024-01-11T16:41:28.699971000Z [ 'max_safe_vol', 70 ], 2024-01-11T16:41:28.700119000Z [ 'avr_control', 1 ], 2024-01-11T16:41:28.700254000Z [ 'fixed_control', 1 ], 2024-01-11T16:41:28.700408000Z [ 'log_limit', 1 ], 2024-01-11T16:41:28.700564000Z [ 'clear_settings', 0 ] 2024-01-11T16:41:28.700714000Z ] 2024-01-11T16:41:28.718906000Z WORKOUT ROOM ZONE 2 NOT DETECTED 2024-01-11T16:41:28.720728000Z FAMILY ROOM SOUNDBAR ZONE 2 NOT DETECTED 2024-01-11T16:41:30.706727000Z GARAGE HEOS HAS POWER SWITCH 2024-01-11T16:41:30.717637000Z PATIO HEOS HAS POWER SWITCH 2024-01-11T16:41:30.771430000Z HOME THEATER HEOS HAS POWER SWITCH 2024-01-11T16:41:32.715441000Z GARAGE HEOS HAS ZONE 2 2024-01-11T16:41:32.717923000Z CREATING AVR CONTROLS FOR Garage HEOS 2024-01-11T16:41:32.720647000Z CREATING VOLUME CONTROL Garage HEOS 517302361 2024-01-11T16:41:32.723154000Z CREATING SOUND MODE Garage HEOS β™« Sound Mode 2024-01-11T16:41:32.730178000Z PATIO HEOS HAS ZONE 2 2024-01-11T16:41:32.730764000Z CREATING AVR CONTROLS FOR Patio HEOS 2024-01-11T16:41:32.733090000Z CREATING VOLUME CONTROL Patio HEOS 1238197077 2024-01-11T16:41:32.734155000Z CREATING SOUND MODE Patio HEOS β™« Sound Mode 2024-01-11T16:41:32.781621000Z HOME THEATER HEOS HAS ZONE 2 2024-01-11T16:41:32.782238000Z CREATING AVR CONTROLS FOR Home Theater HEOS 2024-01-11T16:41:32.784361000Z CREATING VOLUME CONTROL Home Theater HEOS 1176195927 2024-01-11T16:41:32.785712000Z CREATING SOUND MODE Home Theater HEOS β™« Sound Mode 2024-01-11T16:41:34.741696000Z GARAGE HEOS SOUND MODE IS STEREO 2024-01-11T16:41:34.743694000Z PATIO HEOS SOUND MODE IS STEREO 2024-01-11T16:41:34.803553000Z HOME THEATER HEOS SOUND MODE IS STEREO 2024-01-11T16:42:38.656039000Z UPDATING RESOLUTION Living room HR 2024-01-11T16:42:38.658559000Z BUILDING DEVICES 2024-01-11T16:42:38.680221000Z RESETTING PLAYER RESOLUTION Living room HR 2024-01-11T16:42:38.684863000Z UPDATING RESOLUTION Garage HEOS HR 2024-01-11T16:42:38.685522000Z BUILDING DEVICES 2024-01-11T16:42:38.693303000Z CREATING Living room 2024-01-11T16:42:38.720613000Z RESETTING PLAYER RESOLUTION Garage HEOS HR 2024-01-11T16:42:38.724888000Z UPDATING RESOLUTION Workout Room HR 2024-01-11T16:42:38.725464000Z BUILDING DEVICES 2024-01-11T16:42:38.751443000Z CREATING Garage HEOS 2024-01-11T16:42:38.761641000Z RESETTING PLAYER RESOLUTION Workout Room HR 2024-01-11T16:42:38.765805000Z UPDATING RESOLUTION Master Bedroom HR 2024-01-11T16:42:38.766235000Z BUILDING DEVICES 2024-01-11T16:42:38.787900000Z CREATING Workout Room 2024-01-11T16:42:38.797178000Z RESETTING PLAYER RESOLUTION Master Bedroom HR 2024-01-11T16:42:38.799272000Z UPDATING RESOLUTION Family room soundbar HR 2024-01-11T16:42:38.799586000Z BUILDING DEVICES 2024-01-11T16:42:38.821363000Z CREATING Master Bedroom 2024-01-11T16:42:38.836188000Z RESETTING PLAYER RESOLUTION Family room soundbar HR 2024-01-11T16:42:38.838303000Z UPDATING RESOLUTION Patio HEOS HR 2024-01-11T16:42:38.838638000Z BUILDING DEVICES 2024-01-11T16:42:38.853402000Z CREATING Family room soundbar 2024-01-11T16:42:38.882895000Z RESETTING PLAYER RESOLUTION Patio HEOS HR 2024-01-11T16:42:38.885318000Z UPDATING RESOLUTION Home Theater HEOS HR 2024-01-11T16:42:38.885676000Z BUILDING DEVICES 2024-01-11T16:42:38.894151000Z CREATING Patio HEOS 2024-01-11T16:42:38.904095000Z RESETTING PLAYER RESOLUTION Home Theater HEOS HR 2024-01-11T16:42:38.906000000Z UPDATING RESOLUTION kitchen left HR 2024-01-11T16:42:38.906375000Z BUILDING DEVICES 2024-01-11T16:42:38.922845000Z CREATING Home Theater HEOS 2024-01-11T16:42:38.927782000Z RESETTING PLAYER RESOLUTION kitchen left HR 2024-01-11T16:42:38.981397000Z CREATING kitchen left 2024-01-11T16:51:13.337908000Z 1/11/2024, 4:51:13 PM Patio HEOS + 1 β–Ά Hallelujah - Pentatonix 2024-01-11T16:54:05.622850000Z Error: read ECONNRESET 2024-01-11T16:54:05.625253000Z at TCP.onStreamRead (node:internal/stream_base_commons:217:20) { 2024-01-11T16:54:05.625779000Z errno: -104, 2024-01-11T16:54:05.626186000Z code: 'ECONNRESET', 2024-01-11T16:54:05.626554000Z syscall: 'read' 2024-01-11T16:54:05.626926000Z } 2024-01-11T16:54:11.176063000Z ⚠ PLAYERS HAVE CHANGED 2024-01-11T16:54:12.283279000Z ⚠ PLAYERS HAVE CHANGED

@Evan_Kohn1 - can you use the β€˜project’ tab in synology container app and use my compose example (Roon Extension : RHEOS 2-way control & 192Hz/24bit Playback and Grouping on Denon/Marantz HEOS devices now in Extension Manager - #652 by patrick_mccarthy)

you will note that I do not map all the ports…I also commented out some of the environment settings (as testing) you can put those back

@peter_richardson - do you recall if this can work in bridge mode too or must be be on the host network

(Evan, I run vlans and all my entertainment devices are on that vlan - the nas has separate subnets on the different network-cards - hence the macvlan setup in some of my original examples on this thread…

I can share my portainer stack with you as well, but its setup for macvlans and will have to be edited

Thank you so much Kent. Very helpful.

All of your devices are being identified and configured as expected.

The error

Error: read ECONNRESET 2024-01-11T16:54:05.625253000Z at TCP.onStreamRead

Is one I’ve not seen before - will investigate as this is a significant issue and may be a network connection issue.

Volume control being unresponsive initially for a few seconds is normal.

With two receivers and zones off is the grouping with the HEOS app or with ROON? Does the actual HEOS app work normally (if not again its pointing to a network issue with HEOS, not ROON). Can you group/ungroup and change volume with the HEOS app?

I note that several players are wifi based and am wondering if that may be part of the issue as I keep everything other than a couple of HEOS 5s hard wired).

Ill take a look at adding some logging to the next release to capture what’s going on with volume control on the receivers and if they are responding and try to see if we can improve the reliability here.

1 Like

Must be on host network (Squeeze2UpNP requirement)

@patrick_mccarthy you’re my hero. I can’t explain why, but when using your project everything worked.

thanks.

i think the only thing you missed in using the UI was changing the network to HOST (have to scroll down on one of the screens in the setup to get to it) AND remove the port 80 mapping if you are using it elsewhere

1 Like

And the nice thing is, the container manager in synology will help notify you when Peter updates the image and help you update it… it only checks once a day so will not show that there are updates until the next day …

note: you are using the TEST image i believe now - so if you dont want to be on the bleeding edge like the rest of us testers then change one line in the script

image: rheos/roon-extension-rheos:test
to
image: rheos/roon-extension-rheos:latest

also, i hope you changed the contain_name value to something other than my testing β€œzroonhrc…” :slight_smile:

yep, I was able to change the project name, container name, and the directories I use.

I like to live large, so also using the test image. I am happy I found this path, vs thinking i’d need a DAC feeding my Marantz just to get Tidal.

thanks again.

2 Likes

Great!!!

Test and latest are the same at present. I’ll let you know if they deviate significantly so you can help me explore.

Thanks for testing. Let me know if you identify needs or issues.

Thank you Patrick… great partnership.