Skip to content

chaptergy/homeassistant-tasmota-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tasmota Switch

Donate on Liberapay Donate on Buy Me A Coffee

Component to integrate with Tasmota switches.

This component will set up the following platforms:

Platform Description
switch Switch the device on or off.

Installation

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called tasmota_switch.
  4. Download all the files from the custom_components/tasmota_switch/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant
  7. Choose:
    • In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Tasmota Switch"
    • Add tasmota_switch: to your HA configuration.

Example configuration.yaml

tasmota_switch:
  - url: 192.168.1.20
    name: My Tasmota Plug
  - url: 192.168.1.21
  - url: 192.168.1.22
    username: admin
    password: mysupersecretpassword

Configuration options

Key Type Required Description
url string True The IP-address or domain of the Tasmota device.
name string False A display name for the device. If not set, the friendly name set in Tasmota will be used.
username string False If a webUI password is set, authentication is required. The username is usually admin.
password string False If a webUI password is set, authentication is required.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

About

๐Ÿ”Œ Control Tasmota Switches / Plugs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published