I am a very happy user of Volumio and the Volumio Spotify Connect2 plugin.
However, every now and then Volumio does not appear in Spotify as a device I can play my music on.
A very simple workaround I found to this issue is to head to the Plugins section in Volumio UI and toggle off and back on the Volumio Spotify Connect2 plugin, Volumio immediately reappears in the list of devices in Spotify.
This is simple to do but unfortunately cumbersome enough so that my wife will not bother and then ditch Volumio for Spotify playlist streaming usage.
I thought of making this automatic using Home Assistant (already setup at home), which would enable me to quickly disable/re-enable the plugin every hour or so, making sure that the plugin is not currently in use using automation conditions.
Unfortunately, I went through both the REST API and CLI functions and I cannot find anything related to enabling/disabling plugins remotely. Did I miss something?
Alternatively, could this be done using curl and a specific html link?