Read the statement by Michael Teeuw here.
[MMM-SpotifyConnectUI] Error: connect ECONNREFUSED 127.0.0.1:4000
- 
 What did you do? Did you read my documentation? 
- 
 Yes I followed the instructions from your module. I first installed Spotify Connect Web, then I installed the module and changed my config.js folder. 
 However, when installing Spotify Connect web, I did get a permission issue when I was supposed to insertchmod a+x /etc/systemd/system/spotifyconnect.serviceI got this ~ $ chmod a+x /etc/systemd/system/spotifyconnect.service chmod: changing permissions of ‘/etc/systemd/system/spotifyconnect.service’: Operation not permittedI insterted a sudocommand to continue the installations steps. Is this causing my issue?
- 
 No sudois required. Hmmm, did I forget that in my documentation… :-)
- 
 @Cato So, despite that I get Operation not permittedI should continue to the next step? :)
- 
 You say you get permission errors even when using sudo?
- 
 @Cato No, after inserting sudoinfront ofchmod a+x /etc/systemd/system/spotifyconnect.serviceI did not get any permissions errors.
 When I continued I did not encounter any other errors before I tried to launch MM and got
 [MMM-SpotifyConnectUI] Notification received: CONFIG
 [MMM-SpotifyConnectUI] Error: connect ECONNREFUSED 127.0.0.1:4000
- 
 What happen if you open http://127.0.0.1:4000 in a browser on the RPi – or change the IP to the IP of the RPi and open in a browser on your own machine? 
- 
 @Cato Unfortunately even though my raspberry is assigned to a static ip I get “this site can’t be reached” on both alternatives. 
 127.0.0.1 does show up when I runifconfiglo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
- 
 Try to start it manually: cd /home/pi/spotify-connect-web ./spotify-connect-web -n MAGICMIRROR -o plughw:CARD=ALSA,DEV=1NB! plughw might not work for you… 
- 
 @Cato tried that and got this error ./spotify-connect-web -n MAGICMIRROR -o plughw:CARD=ALSA,DEV=1 Loading Spotify library... min_volume_range: 0.0 Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4 SpInit: 2 SpInit failed, exiting

