Skip to content

Instantly share code, notes, and snippets.

@robbi5
Last active Aug 12, 2017
Embed
What would you like to do?
matelight with raspberry pi / fadecandy
[Unit]
Description=fadecandy
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/local/bin/fcserver-rpi /etc/fadecandy.json
[Install]
WantedBy=multi-user.target
  • Install the latest Raspbian Jessie Lite on a sd card and put it in your raspberry pi.

  • run sudo raspi-config and change the hostname to matelight. reboot.

  • checkout the latest fadecandy release, move the fcserver-rpi to /usr/local/bin and copy the networked configuration example to /etc

    git clone https://github.com/scanlime/fadecandy
    cd fadecandy
    sudo mv bin/fcserver-rpi /usr/local/bin
    sudo cp examples/config/networked.json /etc/fadecandy.json
    
  • Add a systemd service file for fadecandy (source see below): sudo nano /etc/systemd/system/fadecandy.service

  • Enable fadecandy for startup on boot: sudo systemctl enable fadecandy

  • Start it now: sudo systemctl start fadecandy

  • (You can get the current status with sudo systemctl status fadecandy)

  • Now access http://matelight.local:7890 in your browser and look if your fadecandy appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment