forked from arendst/Tasmota
-
Notifications
You must be signed in to change notification settings - Fork 1
Domoticz Automatic discovery
RTurala edited this page Nov 29, 2018
·
1 revision
Sonoff supports automatic discovery by Domoticz through the Domoticz MQTT Discovery plugin.
The following services should be made available:
- You have installed/access to a MQTT broker server and made contact with your sonoff
- You have installed Domoticz
- You have installed the Domoticz MQTT Discovery plugin
Configure Domoticz MQTT Discovery plugin.
- On the hardware page add Type
MQTT Discovery
- Give it a name, e.g.
Sonoff
- Configure the interface with access to your MQTT server (
MQTT Server Address
,Port
,Username
andPassword
) - Set the
Discovery topic
tohomeassistant
unless it has been changed in a custom Sonoff-Tasmota build - Set the
Ignored device topic
totasmota/sonoff/
to avoid unconfigured Sonoff-Tasmota devices from being discoved
- Give it a name, e.g.
- Each Sonoff-Tasmota device must have it's own topic, the easiest way is to set topic to
sonoff_%06X
(%06X will be replaced by MAC address). See point 5 here for how to set the topic. - Use MQTT or Serial or Web console and execute commands (replace
<sonoff_MAC>
with the device's unique topic)-
cmnd/<sonoff_MAC>/SetOption19
with payload1
to enable MQTT discovery
-
- The above settings can be defined in user_config_override.h (TBD)
That's it! You will now find your Sonoff in the Domoticz user interface.
- On the Switches page scroll down and find your Switch as configured in step 1
- Toggle the light bulb; Sonoff should respond
Home | Wiki | What's new | Tutorials | FAQ | Troubleshooting | Button usage | Commands | Rules
Home
Theo's Tasmota Tips
What's New
Getting Started
Upload tools
- SonOTA
- OTA over SCP
- Esptool
- Arduino IDE
- PlatformIO
- PlatformIO CLI
- Visual Studio Code
- Python HTTP OTA server
- Node Red OTA server and firmware manager
Usage
- Button Functionality
- MQTT Features
- Supported Commands
- Using Rules
- Sensor Configuration
- PowerOnState Configuration
- SwitchMode/SwitchTopic
- Button Multipress
- Energy Saving
- KNX Features
- Misc. Tips
Devices - Additional Info
- Sonoff Basic
- Sonoff SV
- Sonoff S20 Smart Socket
- Sonoff S26 Smart Socket
- Sonoff Dual / Dual R2
- Sonoff 4CH / 4CH Pro
- Sonoff RF and Slampher
- Sonoff RF Bridge 433
- Sonoff Pow / Pow R2
- Sonoff Touch
- Sonoff T1
- Sonoff B1 / B1 R2
- Sonoff iFan02
- Sonoff SC
- Sonoff PSA
- Sonoff S31
- Shelly 1 and 2
- Wemos D1 R1 & R2
- Wemos D1 Mini
- HuaFan Smart Socket
- Hyleton-313 Smart Plug
- MagicHome LED controller
- H801
- Arilux LC02
- SP108E LED controller
- Blitzwolf SHP2
- Tuya Dimmer
- PS-16-DZ Dimmer
- Armtronix Dimmers
- Other Devices
- retired
Home Automation Integration
- OpenHAB
- Home Assistant
- Domoticz - Manual configuaration
- Domoticz - Automatic discovery
- HomeBridge
- HomeSeer
- SmartThings
- IP-Symcon
- IOBroker
- TasmoAdmin
- Alexa
- Yeti
- NodeRed Examples
- Securing your Setup
Other Integrations
Further Topics
- MQTT Overview
- Remote Button
- Modified Kaku
- PZEM004T Energy Monitor
- IR Extension
- S20 sensor
- Wiring additional things to a module
- Sonoff Basic DHT11 Wiring
- Expand Sonoff 4CH with jack plug
- Defining new module types
- GPIO Locations
- JSON Status Responses
- Expand Sonoff Basic to 4MB Flash
- Time Proportioned Output support
- PID Control with Sonoff Devices
- Sensor-API
- Sensors Supported by Tasmota
- Syslog Setup
ESP32
Misc