Registrieren Sie sich jetzt!
Zitat:Lokaler Aufruf: https://GEKKO-IP/api/v1/var/roomtemps/item0/value?username=BENUTZER&password=PASSWORT Plus-Query: https://live.my-gekko.com/api/v1/var/roomtemps/item0/value?username=eMail-Benutzer&key=GEKKO-QueryAPI-Key&gekkoid=GEKKO-ID
Zitat:"Act.Temp[°C];SetpointTemp[°C];Valve[%];Mode[1=Off|8=Comfort|16=Reduced|64=Manual|256=Standby];Reserved;TempAdjustment[°C];Cooling[0=Off|1=On];SumState[0=Ok|1=ManualOff|2=ManualOn|3=Locked|4=Alarm];Humidity[%rF];AirQuality[ppm|%];FloorTemp[°C]"
Zitat:Lokaler Aufruf: https://GEKKO-IP/api/v1/var/roomtemps/item0/sumstate/status?username=BENUTZER&password=PASSWORT Plus-Query: https://live.my-gekko.com/api/v1/var/roomtemps/item0/sumstate/status?username=eMail-Benutzer&key=GEKKO-QueryAPI-Key&gekkoid=GEKKO-ID
Zitat:{ "value": "20.70;21.00;33.94;8;;0.00;0;0;55.32;;" }
for (RoomTemp roomTemp in roomTemps) { var states = roomTemp.sumstate.value.split(";").toList(); var i = shared.roomTemps .firstWhere((i) => i.itemId == roomTemp.itemId, orElse: () => null); if (i != null) { i.actTemp = double.tryParse(states[0]); i.setPoint = double.tryParse(states[1]); i.valve = double.tryParse(states[2]); i.mode = roomTempModeEnum(int.tryParse(states[3]) ?? 0); i.reserved = int.tryParse(states[4]); i.tempAdjust = double.tryParse(states[5]); i.coolingState = roomTempCoolingStateEnum(int.tryParse(states[6])); i.sumStateStatus = sumStateStatus(int.tryParse(states[7]) ?? 0); i.humidity = double.tryParse(states[8]); i.airQuality = double.tryParse(states[9]); i.floorTemp = double.tryParse(states[10]); } }