for some reason the command
php miio-cli.php --ip xx.yy.xx.xx --debug --sendcmd '{"id":1,"method":"find_me","params":[]}' --token aabbccdd...
is only successful if I send a command with mirobo first:
mirobo --token aabbccdd... --ip xx.yy.xx.xx status
for some reason the command
php miio-cli.php --ip xx.yy.xx.xx --debug --sendcmd '{"id":1,"method":"find_me","params":[]}' --token aabbccdd...
is only successful if I send a command with mirobo first:mirobo --token aabbccdd... --ip xx.yy.xx.xx status
otherwise i run into this line without data https://github.com/skysilver-lab/php-miio/blob/c8d666eefbf1ec66189029704d8f09178b7c3c0c/miio.class.php#L333
do you have an idea whats going wrong?
thanks for sharing your work. I'm just searching how to encrypt the data packages php based correctly.