pericent67 / homeeasyhacking

Automatically exported from code.google.com/p/homeeasyhacking
0 stars 0 forks source link

Compatibility with ByeByeStandby 2011 protocol #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to use the library with BBSB2011 devices

ByeByeStandby (Domia Lite) have a new range of devices that they are calling 
the 2011 range... and it uses a different protocol to the simple and HE 
advanced protocols.

I have captured commands sent by the remotes I have, and deduced that a message 
is constructed as follows:

Sender (16-bit) + Command (5-bit) + Recipient (3-bit) + 0 (1-bit)

Where:

Sender:- 0x0001-0xFFFF (built into the remote)
Command:- 0x14 (off) or 0x15 (on)
Unit:- 1-7 **

This is repeated more than once, with a gap of around 9ms in between each 
repeat.

A '1' is represented as 900us high followed by 300us low.
A '0' is represented as 300us high followed by 900us low.

** The unit numbers map as follows...
Number on remote   Unit
   1                7
   2                5
   3                3
   4                6
   5                4
   6                2
   Group            1

Attached is an updated library that adds compatibility with BBSB2011 devices, 
and a patch to apply against the current source.

Nathan

Original issue reported on code.google.com by nbur...@gmail.com on 23 Mar 2011 at 1:42

Attachments:

GoogleCodeExporter commented 8 years ago
Compiling error:

C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp: In member function 
'void HomeEasy::initSending()':
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:78: error: 'DDRL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:78: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp: In function 'void 
__vector_11()':
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:492: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:492: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:496: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:496: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:559: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:559: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:563: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:563: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:643: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:643: error: 'PL1' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:647: error: 'PORTL' was 
not declared in this scope
C:\arduino\arduino-0021\libraries\homeeasy\HomeEasy.cpp:647: error: 'PL1' was 
not declared in this scope

Can i resolve this?

Original comment by jongeren...@gmail.com on 12 Jul 2011 at 7:36

GoogleCodeExporter commented 8 years ago
I've attached a slightly modified version which may fix it for you (changes the 
defaults so it should work without any modification on both standard and mega 
arduinos).

Please let me know if this fixes it, and exactly which Arduino you are using.

Nathan

Original comment by nbur...@gmail.com on 13 Jul 2011 at 8:46

Attachments: