News:

HOT TIP! Enable the History Window in the main UI when trying to problem solve. It provides a handy log of what is happening. Roll over lines in the History to get more details.

Main Menu

Recent posts

#71
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by PegLegTV - December 09, 2022, 02:36:54 PM
I got the new 433mhz chip set in yesterday and got the anttenas attatched. and it solved the problem.  :yay

I'm working on learning the codes for my RF Led strip Lights, the codes are extreamly long, the only working codes are the initial raw codes, and they cause the Beam to restart and VC to freeze for around 20 seconds after sending them.

I've tried adjusting settings to no avail.

current settings:
Lock Min: 100
Lock Max: 1202 (lowest it can be set or I don't get any codes)
Noise: 10
Equal: 2

I've tried adjusting all of the above settings, but I see the same results.

Raw Code for "power on" that works but causes the Beam to restart.
{M:IP.Beam 2.0}/sendRFraw?code=102,134,32,128,36,124,40,122,41,121,42,40,121,42,121,42,120,122,41,41,121,122,42,41,121,121,42,121,43,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,120,42,1201,55,108,52,111,128,36,125,38,124,39,123,40,122,41,41,122,41,121,42,120,122,41,41,121,121,42,41,121,122,42,121,43,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,120,42,1201,55,108,52,111,128,36,125,38,124,40,122,40,122,42,41,121,42,121,42,120,122,41,41,121,122,42,41,121,121,41,121,43,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,120,42,1201,55,108,52,111,128,36,125,38,124,40,122,40,122,41,41,121,41,121,42,120,122,41,41,121,122,42,41,121,121,42,120,43,40,122,41,121,41,121,42,121,42,120,122,41,41,121,42,120,42,1201,55,108,52,111,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,41,121,122,41,41,121,122,41,121,42,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,120,42,1201,56,108,52,111,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,41,121,121,42,41,121,121,42,121,42,40,122,41,121,42,121,42,120,42,120,122,41,41,121,42,120,42,1201,55,108,52,


Raw code for "power on" that I edited manualy, (I deleted two numbers at a time and tested each time until it failed, then used the last working code)
this code does not cause any problems, and turns on my strip lights
{M:IP.Beam 2.0}/sendRFraw?code=102,134,32,128,36,124,40,122,41,121,42,40,121,42,121,42,120,122,41,41,121,122,42,41,121,121,42,121,43,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,120,42,1201,55,108,52,111,128,36,125,38,124,39,123,40,122,41,41,122,41,121,42,120,122,41,41,121,121,42,41,121,122,42,121,43,40,122,41,121,41,121,42,120,42,120,122,41,41,121,42,


do you guys have any tips on how to shorten these codes so they don't cause the beam to restart and vc to freeze, other than manully editing them?

update: I created a VC Command to Shorten the codes. I was able to shorten all the codes so they don't cause the beeam to restart or cause VC to freeze.

thank you!
#72
VoxCommando Basics and Core Features / Re: Voxcommando to control And...
Last post by monkee - December 07, 2022, 04:13:03 PM
Quote from: PegLegTV on December 07, 2022, 02:23:51 PM
I tried this a few years back and wasn't able to get it to work.

you could look into Join by joaoapps and tasker, I'm not sure how well it will work as a remote structure though.

Join has a rest Api so you can use it with VC, I use it for notifications, and tasker actions.

your work flow might be something like this:

VC (Join API(Tasker actions)) > Tasker (on Shield TV) > Tasker send ADB cmd.

Join and Tasker are paid apps, I paid $3.00 USD each I believe.


Join Actions group:
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.3-->
<commandGroup open="False" name="Join - Notifications" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="746" name="Join Basic Notification" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#38;#xD;&#38;#38;#xA;{2}=Title&#38;#38;#xD;&#38;#38;#xA;{3}=Text&#38;#38;#xD;&#38;#38;#xA;{4}=Icon&#38;#38;#xD;&#38;#38;#xA;{5}=Notification Bar Icon">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={3}&amp;title={2}&amp;icon={M:JoinNotification.{4}}&amp;smallicon={M:JoinNotification.{4}Icon}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Notification</event>
  </command>
  <command id="809" name="Join Tasker Command" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#38;#xD;&#38;#38;#xA;{2}= Tasker command (text)">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Tasker</event>
  </command>
  <command id="810" name="Join Tasker (all Androids)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Tasker command">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=group.android&amp;text={1}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Tasker.Group</event>
  </command>
  <command id="817" name="Join android App" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#38;#xD;&#38;#38;#xA;{2}= App Name">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;app={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Android.App</event>
  </command>
  <command id="846" name="Join Set Device Clipboard" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1} Device name&#38;#38;#xD;&#38;#38;#xA;{2} Tasker &quot;Event&quot;">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;clipboard={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Clipboard</event>
  </command>
  <command id="812" name="Join Say" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#38;#xD;&#38;#38;#xA;{2}= What to say">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;say={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Say</event>
  </command>
  <command id="789" name="Join set volume Android Devices" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=group.android&amp;mediaVolume=100&amp;ringVolume=100&amp;alarmVolume=100&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="844" name="Join Link" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="NOTIFICATION&#38;#38;#xD;&#38;#38;#xA;{1}=Device Name&#38;#38;#xD;&#38;#38;#xA;{2}=Title&#38;#38;#xD;&#38;#38;#xA;{3}=Text&#38;#38;#xD;&#38;#38;#xA;{4}=Icon&#38;#38;#xD;&#38;#38;#xA;{5}=url">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={3}&amp;title={2}&amp;url={5}&amp;dismissOnTouch=true&amp;icon={M:JoinNotification.{4}}&amp;smallicon={M:JoinNotification.{4}Icon}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Link</event>
  </command>
</commandGroup>


there are multpile commands in the group above they will all require your Join API key,

replace {M:apiKeys.Join} with your API Key

Thanks so much for the additional options, I'll let you know if I get it working, one way or another!
#73
VoxCommando Basics and Core Features / Re: Voxcommando to control And...
Last post by monkee - December 07, 2022, 04:10:56 PM
Quote from: jitterjames on December 06, 2022, 03:06:24 PM
I don't know much about sending ADB commands or the protocols involved but I  doubt it is something that you cando  directly from VC unless there is a python script that works in IronPython.

But if you are able to send commands using a command prompt then I woud try to initiate them from VC the way we do other command prompt actions.

Thanks James, if VC can't do it directly from a plugin, I was thinking I would interact with the app I linked to using batch files, triggered by VC, but it sounds like I can skip the batch files and interact with the command prompt directly from VC.  I'll have to look into that when I'm ready to give this a shot.  Thank you!
#74
VoxCommando Basics and Core Features / Re: Voxcommando to control And...
Last post by PegLegTV - December 07, 2022, 02:23:51 PM
I tried this a few years back and wasn't able to get it to work.

you could look into Join by joaoapps and tasker, I'm not sure how well it will work as a remote structure though.

Join has a rest Api so you can use it with VC, I use it for notifications, and tasker actions.

your work flow might be something like this:

VC (Join API(Tasker actions)) > Tasker (on Shield TV) > Tasker send ADB cmd.

Join and Tasker are paid apps, I paid $3.00 USD each I believe.


Join Actions group:
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.3-->
<commandGroup open="False" name="Join - Notifications" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="746" name="Join Basic Notification" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#xD;&#38;#xA;{2}=Title&#38;#xD;&#38;#xA;{3}=Text&#38;#xD;&#38;#xA;{4}=Icon&#38;#xD;&#38;#xA;{5}=Notification Bar Icon">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={3}&amp;title={2}&amp;icon={M:JoinNotification.{4}}&amp;smallicon={M:JoinNotification.{4}Icon}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Notification</event>
  </command>
  <command id="809" name="Join Tasker Command" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#xD;&#38;#xA;{2}= Tasker command (text)">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Tasker</event>
  </command>
  <command id="810" name="Join Tasker (all Androids)" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Tasker command">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=group.android&amp;text={1}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Tasker.Group</event>
  </command>
  <command id="817" name="Join android App" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#xD;&#38;#xA;{2}= App Name">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;app={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Android.App</event>
  </command>
  <command id="846" name="Join Set Device Clipboard" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1} Device name&#38;#xD;&#38;#xA;{2} Tasker &quot;Event&quot;">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;clipboard={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Clipboard</event>
  </command>
  <command id="812" name="Join Say" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1}= Device Name&#38;#xD;&#38;#xA;{2}= What to say">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;say={2}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Say</event>
  </command>
  <command id="789" name="Join set volume Android Devices" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceId=group.android&amp;mediaVolume=100&amp;ringVolume=100&amp;alarmVolume=100&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="844" name="Join Link" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="NOTIFICATION&#38;#xD;&#38;#xA;{1}=Device Name&#38;#xD;&#38;#xA;{2}=Title&#38;#xD;&#38;#xA;{3}=Text&#38;#xD;&#38;#xA;{4}=Icon&#38;#xD;&#38;#xA;{5}=url">
    <action>
      <cmdType>Tools.Encode.URI</cmdType>
      <params>
        <param>https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?deviceNames={1}&amp;text={3}&amp;title={2}&amp;url={5}&amp;dismissOnTouch=true&amp;icon={M:JoinNotification.{4}}&amp;smallicon={M:JoinNotification.{4}Icon}&amp;apikey={M:apiKeys.Join}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Join.Link</event>
  </command>
</commandGroup>


there are multpile commands in the group above they will all require your Join API key,

replace {M:apiKeys.Join} with your API Key
#75
I don't know much about sending ADB commands or the protocols involved but I  doubt it is something that you cando  directly from VC unless there is a python script that works in IronPython.

But if you are able to send commands using a command prompt then I woud try to initiate them from VC the way we do other command prompt actions.
#76
VoxCommando Basics and Core Features / Voxcommando to control Android...
Last post by monkee - December 06, 2022, 04:39:52 AM
Hi, I'd like to use VC to control my Android device using ADB over my home network.  This should be possible but is broadcasting ADB commands over the network something Voxcommando can do?  Maybe with a plugin?

I'm using a Shield TV and want to control Play/Pause/rewind etc via voice.  I know how to do it, including using this handy app: Minimal ADB and Fastboot, (more info here and here) to send the ADB over the network and without rooting the android device too, but it would be much better to do it straight from VC. 

Thanks in advance!
Kevin
#77
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by jitterjames - December 02, 2022, 06:10:37 PM
I did not know those chips could go bad but they are pretty cheap so trying a new one is probably the easiest place to start.

You should also try to remove the chip, check that the contacts are clean and that the antenna is secure and put it back in.

Make sure when learning codes to avoid other RF signals if possible and put your remote close to the receiving chip. There can also be some technique involved in holding down the remote button for long enough. Varies by remote.

Good luck and let us know what happens.
#78
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by Kalle - December 02, 2022, 05:22:29 AM
Try first a new chip, if this doesn't help, let me know and I can assemble you a complete new PCB Board with all components.

Best wishes,
Kalle
#79
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by PegLegTV - December 02, 2022, 03:20:18 AM
Hey kalle, yeah I double checked that I was using the same settings as James does in his tutorial video. I tried adjusting the noise setting to see if that helped and it helped to block the phantom codes but still couldn't read the remote code.

I swapped my RF receiver chips incase I had the wrong one installed and still didn't see any codes.

Thank you! I'll get the one from Amazon ordered, and let you know how it goes.
#80
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by Kalle - December 01, 2022, 04:39:53 PM
Hi PegLeg,
the phantom code looks really bad - did you checked the BEAM plug-in RF settings if there is something wrong with the parameter?
If the Chip is damaged, the first one of your Amazon link is the best choice.


One other thing - are you sure you have only insert the 433MHz RF receiver in your BEAM? You can use only one receiver in the BEAM for learning RF codes (433MHz or 315MHz). So if you have both receiver installed, remove the 315MHz Chip first before start learning a code.


Kalle