Reply To: Http Switch: Dummy Befehl für EIN und Status Abfrage

Max2Play Home Forums Max2Play Add-ons Http Switch: Dummy Befehl für EIN und Status Abfrage Reply To: Http Switch: Dummy Befehl für EIN und Status Abfrage

29. März 2019 at 17:18 #44926

Hallo Heiner,

danke für die schnelle Antwort.
Für den Raspberry gibt es einen HTTP- Shutdown Befehl.
Um einen Statefull Schalter für das Homekit zu generieren wird ein EIN und AUS Schaltzustand benötigt.
Hier als Bespiel:
„switchType“: „stateful“,

„onUrl“: „http://localhost/api/switchOn“,
„offUrl“: „http://localhost/api/switchOff“,

„statusUrl“: „http://localhost/api/switchStatus“

Für offUrl habe ich nun ein Eintrag, was mir feht ist irgendetwas für den Rasperry Status und für die onUrl.
Ich weiß nicht was passiert wenn diese leer bleiben.
z.B „onURl“: „“

Gruß
Ralf

  • This reply was modified 5 years ago by ralf.b.
  • This reply was modified 5 years ago by ralf.b.