Running fcserver from mac


#1

Just a little solution to an issue that I was having that someone may benefit from…

I had SmartMatrix running fine from Raspberry Pi but not mac - kept getting an error message as follows:

USB device SmartMatrix (Serial# ###########, Version 1.07) has no matching configuration. Not using it.

The problem was that fadecandy was set up with the default config and could not recognise the ‘smartmatrix’ device. The solution below:

• Create a new file called fcserver.json in the same directory as fcserver-osx
• Paste the following and hit save:

{
    "listen": [ "127.0.0.1", 7890 ],
    "verbose": true,
    "color": { "gamma": 2.5, "whitepoint": [ 1, 1, 1 ] },
    "devices": [
        {
            "type": "smartmatrix",
            "map": [ [ 0, 0, 0, 1024 ] ]
        }
    ]
}

• Instead of just double-clicking fcserver-osx to run, open the bin folder in Terminal
• Run this command to open fcserver with the config file:

./fcserver-osx fcserver.json

• Bob’s your uncle.


#2

Thanks for the tip! Another way is to run fcserver-osx with one of the example configs, e.g.

./fcserver-osx ../examples/config/smartmatrix32x32.json