GELÖST: Hundetüre von Petwalk mit CCU3 öffnen
Moderator: Co-Administratoren
-
- Beiträge: 6
- Registriert: 04.01.2023, 16:03
- System: CCU
- Hat sich bedankt: 1 Mal
Re: Hundetüre von Petwalk mit CCU3 öffnen
Das "Mega!" bedeutet, dass es funktioniert hat. Vielen Dank
CCU3, Firmware 3.65.11
-
- Beiträge: 6
- Registriert: 04.01.2023, 16:03
- System: CCU
- Hat sich bedankt: 1 Mal
Re: Hundetüre von Petwalk mit CCU3 öffnen
Zur Vollständigkeit, falls mal wieder jemand eine Petwalk-Türe ansprechen und schalten möchte.
Einschalten und Öffnen:
Ausschalten (Türe schließt automatisch:
Einschalten und Modus Eingang erlaubt, Ausgang verboten (hier muss states und modes angesprochen werden):
Einschalten und Öffnen:
Code: Alles auswählen
system.Exec("curl -X PUT -H 'Content-Type: application/json' -d '{\"system\":\"on\",\"door\":\"open\"}' http://MEINEIP:8080/states");
Code: Alles auswählen
system.Exec("curl -X PUT -H 'Content-Type: application/json' -d '{\"system\":\"off\"}' http://MEINEIP:8080/states");
Code: Alles auswählen
system.Exec("curl -X PUT -H 'Content-Type: application/json' -d '{\"system\":\"on\",\"door\":\"closed\"}' http://MEINEIP:8080/states");
system.Exec("curl -X PUT -H 'Content-Type: application/json' -d '{\"motion_in\":true,\"rfid\":true,\"motion_out\":false}' http://MEINEIP:8080/modes");
CCU3, Firmware 3.65.11