Searching MQTT Channels for Things + Items - Shelly Dimmer 2 with Tasmota 9.2.0

Hello,

I searching for the right textconfiguration thing and the item for my new shelly dimmer 2, flashed with tasmota 9.2.0.

For the Switch On/Off, I uses this thing:

Type switch : Relais “Ein- /Ausschalten” [ stateTopic=“SMART/SMART5006/stat/POWER” , commandTopic=“SMART/SMART5006/cmnd/POWER”, on=“1”, off=“0” ]

For the dimmer / brightness I tried different solutions. My last two tries not working:

Type number : Dim “Helligkeit” [ stateTopic=“SMART/SMART5006/stat/RESULT”, transformationPattern=“JSONPATH:$.Dimmer”, commandTopic=“SMART/SMART5006/cmnd/Power” ]

Type number : Dim “Helligkeit” [ stateTopic=“SMART/SMART5006/stat/RESULT”, transformationPattern=“JSONPATH:$.Dimmer”, commandTopic=“SMART/SMART5006/cmnd/Dimmer” ]

The WebGui show’s me this topics:

01:16:07 MQT: SMART/SMART5006/cmnd/POWER =
01:16:07 MQT: SMART/SMART5006/tele/INFO1 = {“Module”:“Shelly Dimmer 2”,“Version”:“9.2.0(tasmota)”,“FallbackTopic”:“cmnd/SMART5006_fb/”,“GroupTopic”:“SMART/tasmotas/cmnd/”}
01:16:07 MQT: SMART/SMART5006/tele/INFO2 = {“WebServerMode”:“Admin”,“Hostname”:“SMART5006”,“IPAddress”:“192.168.188.14”}
01:16:11 MQT: SMART/SMART5006/tele/STATE = {“Time”:“2020-12-20T01:16:11”,“Uptime”:“0T00:00:09”,“UptimeSec”:9,“Heap”:27,“SleepMode”:“Dynamic”,“Sleep”:10,“LoadAvg”:43,“MqttCount”:1,“POWER”:“ON”,“Dimmer”:72,“Fade”:“ON”,“Speed”:2,“LedTable”:“ON”,“Wifi”:{“AP”:1,“SSId”:“FRITZ!Box 7590”,“BSSId”:“DC##########”,“Channel”:11,“RSSI”:90,“Signal”:-55,“LinkCount”:1,“Downtime”:“0T00:00:03”}}
01:16:11 MQT: SMART/SMART5006/tele/SENSOR = {“Time”:“2020-12-20T01:16:11”,“Switch1”:“OFF”,“Switch2”:“OFF”,“ANALOG”:{“Temperature”:36.6},“ENERGY”:{“TotalStartTime”:“2020-12-19T19:24:52”,“Total”:0.059,“Yesterday”:0.047,“Today”:0.013,“Period”:0,“Power”:0},“TempUnit”:“C”}

Can somebody help me please? I find no research for shelly dimmer 2, tasmota, openhab. There are too many same tags in different articles.

Thanks for your helps!

It dosn’t matter what device you are using its TASMOTA doccumentation that you are looking for.

Please use code fences when posting code :slight_smile: three backticks ```

commandTopic="SMART/SMART5006/cmnd/Dimmer"

One of my dimmers

    Thing topic Kitchen_Bench_Light "Bench Light" @ "Kitchen" {
    Channels:
        Type dimmer : dimmer  [ stateTopic ="Kitchen_Bench_Light/stat/DIMMER", transformationPattern ="JSONPATH:$.Dimmer", commandTopic ="Kitchen_Bench_Light/cmnd/Dimmer" ]
      }

Thanks James for your fast reply. You made my night, hahah. Thank you!

I updated my things and now everything works fine!

I will bookmark the Tasmota docs for my future.

Here is my code:

Bridge mqtt:broker:SMART1001_MQTT "SMART1001_MQTT" [host="localhost",port=1883,clientID="SMART1001",username="SMART1001",password="#########",secure=false]
{

Thing topic SMART5006_Living_Christmas_Tree "SMART5006_Living_Christmas_Tree" @ "Living" { 
Channels:
	Type switch :  Relais			"Ein- /Ausschalten"						[ stateTopic="SMART/SMART5006/stat/POWER" , commandTopic="SMART/SMART5006/cmnd/POWER", on="1", off="0" ]
	Type dimmer :  Dim  			"Helligkeit"							[ stateTopic="SMART/SMART5006/stat/DIMMER", transformationPattern="JSONPATH:$.Dimmer", commandTopic="SMART/SMART5006/cmnd/DIMMER"] 
}
}