Class IoSchaltaktorController

java.lang.Object
com.hildeio.controller.IoSchaltaktorController

@RestController @RequestMapping("/schaltaktor") public class IoSchaltaktorController extends Object
REST-API zur Aenderung der Stati von Schaltaktoren.
  • Field Details

    • ioSchaltaktorService

      public IoSchaltaktorService ioSchaltaktorService
      Instanzvariable für Service
  • Constructor Details

    • IoSchaltaktorController

      public IoSchaltaktorController(IoSchaltaktorService ioSchaltaktorService)
      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.