Hello all
Sorry, but my lack of knowledge has gotten the better of me.
I have a Tasmota device (generic (18)) that has several temp probes and water level switches attached.
My problem is with the water switches.
The switches are connected D5 GPIO14 and D6 GPIO12. Switch1 and switch2 respectively.
I'm using MQTT to talk to Domoticz.
In Domoticz both switches are seen as a single switch, so no matter which switch is triggered Dom changes state on a single device.
I'm wanting to know how to split them so that Dom sees them as 2 separate devices.
I have no need to and cannot change the device state from Dom.
About Domoticz
Version: 2024.5
Build Hash: a0887b5e9
Compile Date: 2024-07-07 18:31:16
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
On Debian 11
Regards
Fred
Tazmota buttons/switches over MQTT
Moderators: leecollings, remb0
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tazmota buttons/switches over MQTT
What kind of integration with Domoticz do you use?
How do the Tazmota MQTT topics for these 2 devices look like?
How do the Tazmota MQTT topics for these 2 devices look like?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 22
- Joined: Monday 08 June 2020 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Tazmota buttons/switches over MQTT
On Dom I'm using the Autodiscovery of Tasmota Devices plugin.What kind of integration with Domoticz do you use?
Prefix1 (cmnd): cmnd
Prefix2 (stat): stat
Prefix3 (tele): tele
Subscriptions: %prefix%/%topic%|%topic%/%prefix%
On the Tazmota device.How do the Tazmota MQTT topics for these 2 devices look like?
Topic = Hydro
Full Topic (%prefix%/%topic%/)
Here is the payload being sent to the MQTT server
Regards08:22:19.565 MQT: tele/Hydro/SENSOR = {"Time":"2024-07-08T08:22:19","Switch1":"OFF","Switch2":"OFF","DS18B20-1":{"Id":"3C01D075797F","Temperature":13.938},"DS18B20-2":{"Id":"3C01D075D7AD","Temperature":15.438},"TempUnit":"C"}
Fred
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Tazmota buttons/switches over MQTT
Please ask this in the github repository of the Tasmota plugin you are using as the solution is probably there.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest