User Tools

Site Tools


elro_ad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

elro_ad [2014/04/29 20:24]
curlymo
elro_ad [2015/11/27 21:09]
Line 1: Line 1:
-**ELRO Advanced** 
  
-^Feature^Support^ 
-|Sending|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
-|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
-|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| 
- 
-Supported Brands 
-^Brand^Protocol^ 
-|**Elro Advanced**|**elro_ad**| 
- 
-Sender Arguments 
-<​code>​ 
--s --systemcode=systemcode ​    ​control a device with this systemcode 
--u --unitcode=unitcode ​        ​control a device with this unitcode 
--t --on                        send an on signal 
--f --off                       send an off signal 
--a --all                       ​trigger group switching 
-</​code> ​ 
- 
-Config 
-<​code>​ 
-        "​living":​ { 
-                "​name":​ "​Living",​ 
-                "​switch":​ { 
-                        "​name":​ "​Switch",​ 
-                        "​protocol":​ [ "​elro_ad"​ ], 
- "​id":​ [{ 
- "​systemcode":​ 123456, 
- "​unitcode":​ 24 
- }], 
-                        "​state":​ "​on"​ 
-                } 
- 
-        } 
-</​code>​ 
- 
-Optional Settings 
- 
-^Setting^Default^Format^Description^ 
-|all|0|1 or 0|If specified this will trigger the "​group"​ function of the advanced remotes and trigger all registered devices for the given Systemcode| 
-|gui-readonly|0|1 or 0|Disable controlling this device from the GUIs| 
- 
-Protocol 
- 
-This protocol sends 116 pulses like this  
- 
-<​code>​ 
-302 1208 302 1208 302 302 302 302 302 302 302 1208 302 1208 302 1208 302 1208 302 302 302 302 302 1208 302 302 302 1208 302 1208 302 1208 302 1208 302 302 302 302 302 1208 302 302 302 1208 302 1208 302 302 302 302 302 1208 302 302 302 1208 302 1208 302 1208 302 1208 302 302 302 302 302 1208 302 1208 302 302 302 1208 302 1208 302 302 302 302 302 1208 302 302 302 1208 302 1208 302 302 302 1208 302 1208 302 302 302 1208 302 302 302 1208 302 302 302 302 302 1208 302 1208 302 1208 302 302 302 10268 
-</​code>​ 
- 
-These pulses are separated into groups of 2:  
- 
-<​code>​ 
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 302  
-302 1208  
-302 1208  
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 302  
-302 1208  
-302 1208  
-302 302  
-302 1208  
-302 302  
-302 1208  
-302 302  
-302 302  
-302 1208  
-302 1208  
-302 1208  
-302 302  
-302 10268 
-</​code>​ 
- 
-There are several easily identifiable Facts here:  
-  * The baseline is at 302 
-  * The high Pulse is basline * 4 = 1208 
-  * The last 2-pulse sequence is special, it's the footer of the message 
- 
-Using a Translation pattern of  **302 1208 -> 1** and **302 302 -> 0** we translate this sequence into the following pattern 
- 
-<​code>​ 
-1100011110010111100101100101111001101100101101101010011101 
-</​code>​ 
- 
-Testing and some outside info reveals the following sections: 
-<​code>​ 
-AAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCDDEEFFFFFFG 
- 
-A = startbits/​preamble ​ 
-B = address ​           (32 Bit system code) 
-C = Group Code         ​(Grouped:​ 1100, Non-Grouped:​ 1011) 
-D = Command, ​          (On: 01, Off: 10) 
-E = Group Code 2       ​(Grouped:​ 11, Non Grouped: 01) 
-F = UnitCode, ​ 
-G = Stopbit 
-</​code>​ 
- 
- 
- 
-So this code represents: 
- 
-  * SystemCode: 3165844325 
-  * UnitCode: 28 
-  * State: Off 
-  * UnitCode: NotSet 
- 
- 
- 
-The protocol filters out false positives by checking if: 
-  - Every 1st pulse in groups of 2 is a low pulse 
-  - The last two pulses are 302 and 10268 (fixed footer) 
- 
-This is the readout from the writer'​s reference HE300 remote 
- 
-^Band^Code^UnitCode^GroupA^GroupB^ 
-|I|1|56|13|2| 
-|I|2|52|13|2| 
-|I|3|44|13|2| 
-|I|4|28|13|2| 
-|II|1|50|13|2| 
-|II|2|42|13|2| 
-|II|3|26|13|2| 
-|II|4|38|13|2| 
-|III|1|22|13|2| 
-|III|2|14|13|2| 
-|III|3|49|13|2| 
-|III|4|41|13|2| 
-|IV|1|25|13|2| 
-|IV|2|37|13|2| 
-|IV|3|21|13|2| 
-|IV|4|13|13|2| 
- 
-This is translated: ​ 
-<​code>​ 
-1-1 11000111100 10111100101100101111001101100101 1011 10 01 000111 1 
-1-2 11000111100 10111100101100101111001101100101 1011 10 01 001011 1 
-1-3 11000111100 10111100101100101111001101100101 1011 10 01 001101 1 
-1-4 11000111100 10111100101100101111001101100101 1011 10 01 001110 1 
-2-1 11000111100 10111100101100101111001101100101 1011 10 01 010011 1 
-2-2 11000111100 10111100101100101111001101100101 1011 10 01 010101 1 
-2-3 11000111100 10111100101100101111001101100101 1011 10 01 010110 1 
-2-4 11000111100 10111100101100101111001101100101 1011 10 01 011001 1 
-3-1 11000111100 10111100101100101111001101100101 1011 10 01 011010 1 
-3-2 11000111100 10111100101100101111001101100101 1011 10 01 011100 1 
-3-3 11000111100 10111100101100101111001101100101 1011 10 01 100011 1 
-3-4 11000111100 10111100101100101111001101100101 1011 10 01 100101 1 
-4-1 11000111100 10111100101100101111001101100101 1011 10 01 100110 1 
-4-2 11000111100 10111100101100101111001101100101 1011 10 01 101001 1 
-4-3 11000111100 10111100101100101111001101100101 1011 10 01 101010 1 
-4-4 11000111100 10111100101100101111001101100101 1011 10 01 101100 1 
- 
-G1  11000111100 10111100101100101111001101100101 1100 10 11 000111 1 
-G2  11000111100 10111100101100101111001101100101 1100 10 11 000111 1 
-G3  11000111100 10111100101100101111001101100101 1100 10 11 000111 1 
-G4  11000111100 10111100101100101111001101100101 1100 10 11 000111 1    
-</​code>​ 
- 
-Note: The Group button appears to be sending the unitcode of I-1 (First band, first unit) no matter to which band the remote is currently set. 
elro_ad.txt ยท Last modified: 2015/11/27 21:09 (external edit)