Moodifier Daemon
A lighting control server for Raspberry Pi and Mac OS X

Moodifier Daemon is a powerful lighting control server developed by Barsark.

Moodifier Daemon lets you schedule, automate and control your entire Moodifier, Philips hue and other hue compatible ZigBee LED lights from any web browser on any device.

It basically gives you all the lighting control and IP-alarm features of the Moodifier desktop application for Mac and Windows, on a Raspberry Pi, without the need of having a Mac or Windows computer running 24/7.

Main feautures
• Moodifier lighting control.
• Philips hue lighting control.
• ZigBee lighting control, via hue bridge.
• Unlimited number of light scenes.
• Organisation of light scenes in zones.
• Timed light scene playlists through light scenarios.
• Full light scheduling by time of day, day of week, weekends, weekdays, sunrise and sunset.
• Full configuration of Moodifier wall switches.
• Full Moodifier status reporting.
• IP-alarm functionality with intrusion alert, email (& sms) notifications, IP-camera image capture, monitoring and video recording.
• HTTPS encrypted access security.
• Import and export of light settings

Download the Moodifier Daemon Documentation.


Would you like to see MoodifierDaemon for Linux and/or Windows?
- Let us know, we need testers.

Raspberry Pi installation instructions
How to Install Moodifier Daemon on your Raspberry Pi 2 or 3

1) Download the zipped InstallMoodifierDaemonRPi.sh.zip shell script to your home folder on the Raspberry Pi in Terminal using the following command (all on one line):
curl -o ~/InstallMoodifierDaemonRPi.sh.zip https://www.barsark.com/InstallMoodifierDaemonRPi.sh.zip

2) Unzip it with Terminal using the following command:
unzip -o ~/InstallMoodifierDaemonRPi.sh.zip -d ~/

3) Run the InstallMoodifierDaemonRPi.sh shell script in Terminal on your Pi using the following command:
~/InstallMoodifierDaemonRPi.sh

-Follow the instructions and MoodifierDaemon should then be running on port 80 on your Pi.

4) Use a web browser to access the Moodifier Daemon on your Pi, browse to the ip address of your Pi or visit http://home.moodifier.net and you should be automatically redirected to your Pi.

5) Once MoodifierDaemon is running on your Pi you can easily enable secure and encrypted HTTPS access on port 433 with a self signed cert by simply clicking a button in the admin web interface of the application.

For further info and installation options please read the documentation in the InstallMoodifierDaemonRPi.sh shell script.

Mac OS X installation instructions
How to Install Moodifier Daemon on your Mac

1) Download the Moodifier Daemon application for Mac OS X.

2) Move the MoodifierDaemon folder to where you would like to run it from.
The MoodifierDaemon application and supporting files are located in the MoodifierDaemon folder.

3) Open Terminal and execute the MoodifierDaemon application to run on port 8080 like this:
/path/to/your/MoodifierDaemonFolder/MoodifierDaemon --port=8080

4) MoodifierDaemon should now be running on port 8080 on your Mac.
Use a web browser to access the Moodifier Daemon on your Mac, browse to port 8080 on the ip address of your Mac (for example "http://127.0.0.1:8080/") or visit http://home.moodifier.net and you should be auto redirected to your Mac.

5) Once MoodifierDaemon is running on your Pi you can enable HTTPS by generating a self signed cert from the web interface of the application. Once you have generated the self signed cert you can activate HTTPS on port 8433 in Terminal like this:
/path/to/your/MoodifierDaemonFolder/MoodifierDaemon --port=8080 --SecurePort=8433 --certificate=/full/path/to/your/MoodifierDaemon.crt

Running Moodifier Daemon on ports below 1024 requires root privileges.

If you like to run the MoodifierDaemon on port 80 or 433 you need to start it from terminal as root like this:
sudo /path/to/your/MoodifierDaemonFolder/MoodifierDaemon --port=80 --SecurePort=433 --certificate=/full/path/to/your/MoodifierDaemon.crt