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.
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.
- Wemos D1 mini
- KY-040 Rotary Encoder + Cap Part 1 + Cap Part 2
- WS2812 Ring
- Breadboard & Wires
- Case
- Cable gland + Locknut
- 250mA Fuse
Currently the MQTT server IP and Wifi credentials are hard-coded in default_config.h
.
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
}
}
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>
Ideas:
This project follows Oliver "owagner" Wagner's architectural proposal for an mqtt-smarthome.