Restore light state on boot
TX Ultimate Easy
Integration with Home Assistant
TX Ultimate Easy exposes your device's components (sensors, touch panel, relays, etc.) to Home Assistant, allowing you to:
- Monitor sensor states and values
- Control device components through the Home Assistant UI
- Use device triggers and states in your Home Assistant automations and scripts
- Configure device behavior through Home Assistant's service calls
All automation capabilities are handled through Home Assistant's native automation system - this project focuses on providing reliable device integration rather than implementing its own automation tools.
Event-Based Automation
TX Ultimate Easy uses Home Assistant's native Events system for reliable automation triggers. While sensors show the current state (e.g., button pressed/not pressed), events capture-specific actions like clicks, swipes, and long presses.
For more details, please refer to our Events docs.
Device Configuration
Relay Modes
- Light Mode: Exposes the relay as a light entity with brightness controls (if supported)
- Switch Mode: Exposes the relay as a simple on/off switch entity
Button Actions
- None: Allows using button events for custom automations Example: Trigger scenes or complex automations through Home Assistant
- Relay Toggle: Direct control of the associated relay Example: Toggle relay state with each press, independent of Home Assistant
Automation
All device behaviors can be customized through Home Assistant automations without relying on local device triggers.
Key Features
- Home Assistant UI Configuration: Manage all device settings directly through the Home Assistant interface
- Zero YAML Knowledge Required: After initial setup, no manual YAML editing needed
- Flexible Light Control: Customize LED behavior and effects
- Touch Panel Support: Full support for touch gestures and multi-touch capabilities
- Advanced Automations: Create complex automations using Home Assistant's powerful automation engine
- BLE Proxy Support: Optional Bluetooth Low Energy proxy functionality
- Audio Feedback: Built-in speaker support for audible feedback
- Haptic Feedback: Vibration motor support for tactile feedback
Hardware Support
- Compatible with all Sonoff TX Ultimate variants:
- EU format (Square, T5-xC-86)
- US format (Rectangle, T5-xC-120)
- 1/2/3/4 gang versions
Prerequisites
Before getting started, ensure you have:
- A Sonoff TX Ultimate device
- Home Assistant installation
- ESPHome add-on installed in Home Assistant
- Basic knowledge of Home Assistant
Installation
Detailed installation instructions coming soon. The process will include:
- Initial ESPHome setup
- Device flashing
- Home Assistant integration
- Basic configuration
Usage
After installation, you can:
- Configure your device through Home Assistant UI
- Customize touch behaviors
- Set up LED patterns and effects
- Create automations
- Enable optional features like BLE proxy
Configuration Options
TX Ultimate Easy offers extensive configuration options:
- Touch panel sensitivity and gestures
- LED colors, patterns, and behaviors
- Relay modes and functions
- Audio and haptic feedback settings
- Network and connectivity options
Contributing
We welcome contributions from the community! Here's how you can help:
- Fork the repository
- Create a feature branch from
main - Make your changes
- Submit a pull request targeting the
mainbranch
Please ensure your code follows our standards:
- Passes all lint checks (YAML, C++, Markdown)
- Includes appropriate documentation
- Follows existing code style
Support and Community
Need help? Here are your options:
- Bug Reports & Feature Requests: Use GitHub Issues for all bug reports and feature requests
- Community Chat: Join our Discord Server for discussions and community interaction
- Support the Project: Consider supporting through Buy Me a Coffee
Note: For proper tracking and resolution:
- All bug reports and feature requests must be submitted through GitHub Issues, not Discord
- Submit issues here: Issues · edwardtfn/TX-Ultimate-Easy
Acknowledgments
This project builds upon the work of several amazing projects and contributors:
- SmartHome yourself - SONOFF TX Ultimate for ESPHome
- Un loco y su tecnología - Sonoff TX Ultimate with ESPHome
Special thanks to all contributors and community members who help make this project better.
License
This project is licensed under the MIT License - see the LICENSE file for details.
