Nasıl yapabilirim, detaylıca anlatabilecek var mı?
Ben yapmıştım. Tam hatırlamıyorum fakat IFTTT kullanarak yapıyorsunuz birisi anlatmış fakat YouTube'dan araştırmanızı öneririm.
OP here. For anyone wondering how this works, I did the following. Using the IFTTT App I created a Custom Google Assistant command "Turn on PC". When Google Assistant receives this command, IFTTT will push a message to my Pushbullet account. On my Phone I've installed the Tasker App, I created a profile in Tasker that will listen to Pusbullet messages. If Pushbullet recieves a message from IFTTT that says "turn on PC", Tasker will React to this and start an Action. The Action that will be started is a SSH connection to my Raspberry Pi, then a wakeonlan command with the Mac address of my desktop PC will be executed on my Raspberry Pi. This in turn wakes up my PC and as you see in the video, my PC turns on.
Update: I created a PHP script that runs on a web server with SSL on my Raspberry Pi. IFTTT now receives the Google assistant command, and makes a POST web request (Webhook from IFTTT) to the PHP script with a hashed password string. Then the PHP scripts verifies the password, and if correct executes the wakeonlan command. With this I cut pushbullet, tasker and the SSH tasker plugin. Plus my PC turns on like instantly!
Çeviri:
Buradayım. Bunun nasıl çalıştığını merak edenler için aşağıdakileri yaptım. IFTTT uygulamasını kullanarak özel bir Google Asistan komutu "bilgisayarı aç" oluşturdum. Google Asistan bu komutu aldığında IFTTT, Pushbullet hesabıma bir mesaj gönderecek. Telefonuma Tasker uygulamasını yükledim, Tasker'da Pusbullet mesajlarını dinleyecek bir profil oluşturdum. Pushbullet, IFTTT'den "bilgisayarı aç" yazan bir mesaj alırsa Tasker buna tepki verecek ve bir eylem başlatacaktır. Başlatılacak eylem Raspberry Pi'me SSH bağlantısı yapılması, ardından Raspberry Pi'mde masaüstü bilgisayarımın Mac adresiyle bir uyandırma komutu yürütülecek. Bu da bilgisayarımı uyandırıyor ve videoda gördüğünüz gibi bilgisayarım açılıyor.
GÜNCELLEME: Raspberry Pi'mde SSL ile bir web sunucusunda çalışan bir PHP betiği oluşturdum. IFTTT artık Google Asistan komutunu alıyor ve karma şifre dizesiyle PHP betiğine bir POST web isteği (IFTTT'den Webhook) yapıyor. Daha sonra PHP betikleri şifreyi doğrular ve eğer doğruysa, Wakeonlan komutunu çalıştırır. Bununla Pushbullet, Tasker ve SSH Tasker eklentisini kestim. Üstelik bilgisayarım anında açılıyor!
buyrun videoyu da buldum :