Siemens Homeconnect - Dunstabzug Bedienung kompliziert

Begonnen von maddinthebrain, 17 Juni 2020, 13:28:03

Vorheriges Thema - Nächstes Thema

maddinthebrain

Hallo,

ich habe nun die Dunstabzugs habe soweit, dass ich sie über Fhem steuern kann. Das ist aber so mehr als unbequem...

So wird Licht über den Befehl
set LC91BUR50 Cooking.Common.Setting.Lighting 1
eingeschaltet. Der Status des gleichlautenden Readings wechselt dann von false auf true.  :o In der Befehlsliste ist aber nur das Feld Cooking.Common.Setting.Lighting im Dropdownmenü. Das zusätzliche Befehlsfeld enthält in Prosa das Reding plus false bzw. true. Also gemäß
Cooking.Common.Setting.Lighting.False
Zum Einschalten muss man nun das alles Löschen und stattdessen eine 1 schreiben und wegschicken.

Gibt es denn kein andere bequemere Möglichkeit, das Licht ein- und auszuschalten sowie zu dimmen, die Lüftung ein- und auszuschalten sowie die Stufe zu ändern?

Auch kann man nicht das Intervalllüften aktivieren.

set LC91BUR50 BSH.Common.Root.SelectedProgram Venting bringt nur die Fehlermeldung "Insufficient scope for this resource"

Hier das aktuelle Listing von der Dunstabzugshaube:

Internals:
   CFGFN     
   DEF        hcconn SIEMENS-LC91BUR50-68A40E332636
   FUUID      5ee682d7-f33f-ab72-cc89-b821c880bde9f618
   NAME       LC91BUR50
   NR         4748
   STATE      Idle
   TYPE       HomeConnect
   aliasname  Dunstabzugshaube
   brand      Siemens
   commandPrefix Cooking.Common.Program.Hood.
   eventChannelTimeout 1592379276
   haId       SIEMENS-LC91BUR50-68A40E332636
   hcconn     hcconn
   programs   Venting,DelayedShutOff
   retrycounter 0
   type       Hood
   vib        LC91BUR50
   Helper:
     DBLOG:
       BSH.Common.Option.ElapsedProgramTime:
         logmysql:
           TIME       1592331240.05783
           VALUE      120 seconds
       BSH.Common.Root.ActiveProgram:
         logmysql:
           TIME       1592331245.06785
           VALUE      -
       BSH.Common.Setting.PowerState:
         logmysql:
           TIME       1592331245.06785
           VALUE      BSH.Common.EnumType.PowerState.Off
       BSH.Common.Status.LocalControlActive:
         logmysql:
           TIME       1592328982.3373
           VALUE      0
       BSH.Common.Status.OperationState:
         logmysql:
           TIME       1592331245.06785
           VALUE      BSH.Common.EnumType.OperationState.Inactive
       BSH.Common.Status.RemoteControlActive:
         logmysql:
           TIME       1592295203.26379
           VALUE      1
       BSH.Common.Status.RemoteControlStartAllowed:
         logmysql:
           TIME       1592295203.26379
           VALUE      1
       Cooking.Common.Option.Hood.IntensiveLevel:
         logmysql:
           TIME       1592328856.07655
           VALUE      Cooking.Hood.EnumType.IntensiveStage.IntensiveStageOff
       Cooking.Common.Option.Hood.VentingLevel:
         logmysql:
           TIME       1592328856.07655
           VALUE      Cooking.Hood.EnumType.Stage.FanStage02
       Cooking.Common.Setting.Lighting:
         logmysql:
           TIME       1592341146.23137
           VALUE      false
       Cooking.Common.Setting.LightingBrightness:
         logmysql:
           TIME       1592331096.11692
           VALUE      10 %
       state:
         logmysql:
           TIME       1592331245.06785
           VALUE      Idle
   READINGS:
     2020-06-16 20:14:00   BSH.Common.Option.ElapsedProgramTime 120 seconds
     2020-06-16 20:14:05   BSH.Common.Root.ActiveProgram -
     2020-06-16 20:14:05   BSH.Common.Setting.PowerState BSH.Common.EnumType.PowerState.Off
     2020-06-16 19:36:22   BSH.Common.Status.LocalControlActive 0
     2020-06-16 20:14:05   BSH.Common.Status.OperationState BSH.Common.EnumType.OperationState.Inactive
     2020-06-16 10:13:23   BSH.Common.Status.RemoteControlActive 1
     2020-06-16 10:13:23   BSH.Common.Status.RemoteControlStartAllowed 1
     2020-06-16 19:34:16   Cooking.Common.Option.Hood.IntensiveLevel Cooking.Hood.EnumType.IntensiveStage.IntensiveStageOff
     2020-06-16 19:34:16   Cooking.Common.Option.Hood.VentingLevel Cooking.Hood.EnumType.Stage.FanStage02
     2020-06-16 22:59:06   Cooking.Common.Setting.Lighting false
     2020-06-16 20:11:36   Cooking.Common.Setting.LightingBrightness 10 %
     2020-06-16 20:14:05   state           Idle
Attributes:
   alias      Dunstabzugshaube
   room       GoogleAssistant,Küche
   webCmd     BSH.Common.Root.SelectedProgram:startProgram:stopProgram


Und vom hcconn Device:

Internals:
   DEF        ############# http://raspi4.fritz.box:8083/fhem?cmd.Test=set%20hcconn%20auth%20 ###########
   FUUID      5ee245b3-f33f-ab72-9cc6-e5566131c9bcbcce
   NAME       hcconn
   NR         311
   STATE      Connected
   TYPE       HomeConnectConnection
   api_uri    https://api.home-connect.com
   client_id  ###########
   client_secret ###############
   expires_at 1592446403.8776
   redirect_uri http://raspi4.fritz.box:8083/fhem?cmd.Test=set%20hcconn%20auth%20
   refreshFailCount
   simulator  1
   Helper:
     DBLOG:
       state:
         logmysql:
           TIME       1592360003.88145
           VALUE      Connected
       tokenExpiry:
         logmysql:
           TIME       1592360003.88145
           VALUE      Thu Jun 18 04:13:23 2020
   READINGS:
     2020-06-17 04:13:23   state           Connected
     2020-06-17 04:13:23   tokenExpiry     Thu Jun 18 04:13:23 2020
Attributes:
   room       Funk & Kommunikation

Viele GRüße
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren

swhome

Hallo Martin, ich muss zugeben dass ich das Modul noch nie mit einer Abzugshaube ausprobiert habe, meine ist leider nicht connnected  :'(

Geht das Licht auch an wenn Du den Wert Cooking.Common.Setting.Lighting.True anstelle von 1 schickst? Das wäre zumindest etwas logischer.

Die Usability kannst Du mit einer Anpassung des webCmd Attributs verbessern, der Königsweg ist wahrscheinlich eine trickreiche Kombination von stateFormat und devStateIcon aber das kann gut mal nen Tag dauern  :)

Dann zum Scope, bitte versuch mal manuell den Scope um die Haube zu erweitern, indem Du das Attribut accessScope der Home Connect Connection auf diesen Wert setzt:

IdentifyAppliance Monitor Settings Dishwasher-Control Washer-Control Dryer-Control CoffeeMaker-Control Hood-Control


Danach die Home Connect Connection ausloggen und wieder einloggen.

Viel Erfolg!
Stefan
Im Einsatz: FHEM auf Raspberry Pi mit 350 devices, hauptsächlich Homematic Wired und HM-Heizungsregler, dazu diverse Eigenbauten für Fussbodenheizung und LED Beleuchtung. Und jetzt mit Alexa!

maddinthebrain

Hallo Stefan,

nein mit True/False funktioniert das nicht, das hatte ich schon versucht...  :o, die Einzelnen Readings sind tlw schon merkwürdig. Was mir auch noch aufgefallen ist, ist die Tatsache, dass man z.B. die Lüfterstufe per set Befehl gar nicht ändern kann. In der Liste taucht das gar nicht auf. Auch das Thema Boost Stufen ist genauso.

das mit dem AccessScope probier ich heute Abend.

Viele Grüße
Martin
Viele Grüße
Martin

Futro mit Proxmox und Debian: FHEM, Signalduino 433MHz & 868MHz, MAX!, WeeWX, FHEM2FHEM,
Raspi 4 mit ConBee mit deCONZ und Phoscon für ZigBee Aktoren und Sensoren