-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy Keys to iOS device #2
Comments
I've changed the instructions a bit: I had written some comments in between shell_command is a HomeAssistant thing as is configuration.yaml. Other than enabling passwordless SSH login there is nothing to upload or configure on your iOS device. Hope this will help. Otherwise take a look at https://gist.github.com/DomiR/8870918, there are some pointers in the topic itself and the comments. |
Hi, Thanks for the response. I have managed to perform all the steps. However, there is no new device showing up under MQTT for me. I suspect the ssh_command is not working. It is showing error in the logs Logger: homeassistant.components.shell_command Error running command: Also, I tried to run the SSH command in the HA SSH/Terminal Addon and it gives error as well The file is definitely there in /config/shell_command/find_my/findmy.sh Any idea? |
Hi again, I figured out that I have entered the wrong IP. I have used the IP address of my iOS device instead of my HA. Thus, it is reporting no such file or directory. I have figured out that i need to include sudo as well as i am running HassOS ➜ ~ ssh -i /config/ssh/id_rsa -o 'StrictHostKeyChecking=no' [email protected] sudo /config/shell_command/find_my/findmy.sh
|
Hi again, I have managed to get it working after modifying your codes. I have used the below codes to get it working. The path you have in your codes does not exist for me, not sure why. scp [email protected]:/private/var/mobile/Library/Caches/com.apple.findmy.fmipcore/Items.data $scriptlocation/Items.data Also, i your codes throws an error if the device name had a " ' " in it. Thanks again |
Hi,
I am stuck with the step of copying the keys to the iOS device.
My question is how Do i copy those keys to the iOS device? I am using Windows.
Also, in the configuration.yaml, what is '[email protected] should match your SSH login' ? Is this the details for the iOS device or the Home Assistant?
Thank you
The text was updated successfully, but these errors were encountered: