Reddit ios shortcuts12/10/2023 While it exists in /etc/profile, that did not seem to help. bashrc to include this line for export PATH, below. Consider the shortcuts of the other commenters in this thread. My device is on iOS 12, so I dont need an iCloud link. Apple wants that all shared shortcuts are available in iCloud. (using dietpi, Highly optimized minimal Debian OS) I modified my. On iOS 13 you must build an iCloud link for the. PiHole Admin Shortcut v1.3 from u/herbieenos There is probably a better way, but I edited the PiHole Admin Shortcut v1.2 from u/Bluewall1, by replacing all pihole commands with /usr/local/bin/pihole and adding the command which was issued to the final results Show Alert popup (the "Command" variable sent and ">" ) followed by the "SSH_Output" variable. When I entered the command with full path (/usr/local/bin/) appended to pihole, then it successfully returned status results! This resulted in an Alert box popup which says, ![]() Next, I ran the test Shortcut, and it prompted me for input command. I confirmed this by entering other credentials, but then I was getting an error. Then, click Next, and disable Ask Before Running and click Done. Next, click on Text and then type the phrase of your choice. Then search for Speak and choose Speak Text. I can successfully SSH (username is "dietpi"). Next, drag the slider to the end, and choose Equals 100. My PiHole install is on DietPi (running in VMware). "Show Result": variable is "SSH_Output".I was getting back a new error instead of blank 'Ask When Run' - when run it asks what command to send (e.g., pihole status). I was able to achieve all this by simply asking GPT-3 in my prompt to pretend to be my home assistant, listed the items in my home, a few other details about time and location, and then asked it to respond in a structured, categorised data format (JSON) which I could then use to trigger the control messages in HomeKit in a series of if."Run Script Over SSH", configured with host, port 22, user password. iOS Shortcuts A shortcut provides a quick way to get things done with your apps, with just a tap or by asking Siri.In a new Shortcut, I added only three modules: To further troubleshoot I temporarily created a Shortcut to isolate the SSH module, the input command and the output back from the server. ![]() When I ssh to my PiHole server with the same credentials I entered in the PiHole Admin Shortcut I can issue pihole commands without need for sudo (e.g., pihole status, or pihole -c -r 5s). Like other users I was getting empty Alerts back and no real feedback from PiHole. shortcut files from macOS Monterey using the CLI tool, or possibly get the. Thanks to u/Eximo84 for the initial Shortcut and thanks to u/Bluewall1 for the additions!
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |