I've connected the 433mhz reciever on my pi. But every time when I press on a button of the remote, it is always unit 31
here is the code.
Here is the information that I got from pilight-learn:
here is the code.
Code:
{
"code": {
"id": 31,
"unit": 31,
"state": "on"
},
"origin": "receiver",
"protocol": "archtech_old"
}
{
"code": {
"id": 31,
"unit": 31,
"state": "on"
},
"origin": "receiver",
"protocol": "sartano"
}
Code:
header: 4
pulse: 4
footer: 38
rawLength: 50
binaryLength: 12
on-off bit(s): 11
all bit(s):
unit bit(s): 4 5 6 7
Raw code:
295 1180 295 1180 295 1180 1180 295 295 1180 295 1180 295 1180 1180 295 295 1180 1180 295 295 1180 1180 295 295 1180 1180 295 295 1180 1180 295 295 1180 295 1180 295 1180 1180 295 295 1180 1180 295 295 1180 1180 295 295 11210
Raw simplified:
On: 01010110010101100110010101010101010101100110011001
Off: 01010110010101100110010101010101010101100110011001
All: 01010110010101100100010001000100010101100110011001
Unit 1: 01010110010101100101010101010101010101100110011001
Unit 2: 01010110010101100110010101010101010101100110011001
Unit 3: 01010110010101100110011001100110010101100110011001
Binary code:
On: 101001111000
Off: 101001111001
All: 101000001000
Unit 1: 101011111000
Unit 2: 101001111000
Unit 3: 101000001000