Php library to control Xiaomi devices.
Worked at least on a Xiaomi 360 camera, can control power on / off, night vision, etc... It should not be complex to extend this lib to make it work with other devices.
Test made on a Xiaomi 360 in 2020, I can not guaranty it's still working because I don't have anymore this camera.
composer install
Cf. demo.php
Change it to set your login & password, then:
php demo.php