High-Performance Bridge Between LedFX and iDotMatrix LED Display
Transform your iDotMatrix display into a blazing-fast LED visualizer with intelligent compression and optimization!
IDMxLedFX is a high-performance gateway that connects LedFX to the iDotMatrix 32x32 LED display, enabling real-time audio-reactive visualizations with optimized frame rates and intelligent compression.
- โก Blazing Fast: 20-30 FPS with intelligent PNG compression
- ๐ง Smart Optimization: Automatic compression based on frame content
- ๐ Frame Skip: Skips identical frames for maximum efficiency
- ๐ Real-time Stats: Live FPS monitoring and compression analytics
- ๐จ Full Color: 32x32 RGB matrix with 16.7M colors
- ๐ Plug & Play: Direct UDP connection to LedFX
iDotMatrix 32x32 Programmable LED Display
Perfect for:
- Audio visualizations
- Ambient lighting
- Creative animations
- Real-time effects
- maaaany more
- Python 3.7+
- LedFX installed and running
- iDotMatrix display paired via Bluetooth
pip install -r req.txtnumpy==2.3.2
pillow==11.3.0
simplepyble==0.10.3
- Install and configure LedFX
- Add a WLED device pointing to your pc running code for example is LedFX and this is on this same machine
127.0.0.1:21324 - Configure 32x32 LED matrix (1024 pixels)
Edit core_ultra_simple.py:
TARGET_MAC = "38:20:09:4D:FC:D4" # Replace with your display's MACpython3 core_ultra_simple.py- Play music in LedFX
- Watch real-time visualizations on your iDotMatrix display
- Monitor FPS in console logs
INFO:__main__:Simple LedFX receiver initialized on port 21324
INFO:__main__:Using Bluetooth adapter: hci0
INFO:__main__:Connecting to IDM-32x32 [38:20:09:4D:FC:D4]
INFO:__main__:Connection established! Starting Simple LedFX receiver...
INFO:__main__:FPS: 25.8
INFO:__main__:FPS: 27.1
INFO:__main__:FPS: 24.3
โโโโโโโโโโโ UDP โโโโโโโโโโโโโโโ BLE โโโโโโโโโโโโโโโ
โ LedFX โ โโโโโโโโ โ IDMxLedFX โ โโโโโโโโโโโ โ iDotMatrix โ
โ โ Port โ โ Optimized โ Display โ
โ โ 21324 โ โข Compress โ PNG Data โ 32x32 โ
โโโโโโโโโโโ โ โข Optimize โ โโโโโโโโโโโโโโโ
โ โข Monitor โ
โโโโโโโโโโโโโโโ
UPDATE_INTERVAL = 0.04 # 25 FPS
UPDATE_INTERVAL = 0.033 # 30 FPS (default)
UPDATE_INTERVAL = 0.02 # 50 FPS (experimental)# Auto-select first adapter
adapter = adapters[0]
# Manual selection
# adapter = adapters[1] # Use second adapter# Check Bluetooth
bluetoothctl scan on
bluetoothctl devices
# Check UDP port
netstat -an | grep 21324- Dark scenes: Should achieve 25-30 FPS
- Colorful scenes: Expect 15-25 FPS
- Below 10 FPS: Check BLE connection strength
- Verify MAC address in code
- Ensure iDotMatrix is powered and paired
- Check LedFX WLED device configuration
- Restart LedFX and IDMxLedFX
IDMxLedFX/
โโโ core_ultra_simple.py # Main application (recommended)
โโโ idm_display.py # Display communication module
โโโ main.py # Display wrapper utilities
โโโ req.txt # Python dependencies
โโโ README.md # This file
- Position matters: Keep display close to Bluetooth adapter
- Dark themes: Use darker color schemes for higher FPS
- USB extension: Use USB extension cable for better BLE range
- Power cycle: Restart display if connection becomes unstable
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
Areas for improvement:
- Additional LED matrix sizes
- More compression algorithms
- WiFi connectivity option
- Audio-reactive effects
This project is licensed under the MIT License - see the LICENSE file for details.
iDotMatrix Community - Inspiration from all the amazing projects:
- Search results for "idotmatrix" repositories
- Every developer who contributed to iDotMatrix reverse engineering
- Open source community for making this possible
Artificial Intelligence - For helping optimize and debug this project
"AI made the impossible possible, and the complex simple."
LedFX Team - For creating the amazing LED visualization software
"Last but not least, I wanna thank me I wanna thank me for believing in me I wanna thank me for doing all this hard work"
โ Snoop Dogg
If this project helped you create amazing LED visualizations, please:
โญ Star this repository
๐ Report issues
๐ข Share with the community
๐ค Contribute improvements
Made with โค๏ธ for the LED universums
Happy visualizing! ๐จ๐ซ