Recent Posts

Pages: 1 ... 7 8 [9] 10
81
Did some more testing and decided to test it on my HTPC, and low and be hold it works on that pc.


So it looks like the error I'm Getting is local to my Laptop so I'll have to doo some more digging on that.

UPDATE: I was able to resolve the could no create ssl/tsl secure channel error,  :yay
82
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
83
General Discussion / Re: Still VOXing after all this time!
« Last post by PegLegTV 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
84
General Discussion / Re: Still VOXing after all this time!
« Last post by Kalle on September 09, 2022, 06:39:02 AM »
Hi guys,


I'm also still using VoxCommando.

It's a permanent fixture in my smarthome. I rarely use the voice input, but it is unbeatable for saving or forwarding status data and I can't imagine my home without it.
I have a mix of Z-wave / Zigbee / RF433 and infrared - VoxCommando is the only program that brings these devices together.


Kalle
85
General Discussion / Re: Still VOXing after all this time!
« Last post by jitterjames on September 08, 2022, 10:08:18 AM »
Thank you very much Jonathan.  I'm really happy to hear that.

We use VC a bit less than we used to but it is still very much in action in our home too! :D

I do miss the once active community on this forum but such is life!
86
General Discussion / Still VOXing after all this time!
« Last post by JonPeyton on September 07, 2022, 07:59:45 PM »
Developer James,
        You should be quite proud of yourself for having brought the world this wonderful application! While so much in
this hobby {I know for some it's not just a hobby} changes over and over, VoxCommando  has remained relevant and
entertaining year after year!

Well Done sir! and Thank You!

Jonathan Peyton
87
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« Last post by Kalle on August 25, 2022, 01:32:33 AM »

I have tested the aws code from James and also with this I get on the echo only an "OK" as confirmation, see attached image.
Maybe the problem is with the webserver or the settings.


The command is executed correctly, so it's not really a problem, it was always just nice to hear what "Alexa" had understood.
The voice output via VoxCommando works perfectly - who knows what was changed by Amazon in the past, considering how long the skill has existed.


Whether "Alexa" meanwhile releases the device variable, I can not tell you unfortunately.


Kalle
88
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« Last post by PegLegTV 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?

89
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« Last post by jitterjames on August 23, 2022, 10:05:17 AM »
Here is my command xml.  Note that I'm using the GTTS actions here for speech.  If VoxCommando replied with some sort of text it usually gets passed back to Alexa and you hear it both on VC and on the echo.  But for this to work you may need to use my lastest lambda code posted above.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.1.1-->
<command id="47" name="event to voice command" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>(A)Contains(B)</ifType>
    <ifParams>{1}&amp;&amp;play movie</ifParams>
    <then>
      <action>
        <cmdType>VC.TriggerEvent</cmdType>
        <params>
          <param>Play.Movie</param>
          <param>{1}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else />
  </if>
  <action>
    <cmdType>VC.TellVox</cmdType>
    <params>
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>LastActionSuccess</ifType>
    <ifParams>&amp;&amp;</ifParams>
    <then>
      <action>
        <cmdType>GTTS.Speak</cmdType>
        <params>
          <param><![CDATA[ ]]></param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>TCP.WebServer.SetResponse</cmdType>
        <params>
          <param>Jarvis does not understand {1}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
      <action>
        <cmdType>VC.StopMacro</cmdType>
        <params />
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <action>
    <cmdType>GTTS.GetLastText</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <if ifBlockDisabled="False" ifNot="False">
    <ifType>LastActionSuccess</ifType>
    <ifParams>{LastResult}&amp;&amp; </ifParams>
    <then>
      <action>
        <cmdType>TCP.WebServer.SetResponse</cmdType>
        <params>
          <param>{LastResult}</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </then>
    <else>
      <action>
        <cmdType>TCP.WebServer.SetResponse</cmdType>
        <params>
          <param>OK</param>
        </params>
        <cmdRepeat>1</cmdRepeat>
      </action>
    </else>
  </if>
  <event>EchoToVC</event>
</command>
90
VoxCommando Basics and Core Features / Re: Echo Dot Integration 2018
« Last post by jitterjames on August 23, 2022, 10:02:49 AM »
I think it is set in the command actions Kalle.

See attached:
Pages: 1 ... 7 8 [9] 10