-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codes generated aren't accepted by my AC #3
Comments
it did not work for me either, i am using Arduino Pro Micro. |
Well, it's been a long time since I did this and actually don't have access to this kind of AC to test anymore. Anyhow since what you sent to the AC should also be a valid code I can only suggest some debug options:
What I can confirm is that back in the day this worked on two different Electra ACs with both pi and esp8266. Good Luck! |
I tried to use this code to send commands to my Electra AirConditioner. As I only wanted the raw codes,I removed the irSling stuff and did some other tweaks to get it to compile.
I have written a http server for an ESP8266 LOLIN D1 mini chip through which I'm able to send raw commands as simply as:
where
$CODE
is the raw code that I want to send to my AC. Meanwhile I'm using a couple of codes that recorded from my remote control through the arduino IRrecvDumpV2 program and it works fine. E.g. the following command turns on the AC at 22°C:Before comparing to to the output of Electra-AC-Remote I rounded these numbers to multiples of 100 and I got the following command that works just the same.
So now I tried generating the equivalent code through
electraAcRemote
as follows:which generated:
[3000,3000,1000,1000,1000,1000,1000,2000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,1000,1000,1000,1000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,2000,1000,3000,3000,1000,1000,1000,1000,1000,2000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,1000,1000,1000,1000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,2000,1000,3000,3000,1000,1000,1000,1000,1000,2000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,1000,1000,1000,1000,2000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,1000,2000,2000,1000,4000,0,0,0,0,0,0,0]
I modifed the output (removed square brackets and added the leading "38000") value and send the output to the 8266 chip:
The result was a no-op. The AC did not recognize this code.
Any idea why? Meanwhile I'll record some more codes for myself to use, but I'd much rather have them computer generated.
The text was updated successfully, but these errors were encountered: