Hallo zusammen,
Ich habe zwei Dingz welches die gleiche Lampe schalten.
- dingz #1 hat zwei festverdrahtet Verbindungen
- Ausgang 3 zur Lampe, Schaltbar via Schalter 1 oder Eingang 1
- Ausgang 1 vom dingz #2 als Digitaler Eingang.
- dingz #2 hat eine festverdrahtet Verbindungen als Puls
- Ausgang 3 zum dingz #1 als Puls von 0.1 s
Das klappt
Jetzt habe ich vesucht, dies mittels Rest API calls zu verwirklichen, um weitere dingz einzubinden
Jetzt leuchten beide dingz für eine Sekunde rot auf.
dingz #1 hat die IP 10.10.20.40, ich habe folgendes probiert.
- post://10.10.20.40/api/v1/dimmer/1/toggle/?ramp=2&value=100
- post://10.10.20.40//api/v1/button/1/single-press
auf dingz #1 und dingz #2.
dabei kommt mir jetzt die Frage
--> wie kann ich den Fehler auslesen, wenn das gingz kurz rot leuchtet?
danke
Stefan
I have two Dingz which switch the same lamp.
- dingz #1 has two hardwired connections
- output 3 to the lamp, switchable via switch 1 or input 1
- output 1 from dingz #2 as digital input.
- dingz #2 has one hardwired connection as pulse
- output 3 to dingz #1 as a pulse of 0.1 s
That works
Now I have tried to realise this using Rest API calls to integrate further dingz
Now both dingz light up red for one second.
dingz #1 has the IP 10.10.20.40, I have tried the following.
- post://10.10.20.40/api/v1/dimmer/1/toggle/?ramp=2&value=100
- post://10.10.20.40//api/v1/button/1/single-press
on dingz #1 and dingz #2.
Now the question arises
--> how can I read out the error when the gingz briefly lights up red?
Translated with DeepL.com (free version)