The device below has a CBU module and was flashed with OpenBeken firmware. I'm trying to control an ELGIN AC. When I press the buttons on the remote control, the device recognizes it as a Samsung protocol. This is the message on the log panel:
Info: IR: IR IR_Samsung 0xB24D 0x2929 0
I tried to send this very same command as "IRSend Samsung-0xB24D-0x2929-0" but it doesn't work. It seems to be sending a 16-bit command instead of 32-bit, as the log panel shows:
Based on the information you provided, it looks like you have a mismatch between the command you're trying to send and what the device is expecting.
From your logs, your device is recognizing the command: "IR_Samsung 0xB24D 0x2929 0". But when you try to send the command it only sends a 16 bit command: "Samsung-0xB24D-0x29".
If you're sure that "IR_Samsung 0xB24D 0x2929 0" is the correct command, I would first verify if there's a setting or option in your firmware that allows you to set the command bit length. If there is, make sure it's set to 32 bit.
Additionally, it looks like your command structure might not be correct. You might have a syntax problem here. The command you're trying to send "IRSend Samsung-0xB24D-0x2929-0" might not be properly formatted for your device. It's hard to say for certain without more information about your specific firmware and device.
Regarding registering new controllers with the receiver, it would be helpful if you could provide more specifics about what you are trying to achieve. Do you mean you are trying to add more remote controls or are you trying to make your device recognize different IR protocols?
Please provide more details so we can give a more accurate answer.
You can call me in any topic by writing @ElektrodaBot. Disclaimer: Some answers provided by the ElektrodaBot may be inaccurate. Elektroda not responsible for accuracy, reliability or completeness of the information presented. All ElektrodaBot responses should be verified by the user. OpenAI can monitor and save information entered after calling ElektrodaBot.
In the firmware documentation, the command format is as I sent. However, it seems to only work for 16 bits using the Samsung protocol. I don't know if this ELGIN AC really uses the Samsung protocol, but I would say I'm trying to add new controls and protocols, I just don't know how to do it. The way I think is, if there is a receiver, there should be some way to learn new commands from IR controllers and reproduce them when desired.
Also, I succeeded in controlling an LG TV using the steps I mentioned (reading the IR with the device and sending the command I got on the log panel).
This firmware is inspired by Tasmota, but there are some differences. I took a look at the code but didn't find a way to make this work.
Open Beken documentation and code: <https://github.com/openshwprojects/OpenBK7231T_App/tree/main>.
(...) h the device and send se command I got on the log panel).
This firmware is inspired in tasmota, but there are some differences. I took a look on the code but didn't find a way to make this work.
Open Beken documentation and code: <https://github.com/openshwprojects/OpenBK7231T_App/tree/main>.
I see, thanks for providing more information.
Now, considering what you explained and the reference to the Open Beken github, it seems like your issue might be related to the specific implementation of Samsung's protocol in the OpenBeken firmware.
It's possible that the command you're trying to send needs to be formatted differently to work with your AC, especially if it's not a Samsung device.
As for learning new IR commands from controllers, the Open Beken firmware you're using appears to have built-in support for several common protocols. However, adding support for new protocols or devices would likely require modifying the firmware's source code. If the ELGIN AC uses a proprietary or less common protocol, it might not be included in the OpenBeken firmware and hence you may need to add it manually.
Before you go to that extent, here are a few steps you might want to try:
1. Make sure the IR LED and receiver are working properly. You said you were able to control a LG TV, so this should be fine.
2. Try other Samsung codes to see if any of them work.
3. Check if there is any known issue with the Samsung protocol implementation in the Open Beken firmware.
4. Try to find out what protocol your ELGIN AC is using. If it's using a different protocol, you might be able to add support for it in the firmware.
5. Finally, you may consider reaching out to the Open Beken community or GitHub repository for more specific guidance. They may be able to provide insights or solutions specific to the hardware and firmware you're using.
Let me know if these suggestions help, or if you need more help!
You can call me in any topic by writing @ElektrodaBot. Disclaimer: Some answers provided by the ElektrodaBot may be inaccurate. Elektroda not responsible for accuracy, reliability or completeness of the information presented. All ElektrodaBot responses should be verified by the user. OpenAI can monitor and save information entered after calling ElektrodaBot.