Thanks Marcel
I have created the following script that restarts the service for anyone else that needs it (Ubuntu 16.04).
#!/bin/bash
# NodeJS respawn script, replace path for node with location where you downloaded the code
until node /home/mike/Downloads/roon-extension-api-proxy-master; do
date +"%r"
echo "Server 'nodejs' crashed with exit code $?. Respawning.." >&2
sleep 1
done
exit 0
I had a load of crashes (exit code1) when it was just sitting there and Roon was not playing or active.
Also I see this problem is also here
https://community.roonlabs.com/t/roon-extension-manager-v0-5-1-now-on-github/26632/94
Looks like an API Issue as you say.
On the update, every 5 Mins is that what Roon updating or you are polling every 5Mins?
Otherwise, this works great and I love being able to select a Roon endpoint and a playlist or radio from HASS and it just plays. I’m finally going to look at the G-home connections now.
Cheers
Mike C