News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Recent posts

#61
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by PegLegTV - December 17, 2022, 06:05:18 PM
I thoguht I was running the most recent version but I was running version 2.3.0.3, so I update my laptop to 2.3.1.1, when doing so I had an error pup up

QuoteVoxcommando Installer/Updater (Version 2.311)

Could not download Visual Studio 2010 Redist; none of the mirrors
appear to be functional.

I clicked ok so the update would continue, so I could do some more testing with the beam plugin.

is this what I need to download Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update to fix the above error? (this is a new Laptop)

after the update I didn't see any difference in the code output, so I made the adjustments to noise(5) and equal +/- (10), this causeed multiple codes (data) to be collected but did show compressed codes, none of them worked. so I played with the settings and the only way to reduce the amount of raw codes being detected was setting noise at 9, but none of the compressed codes worked on my laptop. Ill have to do more testing (posibly Monday).

while doing some testing with the beam pluggin I also got this error

QuoteSystem.InvalidOperationException: Collection was modified;
enumeration operation may no execute
at
System.ThrowHelper.ThrowIvalidOperationException(ExceptionResource resource)
at System.Collection.Generic.List'1.Enumerator.MoveNextRare()
at System.String.Join[T][string separator, IEnumerable'1 values)
at vcPlugin.ctlMain.< > c__DisplayClass26_0.<processDataRF>b__0()

it didn't cause any problems so I'm not sure what caused it or what it means exactly, it popped up while click the RF buttons to test the compressed codes (maybe I clicked the next RF button to fast)
#62
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by jitterjames - December 17, 2022, 10:46:50 AM
What version of VC are you using Pegleg?
#63
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by jitterjames - December 17, 2022, 10:45:21 AM
normally noise should be set lower (maybe 5) and increasing the "Equal +/-" to about 10 is going to help your compressed codes.  You see your values of 38, 41, 40, 42.  Those are probably all the same duration and the Equal +/- will allow VC to see that they are all the same and change them all to the average of their values.  So they will all be set to something like 40, and then replaced with a letter.
#64
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by Kalle - December 16, 2022, 02:50:16 PM

Thanks for all the info.


If the second code was work for you, it is easy to shorten all you codes without an math or regec or what ever.
The only thing you have to do - take a look where is the large number is and cut it out to the last number before the next similar large number starts (include thecomma at the end).


example:


123,41,121,41,120,122,41,41,120,122,41,41,120,122,41,121,41,41,121,42,120,42,120,43,119,43,120,123,40,42,120,43,120,42,1201,57,106,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,43,119,123,40,42,120,122,41,42,120,122,41,121,42,41,121,42,120,42,120,42,120,43,119,123,40,42,120,42,120,42,1201,56,107,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,120,122,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,42,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,120,122,41,41,121,122,41,121,42,40,121,41,121,42,120,42,120,42,120,122,41,41,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,121,121,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,41,121,42,120,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,121,122,41,41,121,121,41,121,42,40,121,41,121,42,121,42,120,42,120,122,41,41,121,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,


This is your posted raw code and you can see the correct sequence ist starting at green and repeatedly continuous - the red marked is the code is not needed.


Kalle
#65
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by PegLegTV - December 16, 2022, 02:06:17 PM
I tested both codes that you posted, only the second code worked.

I did some testing with the beam plugin

Beam Settings:
Lock Min: 100
Lock Max: 5000
Noise: 40 (any higher and no codes show up)
Equal +/-: 2

Beam Plugin Raw RF code:
http://192.168.1.202/learnRFraw?lmin=100&lmax=5000&nt=40
Data: 123,41,121,41,120,122,41,41,120,122,41,41,120,122,41,121,41,41,121,42,120,42,120,43,119,43,120,123,40,42,120,43,120,42,1201,57,106,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,43,119,123,40,42,120,122,41,42,120,122,41,121,42,41,121,42,120,42,120,42,120,43,119,123,40,42,120,42,120,42,1201,56,107,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,120,122,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,42,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,120,122,41,41,121,122,41,121,42,40,121,41,121,42,120,42,120,42,120,122,41,41,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,121,121,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,41,121,42,120,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,121,122,41,41,121,121,41,121,42,40,121,41,121,42,121,42,120,42,120,122,41,41,121,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,
Sequences detected: 1
LockMin: 100,  LockMax: 5000,  NoiseTheshold: 40


no compressed code.

Note: I would see some occasional compressed codes but when they showed up none of them worked, and neither did the raw code. So as I worked through the remote buttons if I saw compressed codes, the raw code didn't look like other codes that worked, so I wouldn't test it.

I only have one other remote that uses 433mhz (projector screen), and that remote never generated any compressed codes origianly. when I test it now, the raw code is much longer and causes VC to freeze short tearm and the beam to restart, but the raw code does work.

Projector Screen Remote Beam output:
http://192.168.1.202/learnRFraw?lmin=100&lmax=5000&nt=20
Data: 1090,123,21,117,29,112,33,38,105,37,105,107,38,33,108,106,38,105,38,33,109,34,109,106,38,105,39,32,110,105,39,33,109,105,38,33,109,105,38,33,109,33,109,34,108,34,108,106,38,33,1103,116,29,113,32,110,34,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,109,105,39,33,109,105,39,33,110,105,39,32,110,33,109,34,108,34,108,106,38,33,1103,116,29,113,32,111,33,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,109,105,38,33,109,105,38,33,109,105,39,33,109,33,109,34,108,34,108,106,38,33,1103,116,29,113,32,111,34,37,106,37,105,108,36,35,107,107,37,106,37,33,109,33,108,106,38,105,38,33,109,105,38,33,109,106,38,33,109,105,38,33,109,34,109,34,108,34,108,106,38,33,1103,116,29,113,32,110,34,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,110,105,38,33,109,105,38,33,109,105,38,33,109,34,109,34,108,34,108,106,38,33,1103,116,29,113,32,110,33,37,105,37,106,108,36,35,107,107,37,106,37,34,109,34,109,106,37,105,38,33,109,105,38,33,109,106,38,32,110,105,38,33,109,33,109,34,108,34,108,106,38,33,
Sequences detected: 1
LockMin: 100,  LockMax: 5000,  NoiseTheshold: 20


after looking over the code, there are six codes generated, all of them work, the first one is different and the last five are identical. with this remote the projector screen will beap when the button is pressed so I only press the button until I hear the beap which is a quick press of the button.


1090,123,21,117,29,112,33,38,105,37,105,107,38,33,108,106,38,105,38,33,109,34,109,106,38,105,39,32,110,105,39,33,109,105,38,33,109,105,38,33,109,33,109,34,108,34,108,106,38,33,

1103,116,29,113,32,110,34,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,109,105,39,33,109,105,39,33,110,105,39,32,110,33,109,34,108,34,108,106,38,33,
1103,116,29,113,32,111,33,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,109,105,38,33,109,105,38,33,109,105,39,33,109,33,109,34,108,34,108,106,38,33,
1103,116,29,113,32,111,34,37,106,37,105,108,36,35,107,107,37,106,37,33,109,33,108,106,38,105,38,33,109,105,38,33,109,106,38,33,109,105,38,33,109,34,109,34,108,34,108,106,38,33,
1103,116,29,113,32,110,34,37,105,37,106,108,36,35,107,107,37,106,38,33,109,34,108,106,38,105,38,33,110,105,38,33,109,105,38,33,109,105,38,33,109,34,109,34,108,34,108,106,38,33,
1103,116,29,113,32,110,33,37,105,37,106,108,36,35,107,107,37,106,37,34,109,34,109,106,37,105,38,33,109,105,38,33,109,106,38,32,110,105,38,33,109,33,109,34,108,34,108,106,38,33,


this remote does start with a higher number like your mentioned in your post.

these are the remotes that I'm testing with

Amazon: SUPERNIGHT RGB Light Strip Remote Controller, RF Remote
Amazon: Projector Screen

the LED RF Remote doesn't say if it is 433mhz or 315mhz, it was a black Friday sale $6.33 USD so I risked it, when the beam couldn't read the remote origianally, I ordered a remote that said it was 433mhz however even with the new RF receiver that remote never produced any codes with the beam so I returned it.

I'm sorry I know that that is a lot of information above, but I wanted to make sure you knew what I have tried and what the results were.
#66
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by Kalle - December 15, 2022, 02:22:41 AM

Now that makes me curious - I have a lot of 433MHz remotes and none of them produce such a start frequency. What I mean, your RF code starts with a relatively small sequence of numbers (initial code: 102,134,32,128,36,124,40,122,41, ...), which I have never seen before, no matter from which RF remote control - the initial code always starts with a large number.


I am in the lucky position to test your working code with two BEAM's and the BEAM Plugin (one BEAM transmits, one receives) and have the following result which you could try out.

/sendRFraw?code=1019,69,105,54B129,36DEDEDEE120EFEFDEEFDEEDDEDEEDEFEFCFEFDEEF45BDEDEDEDEFEB248,24DFCEDFEEDFEFEFEFEFEFEFEFEFEFEFEEFEFEFEFE

This is a part of your original code, which i have shortened:
/sendRFraw?code=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,


In the Beam plugin there is the possibility to adjust the noise - try higher values, this will filter the sequences a bit or lower values to see more sequences but a lot of trash.
What surprises me is that you don't get anything in the BEAM plugin under "Compressed Code" when you try to learn the remote control with the BEAM.


Kalle
#67
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by PegLegTV - December 14, 2022, 01:13:50 PM
Kalle, sorry I forgot to respond to yours when I got back home. the raw codes that worked never produced anything on the bottom half of the screen like your showing in the picture, so it took me a little bit to spot when a raw code was good or not just had to look for the lenth and starting numbers.

After some testing I found that if I cut the raw code down to 96 integer groupings then the commands would work and not freeze VC and restart the beam

          1     2   3    4   5
         102,134,32,128,36

from there I made a command in VC so I could input the raw code and the remote button name and have it create a map table with the button names and code, along with testing the new raw code. from there it was fairly easy, all I had to do was repeat that 32 times for all the buttons I wanted to learn.  :bonk

only four buttons where difficult to figure out (dim,brighter, faster, slower) but after some testing I relized that they need to be repeated multiple times in order to see a difference so I just added &n=9 to the end of the raw codes and the problem with those buttons were solved.


Jitterjames, I tested the raw code you posted and I also tried your code by adding &n=2 to the end of your command but still no luck, from what I can tell it seems that anything less than 96 integer groupings the codes would not work. however after looking at the raw code with your input I did find that the code repeats twice minus the big number.

Working Power on:
{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,

Raw code borken down
                 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,


Beam RF code shortner commands that I used
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.3.0.3-->
<commandGroup open="True" name="Beam RF Code Shortener" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="1040" name="RF code shortener" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Action number 1 replace (PUT RAW RF CODE HERE) with your raw RF Code&#38;#xD;&#38;#xA;Action number 3 repeats X amout of times to set the length of the new raw code&#38;#xD;&#38;#xA;{1} = button name for the Maptable">
    <action>
      <cmdType>Results.SetVar</cmdType>
      <params>
        <param>NewCode</param>
        <param>(PUT RAW RF CODE HERE)</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegEx</cmdType>
      <params>
        <param>(\d+)</param>
        <param />
        <param>{Var.NewCode}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.SetVar</cmdType>
      <params>
        <param>Desktop</param>
        <param>C:\Users\{Var.username}\Desktop\</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Append</cmdType>
      <params>
        <param>{Var.Desktop}Code.txt</param>
        <param>{Match.{i}},</param>
      </params>
      <cmdRepeat>96</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Read</cmdType>
      <params>
        <param>{Var.Desktop}Code.txt</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Map.Set</cmdType>
      <params>
        <param>TEST</param>
        <param>{1}</param>
        <param>{LastResult}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Delete</cmdType>
      <params>
        <param>{Var.Desktop}Code.txt</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Scrape</cmdType>
      <params>
        <param>{M:IP.Beam 2.0}/sendRFraw?code{M:TEST.{1}}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="855" name="Short RF code Test" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1} = Button name to test">
    <action>
      <cmdType>scrape</cmdType>
      <params>
        <param>{M:IP.Beam 2.0}/sendRFraw?code={M:TEST.{1}}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
  <command id="1108" name="Export TEST Map to new maptable and payload file" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="{1} = New MapTable name that you want (no spaces)&#38;#xD;&#38;#xA;{2} = Payload.xml file name that you want (without  .xml) (stored in {Path.VC}\payloads)">
    <action>
      <cmdType>Map.ExportPayloadXML</cmdType>
      <params>
        <param>Payloads\TEST.xml</param>
        <param>TEST</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Read</cmdType>
      <params>
        <param>{Path.VC}\Payloads\TEST.xml</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.RegExSingle</cmdType>
      <params>
        <param>&lt;payload&gt;.*?&lt;value&gt;(.*?)&lt;/value&gt;.*?&lt;phrase&gt;(.*?)&lt;/phrase&gt;</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.MatchToMap</cmdType>
      <params>
        <param>{1}</param>
        <param>True</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Map.ExportPayloadXML</cmdType>
      <params>
        <param>Payloads\{2}.xml</param>
        <param>{1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>File.Delete</cmdType>
      <params>
        <param>{Path.VC}\Payloads\TEST.xml</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Map.DropTable</cmdType>
      <params>
        <param>TEST</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Map.CreateTable</cmdType>
      <params>
        <param>TEST</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
  </command>
</commandGroup>


Thank you guys for the help and input.
#68
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by jitterjames - December 14, 2022, 12:10:03 PM
If you break it down your code looks like this:  You can see the pattern.
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,
#69
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by jitterjames - December 14, 2022, 12:02:20 PM
You may only need up to the first larger number, possibly also setting n>1

eg:

{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
#70
BEAM IR/RF Wifi transceiver / Re: BEAM documentation / news
Last post by Kalle - December 10, 2022, 02:53:38 AM
Hi PegLeg,
nice to hear that your problem is solved.
You can also send the compressed code instead of the raw code which is displayed in the BEAM plugin.

example code: /sendRFraw?code=1130,39,104ABABABABABABABABABABBAABABABABABABABBAABBAABABA


or an other option is to use the BEAM WebUI for learning a code (if it possible) and maybe you have a code that looks like: /sendRF?code=4116&bits=24&n=1