PHPackages                             a15lam/wemo-plex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. a15lam/wemo-plex

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

a15lam/wemo-plex
================

Control Wemo devices by Plex Media Server activity

0.3(9y ago)01Apache-2.0PHP &gt;=5.5

Since Jun 26Compare

[ Source](https://github.com/a15lam/wemo-plex)[ Packagist](https://packagist.org/packages/a15lam/wemo-plex)[ Docs](https://a15lam.github.io/wemo-plex/)[ RSS](/packages/a15lam-wemo-plex/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

\[ DEPRECATED \] wemo-plex (Deprecated in favor of a15lam/jarvis)
=================================================================

[](#-deprecated--wemo-plex-deprecated-in-favor-of-a15lamjarvis)

This is a PHP daemon service that automatically turns off your light (Wemo device) when you play something from your Plex Media Server, then turns on your light when media is paused or stopped.

Installation
------------

[](#installation)

You need to have composer installed for installing and running this software. See .

### Linux

[](#linux)

```
cd /opt
git clone https://github.com/a15lam/wemo-plex.git
cd wemo-plex
composer install

```

Configuration
-------------

[](#configuration)

Edit the `config.php` file as needed. See the file for details. In the config you can easily map your Wemo devices to a Player/Client/TV that plays from your Plex Media Server. For example:

```
'device_mapping' => [
    [
        'player' => 'TV UN46C8000_USA',     // Plex device title as it shows on Plex device page.
        'wemo'   => 'media room'            // Wemo device name as it shows on your Wemo mobile app.
    ],
    [
        'player' => 'TV UN55F6300',         // Example: Supports multiple player-device mapping.
        'wemo'   => 'living room'
    ],
    [
        'player' => 'Plex Web (Chrome)',
        'wemo'   => ['light 1', 'light 2']  // Example: Supports multiple Wemo devices for a Plex player.
    ]
 ]

```

Run
---

[](#run)

This is a daemon service, therefore, it needs to run continuously. You can do a quick test by running in your linux shell using - `php daemon.php` from within your installation directory. This will hold up your shell while the program is running. Press `ctrl + c` to stop it. You can also run this in the background using - `php daemon.php &`. Press `ctrl + z` to stop background process.

The best way to run this is to run it as system service. You can do this easily on a Ubuntu/Debian based system. Just copy `wemo-plex.conf` to `/etc/init/` directory.

```
sudo cp wemo-plex.conf /etc/init/wemo-plex.conf

```

Then edit `wemo-plex.conf` to make that the path on line 16 is correct.

```
sudo vim /etc/init/wemo-plex.conf

```

After this you can start and stop the service like below.

```
sudo service wemo-plex start
sudo service wemo-plex stop

// To check service status
sudo service wemo-plex status

// To restart service
sudo service wemo-plex restart

```

Your service will also start automatically when your system boots up. Once the service is running, play any media from your Plex Media Server and watch your lights turn off and on as you play, pause and stop.

Logging
-------

[](#logging)

By default everything is logged at /path/to/your/install/storage/logs/main.log. You can change the log path from `config.php`. You can also change the log level from the config page. Default log level is `INFO`. Set this to `DEBUG` for better visibility and troubleshooting.

Note: Leaving log level to `DEBUG` is not recommended. This will quickly make your log file huge.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Total

3

Last Release

3513d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/582895?v=4)[Arif Islam](/maintainers/a15lam)[@a15lam](https://github.com/a15lam)

---

Top Contributors

[![df-arif](https://avatars.githubusercontent.com/u/10451617?v=4)](https://github.com/df-arif "df-arif (30 commits)")[![a15lam](https://avatars.githubusercontent.com/u/582895?v=4)](https://github.com/a15lam "a15lam (5 commits)")

---

Tags

plexWemowemo-plexDLNAHome Theater

### Embed Badge

![Health badge](/badges/a15lam-wemo-plex/health.svg)

```
[![Health](https://phpackages.com/badges/a15lam-wemo-plex/health.svg)](https://phpackages.com/packages/a15lam-wemo-plex)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
