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

Bad Request error when using repeated toggle IR codes #413

Open
1 task done
bobhummel opened this issue Dec 5, 2024 · 0 comments
Open
1 task done

Bad Request error when using repeated toggle IR codes #413

bobhummel opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working ui User interface related issue

Comments

@bobhummel
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

I have set up a remote using the Web Configurator for a Marantz AV receiver. Most of the buttons work fine, except for five that use IR codes that toggle between two values. These five buttons only work if pressed after a non-toggle button has been pressed. Subsequent presses of the same button or other toggle buttons show a "Bad Request" error on the remote.

Here's a sample from the logs. First, the non-toggle M_VOLUME_DOWN button is pressed. Then there is a successful press of the M_OPTION button, followed by three failed presses. Another non-toggle button press would reset the cycle.

2024-12-04 21:55:37.655327 +00:00 ui WARN uc.ui.entity.controller: Cannot execute command: "remote.send" 400 "Bad request"
2024-12-04 21:55:37.572801 +00:00 core NOTICE IR toggle state of IR command uc.main.02796fe5-2ba5-419e-84b9-045f34054770 M_OPTION: true
2024-12-04 21:55:25.771364 +00:00 ui WARN uc.ui.entity.controller: Cannot execute command: "remote.send" 400 "Bad request"
2024-12-04 21:55:25.694001 +00:00 core NOTICE IR toggle state of IR command uc.main.02796fe5-2ba5-419e-84b9-045f34054770 M_OPTION: true
2024-12-04 21:55:13.100262 +00:00 ui WARN uc.ui.entity.controller: Cannot execute command: "remote.send" 400 "Bad request"
2024-12-04 21:55:13.021976 +00:00 core NOTICE IR toggle state of IR command uc.main.02796fe5-2ba5-419e-84b9-045f34054770 M_OPTION: true
2024-12-04 21:55:02.734892 +00:00 core NOTICE IR toggle state of IR command uc.main.02796fe5-2ba5-419e-84b9-045f34054770 M_OPTION: false
2024-12-04 21:54:58.844602 +00:00 ui INFO uc.ui.input: Key released: "VOLUME_DOWN" "Remote_QMLTYPE_231(0x55b3a225f0)"
2024-12-04 21:54:58.580373 +00:00 core NOTICE IR toggle state of IR command uc.main.02796fe5-2ba5-419e-84b9-045f34054770 M_VOLUME_DOWN: true
2024-12-04 21:54:58.578019 +00:00 ui INFO uc.ui.input: Key pressed: "VOLUME_DOWN" "Remote_QMLTYPE_231(0x55b3a225f0)"

Here are the IR codes for the two buttons shown

M_OPTION:

0000 0073 0000 000F 0040 0020 0020 0040 0040 0020 0020 0020 0020 0020 0020 00A0 0020 0040 0040 0020 0020 0040 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0AA8 | 0000 0073 0000 000F 0040 0040 0020 0020 0040 0020 0020 0020 0020 0020 0020 00A0 0020 0040 0040 0020 0020 0040 0040 0020 0020 0020 0020 0040 0040 0040 0020 0020 0020 0AA8

M_VOLUME_DOWN:

1;0x411;12;0

How to Reproduce

  1. Create a remote using the Web Configurator, or use an existing remote
  2. Add an M_OPTION and M_VOLUME_DOWN IR code to the IR data set using the codes in the description.
  3. Add "Option" and "Volume Down" buttons to the remote using the IR codes from step 2.
  4. Press the Option button repeatedly to see the error. Press the Volume Down button and see there is no error for the next press of Option.

Expected behavior

The toggle IR code will work once after each press of the non-toggle button.

System version

1.7.14

What part of the system affected by the problem?

UI

Additional context

No response

@bobhummel bobhummel added the bug Something isn't working label Dec 5, 2024
@github-project-automation github-project-automation bot moved this to Reported in Bug reports Dec 5, 2024
@github-actions github-actions bot added the ui User interface related issue label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui User interface related issue
Projects
Status: Reported
Development

No branches or pull requests

1 participant