Package com.hildeio.controller
Class IoSchaltaktorController
java.lang.Object
com.hildeio.controller.IoSchaltaktorController
REST-API zur Aenderung der Stati von Schaltaktoren.
-
Field Summary
FieldsModifier and TypeFieldDescriptionInstanzvariable für Service -
Constructor Summary
ConstructorsConstructorDescriptionIoSchaltaktorController
(IoSchaltaktorService ioSchaltaktorService) Konstruktor -
Method Summary
Modifier and TypeMethodDescriptionupdateSchaltaktor2Firestore
(IoSchaltaktorModel ioSchaltaktorModel) Speichert den Schaltaktor-Zustand (ein/aus) in Firestore-Collection ioSchaltaktoren.
-
Field Details
-
ioSchaltaktorService
Instanzvariable für Service
-
-
Constructor Details
-
IoSchaltaktorController
Konstruktor- Parameters:
ioSchaltaktorService
- Logik-Instanz der API.
-
-
Method Details
-
updateSchaltaktor2Firestore
@PutMapping("/updateSchaltaktor2Firestore") public String updateSchaltaktor2Firestore(@RequestBody IoSchaltaktorModel ioSchaltaktorModel) throws InterruptedException, ExecutionException Speichert den Schaltaktor-Zustand (ein/aus) in Firestore-Collection ioSchaltaktoren.- Parameters:
ioSchaltaktorModel
- Steuerungswerte von der HomeMatic CCU.- Returns:
- Erfolgsmeldung / Fehlermeldung
- Throws:
InterruptedException
- Erforderliche Exception.ExecutionException
- Erforderliche Exception.
-