-
Notifications
You must be signed in to change notification settings - Fork 839
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
in GREE protocol i have transmitting issue #1223
Comments
Can you please include those capture dumps from IRrecvDumpV2 so we can see what is going on. |
CAPTURE DUMPED********************** Protocol : UNKNOWN Timestamp : 000010.263 Protocol : UNKNOWN Timestamp : 000015.382 Protocol : UNKNOWN Timestamp : 000020.502 Protocol : UNKNOWN Timestamp : 000025.622 Protocol : UNKNOWN |
Received dump by latest liberary Timestamp : 000017.358 Protocol : UNKNOWN Timestamp : 000022.477 Protocol : UNKNOWN Timestamp : 000027.595 Protocol : UNKNOWN Timestamp : 000032.683 Protocol : UNKNOWN |
Okay, with the data, I think I now understand this question. As for why it isn't being decoded correctly, that's a separate issue. I'll look into that soon. |
@Suraj-singh999898 I am not sure what you are saying here. That doesn't look like the output of any of the examples that come with the library. Can you please be more specific? |
I see no |
@crankyoldgit Please have a look at this Hope you will figureout quick solution BTW Thanks for the great library! |
For starters, this library is only meant to work with the Arduino framework. So, technically you're using it "out of spec".
I'm guessing you don't have the So, you've got a few options, either change the code to use your IRremoteESP8266/src/IRsend.cpp Lines 111 to 142 in ad436f7
Or .. Change IRremoteESP8266/src/IRremoteESP8266.h Lines 692 to 698 in ad436f7
That should cause it to only use the delayMicroseconds() call instead of delay() .
|
Or .. compile with the following flag(s): |
@crankyoldgit |
Um @Jaydip-Chabhadiya @Suraj-singh999898 @MarkEvens ... Why are all three of you having this same issue at the same time? |
@crankyoldgit However ALLOW_DELAY_CALLS false works! Thank you for quick help 👍 I really appriciate your help 👏 |
What's the project? |
Its about controlling air conditioner (on/off/fan-mode) in timely manner based on temperature value received by sensor. |
I am using arduino as componnent with esp-idf framwork and add IRremoteESP8266 with it.
Below is my code
#include "Arduino.h"
#include "freertos/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
#include <IRremoteESP8266.h>
#include <IRac.h>
#include <IRtext.h>
#include <IRutils.h>
const uint16_t kIrLed = 4; // The ESP GPIO pin to use that controls the IR LED.
IRac ac(kIrLed); // Create a A/C object using GPIO to sending messages with.
extern "C" void app_main()
{
//Serial.begin(115200);
//delay(200);
ac.next.protocol = decode_type_t(24);
ac.next.model = 1;
ac.next.mode = stdAc::opmode_t::kCool;
ac.next.celsius = true;
ac.next.degrees = 25;
ac.next.fanspeed = stdAc::fanspeed_t::kMedium;
ac.next.swingv = stdAc::swingv_t::kOff;
ac.next.swingh = stdAc::swingh_t::kOff;
ac.next.light = false;
ac.next.beep = false;
ac.next.econo = false;
ac.next.filter = false;
ac.next.turbo = false;
ac.next.quiet = false;
ac.next.sleep = -1;
ac.next.clean = false;
ac.next.clock = -1;
ac.next.power = false;
while(1) {
ac.sendAc(); // Have the IRac class create and send a message.
//delay(5000); // Wait 5 seconds.
// Serial.println("BUTTON TRANSMITED..");
vTaskDelay(5000 / portTICK_PERIOD_MS);
}
}
When transmite signal using this code and received it in irrecieveDumpV2 code it shows unknown protocol and raw array of 139
element. but time of all element is changing in everey transmission
I tried all the frequency of esp32 like 160/240Mhz etc.
The text was updated successfully, but these errors were encountered: