Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Tasmota Smart Plug Controller
By: David Bowdler
Updated: April 12, 2026
Version: 1.12
Tasmota Smart Plug Control Driver
Local IP control of up to 25 Tasmota-flashed smart plugs via HTTP API. Works with Athom Plug V2 and any Tasmota-compatible device. Includes real-time power monitoring, energy tracking and configurable device naming. No cloud required — all communication stays on your local network.
Key Features
- Up to 25 Plugs: Individual control with custom naming per plug
- Power Control: On, Off, Toggle per plug or all plugs at once
- Power Monitoring: Real-time watts, voltage and current readings
- Energy Tracking: Today's usage and total energy consumption (kWh)
- Real-Time Feedback: Power state, online status, and energy data with events
- Group Control: All On, All Off, All Toggle, Refresh All
- Configurable Polling: Separate intervals for power state (1–60s) and energy data (10–300s)
- Smart Polling: Staggered requests prevent network congestion; aggressive backoff for offline plugs
- Local Only: HTTP API — no cloud, no internet dependency
Use Cases
- Equipment power switching and scheduling
- Energy monitoring and usage tracking
- Lamp and appliance control
- Server and AV rack power management
- Christmas lights and seasonal displays
Compatible Hardware
- Athom Plug V2 (pre-flashed with Tasmota)
- Any Tasmota-compatible smart plug with energy monitoring
- RTI XP-8 processor (runtime 24+)
How It Works
The driver communicates with each plug via Tasmota's built-in HTTP API on your local network. Plugs require static IP addresses. Power state and energy data are polled at independent configurable intervals with staggered requests to prevent network congestion.
Tasmota Smart Plug Controller
Version 1.12
by Smart Home Programming and Automation
Overview
This driver controls up to 10 Athom Tasmota Smart Plugs via HTTP API. Each plug can be individually configured with its own IP address, name, and optional password.
Supported Devices
- Athom Plug V2 with Tasmota firmware
- Any Tasmota-compatible smart plug
- Tasmota firmware version 15.2.0 or later recommended
Requirements
- Plugs must be on the same network as the RTI XP processor
- Each plug requires a static IP address
- Port 80 must be accessible
Configuration
Connection Settings:
- Polling Interval: How often to check power state (1-60 seconds, default 5)
- Energy Polling Interval: How often to check energy data (10-300 seconds, default 30)
- Connection Timeout: HTTP timeout in seconds (1-30, default 5)
Per-Plug Settings (1-10):
- Enabled: Enable/disable this plug
- IP Address: The plug's static IP address
- Name: Friendly name for the plug
- Password: Web password if configured (leave blank if none)
System Variables
For each enabled plug (replace X with plug number 1-10):
- PlugX_Online: Boolean - connection status
- PlugX_PowerState: Boolean - true=ON, false=OFF
- PlugX_PowerStateText: String - "ON" or "OFF"
- PlugX_Name: String - friendly name
- PlugX_Watts: Integer - current power draw in watts
- PlugX_Voltage: Integer - current voltage
- PlugX_Current: String - current in amps
- PlugX_TodayEnergy: String - energy used today (kWh)
- PlugX_TotalEnergy: String - total energy usage (kWh)
System Functions
Individual Plug Control:
- Plug_On(PlugNumber): Turn specified plug ON
- Plug_Off(PlugNumber): Turn specified plug OFF
- Plug_Toggle(PlugNumber): Toggle specified plug
- Plug_GetStatus(PlugNumber): Query power state
- Plug_GetEnergy(PlugNumber): Query energy data
- Plug_Restart(PlugNumber): Restart the plug device
Direct Plug Control (for each enabled plug):
- PlugX_On: Turn Plug X ON
- PlugX_Off: Turn Plug X OFF
- PlugX_Toggle: Toggle Plug X
Group Control:
- All_Plugs_On: Turn all enabled plugs ON
- All_Plugs_Off: Turn all enabled plugs OFF
- All_Plugs_Toggle: Toggle all enabled plugs
- Refresh_All_Status: Refresh status of all plugs
- Refresh_All_Energy: Refresh energy data for all plugs
System Events
Connection Events:
- Plug_Connected(PlugNumber): A plug came online
- Plug_Disconnected(PlugNumber): A plug went offline
- PlugX_Connected: Specific plug came online
- PlugX_Disconnected: Specific plug went offline
Power State Events:
- Plug_TurnedOn(PlugNumber): A plug turned ON
- Plug_TurnedOff(PlugNumber): A plug turned OFF
- Plug_StateChanged(PlugNumber, NewState): Power state changed
- PlugX_TurnedOn: Specific plug turned ON
- PlugX_TurnedOff: Specific plug turned OFF
Plug Setup Instructions
1. Configure each Tasmota plug with a static IP address
2. Note the IP addresses for configuration
3. If using passwords, set them in Tasmota web interface
4. Test connectivity by browsing to:
http://<IP>/cm?cmnd=Power
Troubleshooting
Plug shows offline:
- Verify IP address is correct
- Check plug is powered and connected to WiFi
- Ensure XP processor can reach the plug's network
- Try accessing plug's web interface directly
Commands not working:
- Check if password is required and configured
- Verify Tasmota firmware is up to date
- Check TraceViewer for error messages
Energy data not updating:
- Not all Tasmota plugs support power monitoring
- Check if plug has energy monitoring hardware
Licensing
This driver is sold through the Smart Home Programming Driver Store.
Driver Store: https://shpdrivers.services/store/
Your Account: https://shpdrivers.services/store/account.html
Free Trial:
The driver operates in a 2-hour trial mode without a licence key. The trial provides full functionality and resets each time the RTI processor is rebooted.
To Purchase:
1. Create an account at https://shpdrivers.services/store/
2. Add this driver to your cart
3. Enter your RTI processor MAC address during checkout
4. Complete payment and receive your licence key by email
5. Enter the licence key in the driver configuration
Support
For bug reports, technical support, or feature requests, please use the ticket system in your account at the Driver Store.
Store: https://shpdrivers.services/store/
Email: david@smarthomeprogramming.com.au
Copyright 2026 Smart Home Programming. All rights reserved.
This driver requires a licence key tied to your RTI processor's MAC address.
- Trial: 2-hour fully functional trial (resets on reboot)
- Purchase: Visit smarthomeprogramming.com.au/store to buy a licence
- Licence is per-processor — one key per XP-8