- Posts: 74
- Thank you received: 5
Extra commands sent
- stanger89
- Topic Author
- Offline
- User
-
Less
More
2 years 5 months ago #1453
by stanger89
Extra commands sent was created by stanger89
Hey, I'm seeing multiple commands getting sent, when I send a generic serial command to my soundbar/AVR. The issue is, it's causing one press on the remote to raise (or lower) the volume 3 steps instead of just one. I definitely see it sending twice in the logs, I'm not sure why I'm seeing 3 responses, unless it's just some artifact of receiving multiple requests so fast.
Here's what I'm seeing in the logs:
23/02/2024 16:35:55.35 · DEBUG · Server.doCommand - AV|9~Send~PWSoundbar~Volume Down from dashboard-fx-qvlo
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.doCommand - Cmd=[9~Send~PWSoundbar~Volume Down] Client=[dashboard-fx-qvlo]
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VDN1;
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VDN1;
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 33 35 3B
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 33 36 3B 5A 31 56 4F 4C 2D 33 37 3B
Here's what those responses are decoded:
Z1VOL-35;
Z1VOL-36;Z1VOL-37;
Here's what I'm seeing in the logs:
23/02/2024 16:35:55.35 · DEBUG · Server.doCommand - AV|9~Send~PWSoundbar~Volume Down from dashboard-fx-qvlo
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.doCommand - Cmd=[9~Send~PWSoundbar~Volume Down] Client=[dashboard-fx-qvlo]
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VDN1;
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VDN1;
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 33 35 3B
23/02/2024 16:35:55.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 33 36 3B 5A 31 56 4F 4C 2D 33 37 3B
Here's what those responses are decoded:
Z1VOL-35;
Z1VOL-36;Z1VOL-37;
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 5 months ago #1457
by David Li
Replied by David Li on topic Extra commands sent
Did you look in myDesigner at the button you are pressing for the webpage that is loaded of what the actual command / macro is?
Please Log in to join the conversation.
- stanger89
- Topic Author
- Offline
- User
-
Less
More
- Posts: 74
- Thank you received: 5
2 years 5 months ago - 2 years 5 months ago #1459
by stanger89
Replied by stanger89 on topic Extra commands sent
Yeah, it's just calling the serial command directly. I'm seeing the same thing if I call directly from the Driver Command Testing:
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.doCommand - Cmd=[9~Send~PWSoundbar~Volume Up] Client=[dashboard-fx-posm]
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VUP1;
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VUP1;
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 32 35 3B
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 32 34 3B 5A 31 56 4F 4C 2D 32 33 3B
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.doCommand - Cmd=[9~Send~PWSoundbar~Volume Up] Client=[dashboard-fx-posm]
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VUP1;
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.TX >>> - PWSoundbar:Z1VUP1;
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 32 35 3B
05/03/2024 17:35:57.35 · DEBUG · GenericSerial.RX <<< - PWSoundbar:5A 31 56 4F 4C 2D 32 34 3B 5A 31 56 4F 4C 2D 32 33 3B
Last edit: 2 years 5 months ago by stanger89.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 4 months ago #1487
by davep
Replied by davep on topic Extra commands sent
The VolumeUp and VolumeDown macros are programmed to send 3 volume steps per press.
If it's the macros causing the problem you can edit them and remove the trailing ~3 on the command.
AV|{{livingroom_avamp_id}}~Volume~Down~3!
becomes
AV|{{livingroom_avamp_id}}~Volume~Down!
etc...
If it's the macros causing the problem you can edit them and remove the trailing ~3 on the command.
AV|{{livingroom_avamp_id}}~Volume~Down~3!
becomes
AV|{{livingroom_avamp_id}}~Volume~Down!
etc...
Please Log in to join the conversation.
- stanger89
- Topic Author
- Offline
- User
-
Less
More
- Posts: 74
- Thank you received: 5
2 years 4 months ago #1490
by stanger89
Replied by stanger89 on topic Extra commands sent
I doublechecked, I've got the volume up/down buttons defined as:
volumeup.{{activeroom_{{clientname}}}}
Looking at the macro, volumeup.livingroom, it's defined as:
Macro|
// The macro is responsible for controlling volume in a room!
AV|9~Send~PWSoundbar~Volume Up!
Also I'm seeing the same behavior with every command, even from the Driver Command Test page
volumeup.{{activeroom_{{clientname}}}}
Looking at the macro, volumeup.livingroom, it's defined as:
Macro|
// The macro is responsible for controlling volume in a room!
AV|9~Send~PWSoundbar~Volume Up!
Also I'm seeing the same behavior with every command, even from the Driver Command Test page
Please Log in to join the conversation.
Time to create page: 0.207 seconds