roleoroleo / yi-hack-Allwinner-v2

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
752 stars 90 forks source link

Camera aus bzw. einschalten über Webinterface #836

Open biker1602 opened 3 months ago

biker1602 commented 3 months ago

Hallo Gibt ees die Möglichkeit so wie in der App Yi Home die Camera über das Webinterface mit einem Befehl aus bzw. wieder einzuschalten? Ich habe den Adapter onvif im Iobroker installiert aber dort auch leider nichts gefunden. Ich wollte über ein Blockly realisieren die Camera beim verlassen des Hauses wenn sich z.B. die Handys aus dem Wlan abgemeldet haben das die Kameras sich ein und beim anmelden im Wlan wieder ausschalten.

roleoroleo commented 3 months ago

Check the wiki: https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Web-services-description

Another way is mqtt.

biker1602 commented 3 months ago

Das habe ich wohl gelesen aber welcher Befehl soll denn da für Kamera ausschalten bzw einschalten sein. Ich rede nicht von Video aus ein. Im Webinterface gibt es auch keinen Schalter so wie in der App.

Screenshot_20240313-084213

roleoroleo commented 3 months ago

You can't really switch off the cam. The switch in the app simply switch off the video. The same behavior has the switch in the web page or the webservice: http://IP_CAM/cgi-bin/camera_settings.sh?switch_on=no All three call the same internal ipc command. immagine

biker1602 commented 3 months ago

Super Danke Perfekt

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.