Skip to content
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

IRsend command not sending anything #1153

Open
davidchezmoa opened this issue Mar 26, 2024 · 4 comments
Open

IRsend command not sending anything #1153

davidchezmoa opened this issue Mar 26, 2024 · 4 comments
Labels
question Further information is requested

Comments

@davidchezmoa
Copy link

Describe the bug
Cannot Send IR command, I got a cmnd not valid message but I don't know what could be the correct command.

Firmware:

  • Version [1.17.308]
  • Device IR sender
  • Chip/model: BK7231N
  • Device config IR send pin 7

To Reproduce
Steps to reproduce the behavior:

  1. Go to '(http://IP/cmd_tool)'
  2. Enter the command 'IRSend {"Protocol":"NEC","Bits":32,"Data":0x8166817E}'
  3. Click 'Submit'
  4. See error

Error:IR:IRSend cmnd not valid [{"Protocol":"NEC","] not like [NEC-0-1A] or [NEC 0 1A 1].
Bad argument

Additional context
If I do the exact same thing on a real Tasmota device it just work.

I didn't find any documentation on how the IRSend command work on OBK so I asume it work the same way as on Tamota ESP based device.

Thank you for your help and I will be happy to provide more information if needed.

@openshwprojects
Copy link
Owner

Hey, I think you should try the syntax from the error message. We don't h ave JSON parse there yet, altough I may add it for you...

@davidchezmoa
Copy link
Author

I did try to mess around with the format in the error message, but I did not quite understand the way I should convert my initial data from my JSON.

If you have a hint it would be nice, otherwise I guess I will wait the implementation of JSON parsing 👍

@openshwprojects
Copy link
Owner

Have you tried to check the docs?
https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md

@openshwprojects openshwprojects added the question Further information is requested label Mar 28, 2024
@davidchezmoa
Copy link
Author

After some diging I found out how to use that format, thanks to point me to the documentation.

Also find out that it doen't work for my Pioneer AV receiver, it seems there was a bug in the library IRRemoteEsp8266 till version 2.6.4, I wonder if the openBK firmware is built on a recent version of that library or is totally a diffent thing ?

here a link on that issue for tasmota arendst/Tasmota#6100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants