GithubHelp home page GithubHelp logo

Promax support about rc-switch HOT 4 OPEN

sui77 avatar sui77 commented on June 26, 2024
Promax support

from rc-switch.

Comments (4)

fingolfin avatar fingolfin commented on June 26, 2024

The extra symbols are weird -- it looks like the string returned by bin2tristate was not properly null terminated.

Anyway: How do you transmit the codes, exactly? Using RCSwitch, or using custom code? If using RCSwitch, how exactly?

from rc-switch.

S-Knop avatar S-Knop commented on June 26, 2024

Hi,

I've it currently working with a small work around.,
the remote sends multiple signals, 24 bit and 28 bit.
I've tried all buttons on the remote and multiple tools/ lib to sniff but without success.

when i send from the remote it looks the same as yours but without those weird symbols at tristate:

signal from remote:
Decimal: 1048853
(24Bit) Binary: 000100000000000100010101
Tri-State: 0F00000F0FFF
PulseLength: 314 microseconds
Protocol: 1
Raw data: 1103337,328,31,2170,198,46,5,8,6,7,390,254,1030,254,1035,249,1035,249,1031,253,1030,254,1036,248,1049,235,1032,253,1028,256,1035,249,1030,894,393,251,1035,249,1030,254,1038,887,393,251,1033,891,395,249,1034,

then I came across a post on a dutch forum with these codes for the Promax switch set,
when these codes are transmitted with pimatic it gives different results in RCswitch.

transmitted with pimatic
pulseCount 50
pule length: 222, 438, 952, 5028
0202210202212102210202022102022121210221022102212121210203

received with RCswitch
Decimal: 40410462
(28Bit) Binary: 0010011010001001110101011110
Tri-State: not applicable
PulseLength: 504 microseconds
Protocol: 2
Raw data: 5055,225,968,222,968,953,454,222,968,223,967,953,453,953,455,221,969,953,454,222,968,223,967,223,968,952,454,222,971,225,971,954,454,960,458,955,456,225,971,954,457,229,971,954,459,226,970,953,454,953,455,953,454,952,456,221,970,

put a unit in learning mode an try the decimals from the code.
code I used.

/*
  Example for different sending methods

  https://github.com/sui77/rc-switch/

some extra decimals
A 40025046 ON
A 38856910 OFF
B 41567385 ON
B 39916253 OFF
C 240760633 ONN
C 240257549 OFF
D 105444762 ONN
D 107879350 OFF

*/

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {

  Serial.begin(9600);

  // Transmitter is connected to Arduino Pin #10  
  mySwitch.enableTransmit(10);

  // Optional set pulse length.
  mySwitch.setPulseLength(470);

  // Optional set protocol (default is 1, will work for most outlets)
  mySwitch.setProtocol(2);

  // Optional set number of transmission repetitions.
  // mySwitch.setRepeatTransmit(15);

}

void loop() {


  /* Same switch as above, but using decimal code */
  mySwitch.send(40410462, 28); // turn A on
  delay(1000);  
  mySwitch.send(39172218, 28); // turn A off
  delay(1000);  

  delay(20000);
}

ps: srry for my english ;)

from rc-switch.

S-Knop avatar S-Knop commented on June 26, 2024

Nvm with latest version i am receiving the propper decimals 👍 so it does support promax.

from rc-switch.

pasibun avatar pasibun commented on June 26, 2024

Hey S Knop / KoenWijnstok,

Im currently working on the same thing. Connecting a Pi3 through RC Switch with a cheap china 433mhz TX/RX. Also bought the Action PROMAX (FA500S).

When using the Receive_Advanced demo Im getting good results.
What do I need to configure to send proper code to the Promax?

from rc-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.