Skip to content

WiFi-enabled replacement for the 'Teufel CC 21 RC' Remote

Notifications You must be signed in to change notification settings

dersimn/DevilRemote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photo

After reverse engineering the Teufel CC 21 RC, I was able to build a replacement for the original remote using an ESP8266 with Arduino IDE.

Video

YouTube

Build

Photo

I'm not responsible for damages to your sound box. When draining power from the +5V power line, always use a fuse or any kind of over-current protection. When building an externally powered device, consoder using opto-isolators for data lines.

Used parts

Settings

Currently the MQTT server IP and Wifi credentials are hard-coded in default_config.h.

Topics

dersimn/DevilRemote/291928/status/hifi → {
      "val": 0.1,
      "bass": 0
    }

dersimn/DevilRemote/291928/status/light → {
      "val": 1.0,
      "hue": 0.6
    }

dersimn/DevilRemote/1234567/online → true

dersimn/DevilRemote/1234567/maintenance/uptime → {
      "val": 83000243,
      "millis": 83000243,
      "rollover": 0
    }

dersimn/DevilRemote/1234567/maintenance/temperature → 26.00

dersimn/DevilRemote/1234567/maintenance/info → {
      "board": {
        "board-id": "DevilRemote_1234567",
        "ip-address": "10.1.1.120",
        "wifi-ssid": "HMA-AP"
      },
      "build": {
        "git-hash": "50a98137849298def9871663b258808c055cc17f",
        "git-tag": "v1.1.0",
        "build-timestamp": 1608134219
      }
    }

Flash

Install using PlatformIO CLI.
Clone this repository, cd into it.
If you're not using a Wemos D1 Mini, edit platformio.ini first.

Run:

pplatformio run

In case you have multiple USB-Serial adapters, or your adapter offers multiple ports:

platformio device list
platformio run --upload-port /dev/cu.usbserial-00202102A 

For WiFi OTA upload:

platformio device list --mdns
platformio run -t upload --upload-port <DevilRemote_1234567.local or IP address>

Development

Ideas:

  • Replace FastLED with WS2812FX and make use of segments
  • Make a class from VolumeSync.ino

Credits

This project follows Oliver "owagner" Wagner's architectural proposal for an mqtt-smarthome.