Hallo...
leider tue ich mich scheinbar mit dem client secret noch etwas schwer.
Habe mein System gerade neu aufgesetzt und bekomme jetzt die Anbindung nicht mehr so richtig hin.
hcconn ist connected, aber meine beiden Geräte (Trockner und Waschmaschine) bleiben im Status "idle" und haben keine Readings.
Ich muss bei der Einrichtung wohl irgendwas falsch gemacht haben :-(
Hier mal ein List von hcconn:
Internals:
DEF ClientID Redirect URIs ClientSecret
NAME hcconn
NR 185
STATE Connected
TYPE HomeConnectConnection
api_uri https://api.home-connect.com
client_id CLientID
client_secret ClientSecret
expires_at 1536336544.06309
redirect_uri ...
refreshFailCount
READINGS: 2018-09-06 18:09:04
state Connected 2018-09-06 18:09:04
tokenExpiry Fri Sep 7 18:09:04 2018
Attributes: accessScope IdentifyAppliance Monitor
room 11_System->01_System,20_DeviceGroups->08_HomeConnect
und eines des Gerätes:
Internals:
DEF hcconn BOSCH-WTYH7780-68A40E03FAE2
NAME WTYH7780
NR 187
STATE Idle
TYPE HomeConnect
aliasname Trockner
brand Bosch
commandPrefix
eventChannelTimeout 1536250609
haId BOSCH-WTYH7780-68A40E03FAE2 hcconn hcconn programs retrycounter 0 type Dryer vib WTYH7780
READINGS: 2018-09-06 18:16:49 Status unknown 2018-09-06 18:12:08 state Idle
Attributes:
alias wk.Trockner
group HomeConnect
icon scene_clothes_dryer
room 20_DeviceGroups->08_HomeConnect,02_Untergeschoss->03_Waschkeller
userReadings Status {if(ReadingsVal("WTYH7780","BSH.Common.Status.OperationState","?") eq "BSH.Common.EnumType.OperationState.DelayedStart") {return "zeitversetzter Start"} elsif (ReadingsVal("WTYH7780","BSH.Common.Status.OperationState","?") eq "BSH.Common.EnumType.OperationState.Finished") {return "Fertig"} elsif (ReadingsVal("WTYH7780","BSH.Common.Status.OperationState","?") eq "BSH.Common.EnumType.OperationState.Run") {return "Läuft"} else {return "unknown"}} webCmd startProgram:stopProgram