@david-jones Have posted the app now as part of a GiHub repository I'm building for TRIGGERcmd on PC and RPi: djaus2/TRIGGERcmdRPi Look for WhatCanISay app.
Posts made by David Jones
-
RE: "What can I say on ..?"
-
RE: "What can I say on ..?"
@david-jones OK So I have developed a .NET6 app to just that. Will publish soon.
PS I am using an optional extra command property "description" which if present get's spoken with the command. Doesn't seem to cause any issues. Have to add it in Text Command Editor. GUI doesn't delete it. Would be nice to have it in the GUI.
-
"What can I say on ..?"
It would be useful if I could say something like (as a query) "What can I say on Pi?" which would return a CSV list, or use cast, of voice properties of commands on Pi. Or maybe just create a an app on Pi to process command.json to get that...
-
RE: TRIGGERcmds not refreshing in Google Home
@david-jones And yes, all of my Pi commands now work!
-
RE: TRIGGERcmds not refreshing in Google Home
@russ I think the problem might have been having two commands on the Pi with the same Trigger Name .. which I've changed.
-
RE: TRIGGERcmds not refreshing in Google Home
@russ Yeah Bingo, as Tarntino would say!
At about 2pm local time (GMT +11) if your lookinga t logs
I cleared out all of my commands.json file on Pi and put the echo command in.
I was able to relink TRIGGERcmd back into Google Home on phone.
Was able to say "Hey Google,run test on pi" and it works.
And all commands still in commands.com on other devices and this one on Pi show up in Google Home!So it must be something in the Pi command.json.
I will try restoring it with simple command names(one word no spaces, hyphens etc.)
Thanks, This was beginning to really frustrate me. -
RE: TRIGGERcmds not refreshing in Google Home
@russ Here is a link (on Onedrive) to a video of what I did.
https://1drv.ms/v/s!AvQCqwnHzXJLivJV0aaujm98LgUCnw
Thanks -
RE: TRIGGERcmds not refreshing in Google Home
@russ OK so have done that.
- In Google Home app press + at top left
- The Setup Device
- Then Works with Google
- in Home control tab unlinked Triggercmd Smart Home there.
But then when I try to re-link it,
- Press Allow in www.triggercmd.com page.
- Nb Correct Google account shows.
- Get linking butcomes back saying
"Could not reach Triggercmd Smart Home, please try again"
-
RE: TRIGGERcmds not refreshing in Google Home
@russ Just a note before I start any disable/re-enable etc anything, my changes are showing up at https://www.triggercmd.com/user/computer/list
.. and View Triggers therein
but not reflected in my Google HomeAlso ran Google Home on another phone and everything there is the same as on the main phone.
-
RE: TRIGGERcmds not refreshing in Google Home
@russ I had tried renaming the computer and command names to no avail.
I tried deleting the computer. Also tried all the same with another computer to no avail.
Everything is unchanged in Google Home.Has something gone haywire with move to AWS?
Thinking the next thing is uninstall TRIGGERcmd everywhere and recreate. Rather drastic.
'Tis a shame. This was all working swimingly last week and was just about to demonstrate using it with Azure IoT Hub! -
RE: TRIGGERcmds not refreshing in Google Home
@russ I had tried renaming the computer and command names to no avail.
PS Keep up the good work.
Also, how do I get to a reputation of 3?
-
RE: TRIGGERcmds not refreshing in Google Home
@david-jones Tried rebooting PC to no avail.
Tried quitting the agent and restarting, also to no avail. -
TRIGGERcmds not refreshing in Google Home
On my PC have just added some commands and changed the PC's TRIGGERcmd voice name.
But these changes aren't reflected in Google Home app on my Android phone.
And Hey Google, .. requests only work with old commands and old PC voice name.
If I make such changes on RPi they are quickly available. -
Google nest says:"TRIGGERcmd not registered on Google Home" when it is.
If I issue "Hey Google, ask TRIGGER c.m.d. to run fred on mumma."
I get a reply TRIGGERcmd not registered on Google HomeBut on my phone on Home Control tab TRIGGERcmd Smart Home is listed under Linked Services. It actually says 22 devices. So the Voice Commands->Google Assistant don't work whereas Smart Home Voice Commands->Google Assistant do work.
-
RE: Use curl to run a command via the API.
@tuicemen Thanks to you both I got it to work.
I write the temperature and humidity to a text file as one command in the master script that is called by the RPi TRIGGERcmd command on the RPi. The master then reads it and it gets merged into the curl command. The curl command then activates a TRIGGERcmd command on the desktop that then casts to the Google nest! Nb I am using .NET 6 on the RPi. I'll blog about this in detail in coming days. See blog site (first link). -
RE: Cast equivalent on RPi for T2S?
@david-jones Or perhaps I can use curl to run a trigger on Windows that runs cast ??
-
RE: Use curl to run a command via the API.
And how would you add a parameter to the trigger? Would it be something like?:
-d '{"computer":"(insert computer name here)","trigger":"(insert trigger name here)","parameter":"(insert parameter here)"}'
-
RE: Cast equivalent on RPi for T2S?
@david-jones As an interim solution I am using Text 2 Speech on the Pi as per:
https://www.dexterindustries.com/howto/make-your-raspberry-pi-speak/#:~:text=Make sure your Raspberry Pi is powered up,to convert text to speech on the speakers. -
RE: How to use Off Command
@david-jones I am using Cast from Windows. Chasing equivalent for RPi on Raspian.