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.
To view available events:
- Go to Developer Tools in Home Assistant
- Select the "Events" tab
- Enter
esphome.tx_ultimate_easyin the "Event to subscribe to" field - Click "Start listening"
- Interact with your device to see events in real-time
Example event trigger in automation (YAML):
triggers:
- platform: event
event_type: esphome.tx_ultimate_easy
event_data:
device_name: your_device_name
component: bs_button_1
event: click
actions:
- action: light.toggle
target:
entity_id: light.living_room
# Additional common event types:
# event: double_click
# event: long_press
# event: swipe_left
# event: swipe_right
You can also create event-based automations through the Home Assistant UI by selecting "Event" as the trigger type and filtering by your device.
Device Configuration
- Relay Modes:
- "Light": Appears as a light entity with brightness controls (if supported)
- "Switch": Appears as a simple on/off switch entity
- Button Actions:
- "None": Example: Use button events to trigger scenes or complex automations
- "Relay Toggle": Example: Press to turn on, press again to turn off, regardless of Home Assistant state
- Automation Flexibility: All automations can be managed through Home Assistant 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. The Issues page can be found at: 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.
