Electra Air Conditioner and Setting The Timer
Posted: Mon Jun 08, 2020 10:10 am
Hello,
Thank you so much for the amazing product and help.hoping
I've read the posts in the forum about Electra, but might have missed something.
Here is my issue, it's a bit of a long read hope you don't mind.
I have raspberry pi that is using this library to manipulate the air conditioner
https://github.com/nryhbhue/Electra-AC-Remote
The library is generating raw codes and using https://github.com/bschwind/ir-slinger to actually fire the request.
Generating raw codes is a similar approach used by https://github.com/barakwei/IRelectra.
Both IRelecra and Electra-AC-Remote do not offer the timer functionality only the toggle. For my needs I need to be able to program the timer.
I was able to connect analysir to my pi and did the following:
For each time period I took out the batteries from my remote, set the time to midnight, the temperature was 24 degrees, the fan at highest, ac/mode:
on in 10 minutes
on in 20 minutes
on in 30 minutes
on in 40 minutes
on in 50 minutes
on in 60 minutes
on in 120 minutes
off in 10 minutes
off in 20 minutes
off in 30 minutes
off in 40 minutes
off in 50 minutes
off in 60 minutes
off in 120 minutes
Analysir was able to decode the inputs when set to ac mode and lsb8. I have the hex and the binaries and from the binary have a basic idea how the time is set.
Option 1: Was to hack through the c code in Electra-AC-Remote to add the new functionality, but unfortunately my knowledge of c is very limited. I'm good with javascript.
Option 2: Was to compile my own little program that would send the commands using irslingers nec or rc5 but so far nada.
Here's the binary from tests and I can see the pattern for the timer and also for where the other settings are. I can probably map them out quite quickly too.
00000100 00000110 00010010 00000000 01 000000 //toggle
00000000 00000100 00010010 00000000 01 101000 //off050
00000000 00000100 00010010 00000000 01 001000 //off040
00000000 00000100 00010010 00000000 01 110000 //off030
00000000 00000100 00010010 00000000 01 010000 //off020
00000000 00000100 00010010 00000000 01 100000 //off010
00000000 00000100 00010010 00100000 01 000000 // on010
00000000 00000100 00010010 00010000 01 000000 // on020
00000000 00000100 00010010 00110000 01 000000 // on030
00000000 00000100 00010010 00001000 01 000000 // on040
00000000 00000100 00010010 00101000 01 000000 // on050
00000000 00000100 00010010 00110100 01 000000 // on01-30
00000000 00000100 00010010 00000000 01 000000 //set time
I'm attaching the history file as well
Any help or direction would be appreciated
Thank you so much for the amazing product and help.hoping
I've read the posts in the forum about Electra, but might have missed something.
Here is my issue, it's a bit of a long read hope you don't mind.
I have raspberry pi that is using this library to manipulate the air conditioner
https://github.com/nryhbhue/Electra-AC-Remote
The library is generating raw codes and using https://github.com/bschwind/ir-slinger to actually fire the request.
Generating raw codes is a similar approach used by https://github.com/barakwei/IRelectra.
Both IRelecra and Electra-AC-Remote do not offer the timer functionality only the toggle. For my needs I need to be able to program the timer.
I was able to connect analysir to my pi and did the following:
For each time period I took out the batteries from my remote, set the time to midnight, the temperature was 24 degrees, the fan at highest, ac/mode:
on in 10 minutes
on in 20 minutes
on in 30 minutes
on in 40 minutes
on in 50 minutes
on in 60 minutes
on in 120 minutes
off in 10 minutes
off in 20 minutes
off in 30 minutes
off in 40 minutes
off in 50 minutes
off in 60 minutes
off in 120 minutes
Analysir was able to decode the inputs when set to ac mode and lsb8. I have the hex and the binaries and from the binary have a basic idea how the time is set.
Option 1: Was to hack through the c code in Electra-AC-Remote to add the new functionality, but unfortunately my knowledge of c is very limited. I'm good with javascript.
Option 2: Was to compile my own little program that would send the commands using irslingers nec or rc5 but so far nada.
Here's the binary from tests and I can see the pattern for the timer and also for where the other settings are. I can probably map them out quite quickly too.
00000100 00000110 00010010 00000000 01 000000 //toggle
00000000 00000100 00010010 00000000 01 101000 //off050
00000000 00000100 00010010 00000000 01 001000 //off040
00000000 00000100 00010010 00000000 01 110000 //off030
00000000 00000100 00010010 00000000 01 010000 //off020
00000000 00000100 00010010 00000000 01 100000 //off010
00000000 00000100 00010010 00100000 01 000000 // on010
00000000 00000100 00010010 00010000 01 000000 // on020
00000000 00000100 00010010 00110000 01 000000 // on030
00000000 00000100 00010010 00001000 01 000000 // on040
00000000 00000100 00010010 00101000 01 000000 // on050
00000000 00000100 00010010 00110100 01 000000 // on01-30
00000000 00000100 00010010 00000000 01 000000 //set time
I'm attaching the history file as well
Any help or direction would be appreciated