Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PegLegTV

Pages: 1 [2] 3 4 ... 34
16
I'm trying to intergrate ToDoist with VC, I've created an action to get my project names and add them to a map table. but I'm having problems with the scrape.post actions, I'm getting this error could no create ssl/tsl secure channel when I try to run the actions.

Todoist API

I can send you my current APIkey with a PM so you don't have to create an account.

or if you create an account, you can get the API key from Todoist.com > settings > integrations > Api token (bottom of the page).

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.3-->
<commandGroup open="True" name="ToDoist" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="801" name="ToDoist - Get project names" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape.Get</cmdType>
      <params>
        <param>https://api.todoist.com/rest/v2/projects</param>
        <param />
        <param />
        <param />
        <param />
        <param>Authorization: Bearer {M:apiKeys.ToDoist}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>LastActionSuccess</ifType>
      <ifParams>&amp;&amp;</ifParams>
      <then>
        <action>
          <cmdType>Results.RegExSingle</cmdType>
          <params>
            <param>"id":\s"(.\d+)".*?"name":\s"(.*?)",</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Map.Set</cmdType>
          <params>
            <param>ToDoist</param>
            <param>{Match.{i}.2}</param>
            <param>{Match.{i}.1}</param>
          </params>
          <cmdRepeat>{#M}</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
  </command>
  <command id="802" name="ToDoist - Add project" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape.Post</cmdType>
      <params>
        <param>https://api.todoist.com/rest/v2/projects</param>
        <param>{"name": "ShoppingList"}</param>
        <param />
        <param />
        <param>application/json</param>
        <param>X-Request-Id: $(uuidgen)</param>
        <param>Authorization: Bearer {M:apiKeys.ToDoist}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="897" name="ToDoist - Add Task" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape.Post</cmdType>
      <params>
        <param>https://api.todoist.com/rest/v2/tasks</param>
        <param>'{"content": "Cover pool", "project_id": "{M:ToDoist.Pool}"}'</param>
        <param />
        <param />
        <param>"Content-Type: application/json"</param>
        <param>X-Request-Id: $(uuidgen)</param>
        <param>Authorization: Bearer {M:apiKeys.ToDoist}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
</commandGroup>

hopefully it's something I'm doing wrong this could be used to replace ourgroceries and add a way to integrate mobile reminders with VC

thanks for any help

17
General Discussion / Re: Still VOXing after all this time!
« on: September 13, 2022, 01:48:39 AM »
We use voxcommando daily in our home for home automation and media control. It's a great middle man for non voice actions as well. And it makes movie nights amazing, and hopefully next summer it will also be able to update me on my pool temperature. ;D

I'll be setting up home assistant soon and using that with VC

VC is truly an overlooked software

18
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« on: August 24, 2022, 03:24:15 PM »
sorry for the late reply,

mine doesn't give verbal feedback, with an echo dot it just sends the command but no verbal response, on my phone through the Alexa app mine shows a title card you can change the text on the title card in the lambda script. I used the original lambda script posted in the beginning of this thread.

If I have multiple echo's will it reply to all the echo devices or just the one that issued the command?

Also does Alexa share device variables at this time, or is it still just "room 1" for all devices?


19
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« on: August 19, 2022, 05:51:56 PM »
after a lot of testing, I deleted everything and tried again. At first I was getting an error about "utterance conflict detected", it wouldn't let me use the word "off" as an utterance so I removed that from the list and the error went away. I was then able to test the skill and I'm now getting the event to show up in VoxCommando!  ::wiggle

with the short amount of testing that I've done so far I have found several words that wouldn't work to begin with so I had to add them to the utterance list. the word that I haven't gotten to work so far is "please" for example is I say "Lights Please" the event only shows "Lights" for some reason Alexa doesn't want to pass that with the event (not a big problem, I'll just need to make some changes in VC)

as for the invocation words I tried "jarvis jarvis" and "ironman ironman" both required me to say "Alexa tell jarvis jarvis play" or "Alexa tell ironman ironman play". so I thought I would see if it would let me get a way with one invocation word "jarvis", there is an error under the field that says "Invocation name must be at least 2 words." but I pressed "Save Model" button at the top of the page and then pressed Build model. I didn't receive any errors on build, but the error is still present under the invocation words field. I can now say "Alex tell jarvis play" and it works

I used the original node.js code from the tutorial and node.js version 16.

I'll be doing more testing on words and phrase to find what words need to be added to the utterance list but this is a great start in the right direction

Thank you, you guys are always a huge help. (especially because it seems I messed something up the first time around  :bonk ::saddest)



20
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« on: August 18, 2022, 01:34:17 PM »
hey jitterjames, nice to here from you too  ;D.

I'll take a look at the script and see what I can figure out.

one big change that I'm not a fan of is that the Invocation name now has to be two words, that will make commands a bit more of a mouth full... Alexa tell iron man lights please, Alexa tell iron man play random episodes of future man

please don't upgrade to test it out, I don't want to break your setup.  :bigno ::saddest

good luck with your home sale and enjoy your long weekend

21
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« on: August 18, 2022, 02:41:24 AM »
Hey kalle, it's been awhile.

Thanks for checking.

22
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« on: August 17, 2022, 08:11:58 PM »
hey its been a long time but being that google is doing what it does best and discontinuing services I'm trying to test out the echo skill to see if it still works and how it works. I'm hoping to replace my google/nest minis.

I was going through the tutorial above and for the most part everything was as described with some minor changes (not bad for 3 years later) how ever the big change is that node.js only allows version 12,14 or 16 and none of them fix the problem. but I cant be 100% sure that node.js is the cause. when I use the "test" tab the invocation name works

alexa voice: Hello, I'm this home's automation AI, what can I do for you
json output:

Code: [Select]
{
"body": {
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Hello, I'm this home's automation AI, what can I do for you"
},
"card": {
"type": "Simple",
"title": "EchoToVoxcommando - Welcome to Echo To Voxcommando",
"content": "Hello, I'm this home's automation AI, what can I do for you"
},
"reprompt": {
"outputSpeech": {
"type": "PlainText",
"text": "I could not understand, please try again"
}
},
"shouldEndSession": false,
"type": "_DEFAULT_RESPONSE"
},
"sessionAttributes": {}
}
}

but after that any input I use it fails

example:
me: lights please
alex: There was a problem with the requested skill's response

no json output when it fails

through alexa app:
me: alexa tell iron man lights please
alexa voice: There was a problem with the requested skill's response
alexa app:

Code: [Select]
Skill response was marked as failure
Request identifier: amzn1.echo-api.request.........the target lambda application returned a falure response

has anyone had this issue and found how to solve it?

23
VoxCommando Basics and Core Features / Re: Stacking Logic Blocks?
« on: October 26, 2019, 06:27:37 PM »
Hey Daniel, I've done some work with AHK and VC they work fairly well together, I modified a Netflix script to work with VC and added in a bunch of extras, It's been awhile but I'm pretty sure that I used PixelGetColor to verify what screen it was on in the app, here's a link to the post where I shared the .ahk file: https://voxcommando.com/forum/index.php?topic=2145.msg18598#msg18598

it also has some 'Run' actions that's what you'll need to trigger events in VC, I hope this helps

24
New Releases / Re: Major update ALPHA 2.3.0.*
« on: September 17, 2019, 12:07:20 PM »
Awesome work, apparently great minds think alike  ;), I'll have to find some time in the near future to take a look, I'm working on learning my new CNC   ;D

25
New Releases / Re: Major update ALPHA 2.3.0.*
« on: September 17, 2019, 12:48:13 AM »
Hey I've been using the new version for a little over a week now as my main VC And it's working great, I've set Gtts as my tts for everything, but I haven't had time test out AccuWeather more.

I've noticed that  | (pipe) doesn't work with Gtts, so you can't use random phrases like the tts plugin does,

Would it be possible to add in the ability to amplify the MP3 that is played back when using Gtts? with tts I was using a command that made the tts volume seem normal at all levels ex. if watching a video that had a low volume level it would turn down the tts volume so it didn't sound like it was screaming at you and vice versa.

also would It be possible to store the mp3 file name created by the gtts plugin in some type of variable, this could be used to send the mp3 to another device for playback

keep up the great work!  ::bow ::bow :hugs


26
New Releases / Re: Major update ALPHA 2.3.0.1
« on: August 13, 2019, 01:42:38 AM »
hey great work on the new Gtts actions!  :yay ::banana they work great from the testing I've done so far, I think I'm going to change the voice for my theater experience commands just to make it feel a little bit more like a movie theater and being able to change the voice and pitch will make it a lot easier. keep up the great work and enjoy your vacation.

27
New Releases / Re: Major update ALPHA 2.3.0.1
« on: August 12, 2019, 02:09:01 AM »
hey I'm loving the GTTS and the AccuWeather plugins, great work, like always ::bow ::bow ::banana,

here's a bug report / request for the two new plugins

would it be possible to add in something similar to TTS.SpeakSync or Sound.PlayWav's wait option, apparently I have several commands that use TTS.SpeakSync, I was going to switch all my TTS.Speak actions over to GTTS.Speak to really put it to the test but apparently I use TTS.SpeakSync for a lot more commands then I thought, and those commands rely on the pause while its talking.

Looking at the AccuWeather plugin the AccuW.GetForcast says "Format 0-3 What format string to use" when hovering over the format box, but when I try to use "3" the output is "expecting integer from 0 to 3" looking at the AccuWeather plugin under the forecast tab it is showing options "1,2,3", so the integer options aren't lining up properly.

also when first setting up the AccuWeather plugin Current tab when I clicked Test current weather format string the variable [C.Wind.Speed.U] doesn't get filled, looking at the list of variables it should be [C.Wind.Speed].

I already hit my limit for my AccuWeather plugin API ::duh, totally worth it when testing out a new plugin.

keeps up the great work!
 

28
New Releases / Re: Major update ALPHA 2.3.0.1
« on: August 11, 2019, 06:15:41 PM »
That solved the AccuW plugin issue Thanks

29
New Releases / Re: Major update ALPHA 2.3.0.1
« on: August 11, 2019, 04:59:34 PM »
not trying to nit pick the alpha release but I noticed that the action boxes are cut-off when they are not in focus


the top action box is only full because I clicked in the text field, but if I focus another action the top one becomes cut-off and the action I click becomes full sized

30
New Releases / Re: Major update ALPHA 2.3.0.1
« on: August 11, 2019, 04:10:47 PM »
this looks awesome, I can't wait until I have some free time to really test it out, but right now when I try to enable the AccuWeather plugin I get a system error.

I enable the plugin and select "Save and Close" then click ok on the popup, then I see this window immediately after



I click continue and then select a full restart and I see an error in the history window when VC restarts

Error:
Code: [Select]
Error loading plugin: C:\Users\pegle\Desktop\New\Plugins\AccuW\AccuW.dll
I've tried this on my full VC setup and on a fresh install to see if anything would change but I get the same thing with both setups

looking at the log file it makes a mention of:
Code: [Select]
Could not find file 'C:\Users\pegle\Desktop\New\Plugins\AccuW\varinfo.json'.
Log file is from the fresh install, thanks for the great work

Pages: 1 [2] 3 4 ... 34