Dimmer - welche Channel für Switch und Dimmwert?

Moderator: seppy

Antworten
Dino89
Beiträge: 1
Registriert: 5. Jan 2022 19:09

Dimmer - welche Channel für Switch und Dimmwert?

Beitrag von Dino89 »

Hallo zusammen,

ich würde gern einen Homematic Dimmaktor nutzen. Diesen habe ich als Thing angelegt und dann im VisualStudioCode mir auf dem Thing die Channels erstellen lassen.

ABER mit welchen Channel kann ich dann nun ein einfaches AN/Aus abbilden und mit welchen Channel dimmen? Ich habe mehrere ausprobiert von Typ Switch aber alles ohne Erfolg. Über Hilfe wäre ich sehr dankbar! :)

Auch in der UI bekomme ich nirgends ein on/off Button auf einem ITEM des Dimmers.... sehr komisch

Folgende Channels bekomme ich von dem Dimmer:

Code: Alles auswählen

String                     SpotsWohnen0OPERATINGVOLTAGESTATUS          "Operating voltage status"            {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#OPERATING_VOLTAGE_STATUS"}
Switch                     SpotsWohnen0ERRORUPDATE                     "Error update"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ERROR_UPDATE"}
Number                     SpotsWohnen0RSSIDEVICE                      "Rssi device"                         {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#RSSI_DEVICE"}
Switch                     SpotsWohnen0ERROROVERHEAT                   "Error overheat"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ERROR_OVERHEAT"}
Number:Temperature         SpotsWohnen0ACTUALTEMPERATURE               "Actual temperature"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ACTUAL_TEMPERATURE"}
Switch                     SpotsWohnen0CONFIGPENDING                   "Config pending"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#CONFIG_PENDING"}
String                     SpotsWohnen0DELETEDEVICEMODE                "Delete device mode"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#DELETE_DEVICE_MODE"}
Switch                     SpotsWohnen0DUTYCYCLE                       "Duty cycle"                          {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#DUTY_CYCLE"}
Number                     SpotsWohnen0SIGNALSTRENGTH                  "Signalstärke"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#SIGNAL_STRENGTH"}
Number:ElectricPotential   SpotsWohnen0OPERATINGVOLTAGE                "Operating voltage"                   {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#OPERATING_VOLTAGE"}
Switch                     SpotsWohnen0DELETEDEVICE                    "Delete device"                       {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#DELETE_DEVICE"}
Number                     SpotsWohnen0RSSI                            "Rssi"                                {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#RSSI"}
Number                     SpotsWohnen0RSSIPEER                        "Rssi peer"                           {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#RSSI_PEER"}
Switch                     SpotsWohnen0INSTALLTEST                     "Install test"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#INSTALL_TEST"}
String                     SpotsWohnen0FIRMWARE                        "Firmware"                            {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#FIRMWARE"}
String                     SpotsWohnen0ACTUALTEMPERATURESTATUS         "Actual temperature status"           {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ACTUAL_TEMPERATURE_STATUS"}
Switch                     SpotsWohnen0UNREACH                         "Unreach"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#UNREACH"}
Switch                     SpotsWohnen0ERROROVERLOAD                   "Error overload"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ERROR_OVERLOAD"}
Number                     SpotsWohnen0ERRORCODE                       "Error code"                          {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#ERROR_CODE"}
Switch                     SpotsWohnen0UPDATEPENDING                   "Update pending"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:0#UPDATE_PENDING"}
Switch                     SpotsWohnen1PRESSSHORT                      "Press short"                         {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:1#PRESS_SHORT"}
Switch                     SpotsWohnen1PRESSLONGSTART                  "Press long start"                    {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:1#PRESS_LONG_START"}
Switch                     SpotsWohnen1PRESSLONGRELEASE                "Press long release"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:1#PRESS_LONG_RELEASE"}
Switch                     SpotsWohnen1PRESSLONG                       "Press long"                          {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:1#PRESS_LONG"}
Switch                     SpotsWohnen2PRESSSHORT                      "Press short"                         {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:2#PRESS_SHORT"}
Switch                     SpotsWohnen2PRESSLONGSTART                  "Press long start"                    {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:2#PRESS_LONG_START"}
Switch                     SpotsWohnen2PRESSLONGRELEASE                "Press long release"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:2#PRESS_LONG_RELEASE"}
Switch                     SpotsWohnen2PRESSLONG                       "Press long"                          {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:2#PRESS_LONG"}
String                     SpotsWohnen3LEVELSTATUS                     "Level status"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#LEVEL_STATUS"}
String                     SpotsWohnen3SECTIONSTATUS                   "Section status"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#SECTION_STATUS"}
String                     SpotsWohnen3PROCESS                         "Process"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#PROCESS"}
Dimmer                     SpotsWohnen3LEVEL                           "Level"                               {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#LEVEL"}
String                     SpotsWohnen3ACTIVITYSTATE                   "Activity state"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#ACTIVITY_STATE"}
Number                     SpotsWohnen3SECTION                         "Section"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:3#SECTION"}
String                     SpotsWohnen4PROCESS                         "Process"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#PROCESS"}
Number                     SpotsWohnen4RAMPTIME                        "Ramp time"                           {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#RAMP_TIME"}
String                     SpotsWohnen4COMBINEDPARAMETER               "Combined parameter"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#COMBINED_PARAMETER"}
Number                     SpotsWohnen4SECTION                         "Section"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#SECTION"}
String                     SpotsWohnen4SECTIONSTATUS                   "Section status"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#SECTION_STATUS"}
String                     SpotsWohnen4ACTIVITYSTATE                   "Activity state"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#ACTIVITY_STATE"}
String                     SpotsWohnen4LEVELSTATUS                     "Level status"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#LEVEL_STATUS"}
Number                     SpotsWohnen4ONTIME                          "On time"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#ON_TIME"}
Dimmer                     SpotsWohnen4LEVEL                           "Level"                               {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#LEVEL"}
Number                     SpotsWohnen4ONTIMEAUTOMATIC                 "On time automatic"                   {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:4#ON_TIME_AUTOMATIC"}
Number                     SpotsWohnen5RAMPTIME                        "Ramp time"                           {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#RAMP_TIME"}
String                     SpotsWohnen5PROCESS                         "Process"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#PROCESS"}
String                     SpotsWohnen5COMBINEDPARAMETER               "Combined parameter"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#COMBINED_PARAMETER"}
Number                     SpotsWohnen5SECTION                         "Section"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#SECTION"}
String                     SpotsWohnen5SECTIONSTATUS                   "Section status"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#SECTION_STATUS"}
String                     SpotsWohnen5ACTIVITYSTATE                   "Activity state"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#ACTIVITY_STATE"}
Number                     SpotsWohnen5ONTIME                          "On time"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#ON_TIME"}
String                     SpotsWohnen5LEVELSTATUS                     "Level status"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#LEVEL_STATUS"}
Number                     SpotsWohnen5ONTIMEAUTOMATIC                 "On time automatic"                   {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#ON_TIME_AUTOMATIC"}
Dimmer                     SpotsWohnen5LEVEL                           "Level"                               {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:5#LEVEL"}
Number                     SpotsWohnen6RAMPTIME                        "Ramp time"                           {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#RAMP_TIME"}
String                     SpotsWohnen6COMBINEDPARAMETER               "Combined parameter"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#COMBINED_PARAMETER"}
String                     SpotsWohnen6PROCESS                         "Process"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#PROCESS"}
Number                     SpotsWohnen6SECTION                         "Section"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#SECTION"}
String                     SpotsWohnen6SECTIONSTATUS                   "Section status"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#SECTION_STATUS"}
String                     SpotsWohnen6LEVELSTATUS                     "Level status"                        {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#LEVEL_STATUS"}
Number                     SpotsWohnen6ONTIME                          "On time"                             {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#ON_TIME"}
String                     SpotsWohnen6ACTIVITYSTATE                   "Activity state"                      {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#ACTIVITY_STATE"}
Dimmer                     SpotsWohnen6LEVEL                           "Level"                               {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#LEVEL"}
Number                     SpotsWohnen6ONTIMEAUTOMATIC                 "On time automatic"                   {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:6#ON_TIME_AUTOMATIC"}
Number                     SpotsWohnen7WEEKPROGRAMTARGETCHANNELLOCKS   "Week program target channel locks"   {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:7#WEEK_PROGRAM_TARGET_CHANNEL_LOCKS"}
String                     SpotsWohnen7WEEKPROGRAMTARGETCHANNELLOCK    "Week program target channel lock"    {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:7#WEEK_PROGRAM_TARGET_CHANNEL_LOCK"}
String                     SpotsWohnen7COMBINEDPARAMETER               "Combined parameter"                  {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:7#COMBINED_PARAMETER"}
Number                     SpotsWohnen7WEEKPROGRAMCHANNELLOCKS         "Week program channel locks"          {channel="homematic:HmIP-BDT:3014F711A0001F9D8990931E:0008DD898F130E:7#WEEK_PROGRAM_CHANNEL_LOCKS"}


Benutzeravatar
udo1toni
Beiträge: 13858
Registriert: 11. Apr 2018 18:05
Answers: 222
Wohnort: Darmstadt

Re: Dimmer - welche Channel für Switch und Dimmwert?

Beitrag von udo1toni »

Es gibt genau vier Items, die Du tatsächlich brauchst, SpotsWohnen3LEVEL, SpotsWohnen4LEVEL, SpotsWohnen5LEVEL und SpotsWohnen6LEVEL.
Willst Du einen Slider zum Dimmen haben, verbindest Du einen Slider mit dem Item, willst Du einen Schalter, kannst Du auch diesen mit dem Item verbinden. Ein Dimmer Item versteht die Befehle ON, OFF, INCREASE, DECREASE und die Zahlenwerte 0 - 100. Es liefert die Status 0 - 100 zurück.
Ein Switch Widget ist gewöhnlich in der Lage, den Wert 0 als OFF zu interpretieren und alle Werte von 1 - 100 als ON zu interpretieren.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

merlindata
Beiträge: 33
Registriert: 24. Jan 2020 08:15
Answers: 1
Wohnort: Wien

Re: Dimmer - welche Channel für Switch und Dimmwert?

Beitrag von merlindata »

Hier der "einfache" Schalter für den HmIP-BDT

Code: Alles auswählen

Switch item=SpotsWohnen4LEVEL label="XXXzimmer []" icon="deckenlampe" mappings=[99="AN",0="Aus"]
Dimmer:

Code: Alles auswählen

Slider item=SpotsWohnen4LEVEL label="Dimmer [%s %%]" icon="deckenlampe"
auch so:

Code: Alles auswählen

Selection item=SpotsWohnen4LEVEL label="Dimmer  [%s %%]"  icon="deckenlampe" mappings=[ 99='Max', 15='Min', 70='70 %', 60='60 %', 50='50 %', 40='40 %', 30='30 %', 20='20 %'] 

LG Merlin

Benutzeravatar
udo1toni
Beiträge: 13858
Registriert: 11. Apr 2018 18:05
Answers: 222
Wohnort: Darmstadt

Re: Dimmer - welche Channel für Switch und Dimmwert?

Beitrag von udo1toni »

Nein, es reicht ein Schalter, da muss nichts gemappt werden. Das Dimmer Item kann direkt mit ON und OFF gesteuert werden. Echt.
openHAB4.1.2 stable in einem Debian-Container (bookworm) (Proxmox 8.1.5, LXC), mit openHABian eingerichtet

Antworten