Skip to content

[RFC]Add support for ClassOhlson Nexa remotes#124

Open
vamanea wants to merge 1 commit intosui77:masterfrom
vamanea:master
Open

[RFC]Add support for ClassOhlson Nexa remotes#124
vamanea wants to merge 1 commit intosui77:masterfrom
vamanea:master

Conversation

@vamanea
Copy link
Copy Markdown

@vamanea vamanea commented Feb 19, 2017

The remotes sold in ClasOhlson in scandinavia have a slightly longer sync sequence(added a skip pulse field in the protocol) and a 64 bit code word. Part of the code gets lost but that seems to be OK until support for 64 bit codes is added.
I'm not quite sure this is the best way to do this, but it's the least amount of code changed.

The output looks like this:

Decimal: 2522218496 (65Bit) Binary: 00000000000000000000000000000000010010110010101101101010011010010 Tri-State: not applicable PulseLength: 222 microseconds Protocol: 7
Raw data: 10240,252,2680,256,288,248,1312,248,1300,248,300,248,288,248,1308,252,1304,248,296,248,1300,252,300,248,288,248,1312,248,292,248,1308,252,1304,244,312,248,292,244,1312,248,1304,248,296,248,288,252,1308,252,1304,248,296,248,1304,248,296,248,292,248,1316,244,1304,244,300,248,296,240,1328,244,296,244,1312,248,1304,248,304,240,1308,244,304,244,292,240,1320,244,1308,240,308,240,1312,240,304,240,1316,236,308,236,304,236,1336,236,1312,240,316,228,304,232,1336,224,308,228,1340,220,1324,228,320,228,312,224,1332,228,312,224,1332,228,316,220,1336,224,320,216,1332,

Decimal: 2522245802 (65Bit) Binary: 00000000000000000000000000000000010010110010101101101010011010010 Tri-State: not applicable PulseLength: 222 microseconds Protocol: 7
Raw data: 10272,228,2700,232,308,228,1332,232,1320,228,316,232,304,232,1332,228,1320,232,316,228,1324,228,320,228,308,228,1332,228,312,224,1336,224,1332,220,332,224,316,220,1340,224,1324,224,324,224,316,220,1336,224,1328,224,324,220,1332,220,324,228,308,224,1344,216,1324,228,324,220,316,224,1348,224,312,224,1336,228,1320,228,320,228,1324,228,320,224,312,228,32,1344,256,1140,188,504,60,316,68,224,1324,228,316,232,312,224,1340,232,1324,228,316,232,304,232,1328,232,312,224,1328,236,304,232,1324,236,308,228,1328,236,304,232,1324,236,304,808,1056,520,40,284,56,

Extend the possible number of changes to 133 and allow a slightly longer
syncronization sequence
@Smart111222
Copy link
Copy Markdown

длд

abmantis added a commit to abmantis/esphome that referenced this pull request Jun 30, 2019
This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."
abmantis added a commit to abmantis/esphome that referenced this pull request Jun 30, 2019
This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."
abmantis added a commit to abmantis/esphome that referenced this pull request Jul 3, 2019
This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."
abmantis added a commit to abmantis/esphome that referenced this pull request Jul 3, 2019
This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."
OttoWinter pushed a commit to esphome/esphome that referenced this pull request Oct 12, 2019
* add nexa remote support.

This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."

* add default value to ctor

* allow 64bit codes

* lint

* make vars 64 bits
silverchris pushed a commit to silverchris/esphome that referenced this pull request May 23, 2020
* add nexa remote support.

This is inspired by: sui77/rc-switch#124
As described there: "The remotes sold in ClasOhlson in scandinavia have
a slightly longer sync sequence(added a skip pulse field in the
protocol) and a 64 bit code word. Part of the code gets lost but that
seems to be OK until support for 64 bit codes is added."

* add default value to ctor

* allow 64bit codes

* lint

* make vars 64 bits
This was referenced Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants