@Russ Thanks!
Posts made by Furkan Cevik
-
Config File Path of TriggercmdAgent on Windows
Hey,
i wanna migrate my current installation with all commands of my triggercmdagent to another PC.Is it possible?
Which paths do i need to backup?
Thanks
Furkan -
How to exactly run Commands on Raspi via Voice on Alexa
Hey Rus, me again:
I saw this and some other articles: Re: Raspberry Pi setupI was able to set up the triggercmd agent on my raspi and make the daemon working. I also see the default commands in the json file.
But im confused how to actually USE these commands via Voice I dont see any "smart device" popping up on my Alexa, so im confused how to use these? Do i need to set up smth else so the commands from my raspi show up as alexa smart device?
Ty!
Furkan -
RE: Use "Voice Reply" accordingly to make it work
@Russ Yea i use the Smart Home Skill, like it much more
Ill stick with the Routine way, it aint that bad
Thanks again! -
Use "Voice Reply" accordingly to make it work
Hey Russ, me again.
I have a command rn to shutdown my PC, very basic:
Im confused what actually "Voice Reply" does. I was expecting it will just reply it back once this command is being ran, but my Alexa Echo Dot always just says "ok".If i use a Routine for this command/device and just use the "Alexa says" feature, it works okayish. Alexa tries to say "ok" first but then cuts that and then proceeds to say the line i entered in the routine.
I wonder now which way is the best do this.
Thanks!
Furkan -
RE: Running "Trigger Commands" via Windows Command Line
@Russ Cheers Russ, works now perfectly with this
Time to subscribe again after a year
have a nice day ^^ -
RE: Running "Trigger Commands" via Windows Command Line
ok i think i confuse myself.
I can not make it work to turn on/off my Lights because TRIGGERcmd isnt made for it.But maybe you can do it? Like i only want a way to "talk" to Alexa by saying only like "Alexa, turn on my light". Can triggercmd simulate this?
-
Running "Trigger Commands" via Windows Command Line
Heyho,
long time no see When i always get bored, i come back here to play around.
I recently got a new Philips Hue Light in my home. It works via Bluetooth, but my Alexa was able to connect with it so I am able to just turn on/off my light by saying "Turn off/on my light".
Now to TriggerCMD:
I wanna control my light via a Hotkey on my keyboard. I know that the Linux Version can run Commands via CLI, but can Windows do it too? I couldnt find a .exe which supports CLI commands (maybe im blind):
Idea:%TriggerCMDInstallationPath%\TRIGGERCMD-CLI.exe -trigger "Light off" --computer "%computername"
This would then run the Command from my PC called "Light off", which would then do the amazon alexa action.
I feel like you prb did this, but i am just blind to find it, prb cuz its late for me
Thanks ^^
Furkan -
RE: Dynamic Replies from Alexa via TRIGGERcmd?
@furkan-cevik I found my mistake.
It took too long to run my .bat file.
I read now on other topic, that it has only 4-5sec time to get a result. If it takes too long, it says "No Result".
@Russ Is it possible to increase this? I wanna run some api calls and get these as voice reply, but these could take a bit to call.
Thanks!
-
RE: Dynamic Replies from Alexa via TRIGGERcmd?
@tuicemen Hey,
i have the triggerCMD Skill enabled.
Like im also to call my script sucessfully, thats not the problem. The problem is that i dont get the configured voice response back.
But i "found" my mistake, kinda.
Russ said in this entry, i need to use {result}, but here:
https://www.triggercmd.com/forum/topic/332/smart-reply-for-voice-with-parameters/3
It says to use {{result}}
I switched it to that, and now my Alexa says "No Result" everytime, even tho I have a configured Result:
-
RE: Dynamic Replies from Alexa via TRIGGERcmd?
@russ ok, i tried now the normal way, its still not really working.
I made a .bat Script which is just opening 2 Programs for testing purposes:
This is the command in TRIGGERcmd:
I also configured it the way you said with the Routine to call it easier:
Made a Routine:
I say: "Alexa, test"
Enabled the option "What i say" to: "Ask Trigger C M D to to run Firefox".With this i can run the routine by just saying "Alexa, test".
The inital start works, its starting Firefox and Edge like in the script, but as voice reply, Alexa only says "reply" and not "Say my name furkan" like i put in the script. Like its instantly saying back "result", without waiting for the script to finish.
This is the results.log file call, if needed:
{"data":[{"name":"Firefox","voice":"firefox","voiceReply":"{result}","allowParams":false,"user":"5ee920d8b6af0700198b05d2","computer":"6206f1048f469b001ac34fa8","switch_is_on":false,"runCount":5,"createdAt":"2022-02-12T13:05:52.286Z","updatedAt":"2022-02-12T13:11:20.628Z","lastResult":"Say My name Furkan","id":"6207b0b028bc10001afaec9e"}],"message":"Command result updated successfully."}
PS: I use Alexa in German, if that matters.
What am i doing wrong? Thanks Russ!
-
RE: Dynamic Replies from Alexa via TRIGGERcmd?
@russ Hey Russ,
im currently trying to understand how your SendResult.bat works.
I currently cant find out where the script get the info for these 2 Variables:
-F computer_id=%TCMD_COMPUTER_ID% -F command_id=%TCMD_COMMAND_ID%
To be exact, its these 2:
- %TCMD_COMPUTER_ID%
- %TCMD_COMMAND_ID%
Im asking this to try/know if I can just run this script on my PC to see if alexa will talk back or not, or am i forced to try it with the skill?
Thanks!
-
RE: Dynamic Replies from Alexa via TRIGGERcmd?
@russ ill try it later, ty.
-
Dynamic Replies from Alexa via TRIGGERcmd?
Heyho,
Im back after a long time
I have a question. Is it possible for Alexa to talk to me when i run a specific voice line?
Like lets say i tell Alexa to run smth, which is starting a script on my pc. Can triggercmd "read" a value string from the script it ran and make Alexa say that line?
Or is it not currently possible to make alexa talk back dynamically?
Thanks!
Furkan
-
RE: Enable or disable ads with Pi-hole on a Raspberry Pi
@Russ Works now, thanks!
-
RE: Enable or disable ads with Pi-hole on a Raspberry Pi
Hey Russ, so i set up everything like u said.
I can run the script like u with /usr/local/bin/pihole_on_off.sh on/off.
I also can enable/disable it on my trigger cmd command management.
But how do i do with with my voice? can i change what i need to say? Im confused here lol.