0.0.1 • Published 8 years ago

thing-it-device-fs20 v0.0.1

Weekly downloads
6
License
-
Repository
github
Last release
8 years ago

FS20 address mapping

According to the mauals of ELV, direct entering of FS20 addresses is done using only numbers 1 to 4 which results in a numeral system with 4 symbold (base 4). Normally such a system would use numbers 0..3 but ELV decided to use 1..4 instead.

The culfw will report received addresses in hexadecimal values, but programming with the remote control requires entering the base4 addresses.

1x quad2x quad3x quad4x quad
11 = 0x012 = 0x113 = 0x214 = 0x3
21 = 0x422 = 0x523 = 0x624 = 0x7
31 = 0x832 = 0x933 = 0xA34 = 0xB
41 = 0xC42 = 0xD43 = 0xE44 = 0xF

E.g. hex | ELV --- | --- F51D | 4422 1242 B0 | 3411 00 | 1111 11 | 1212

examples from the source code of module 'cul'

cul.cmd('FS20', '2341 2131', '1112', 'on'); // house code in ELV-Notation, address in ELV-Notation, command as text
cul.cmd('FS20', '6C48', '01', '11');        // house code as hex string, address as hex string, command as hex string