Is there a generic IP driver?

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Is there a generic IP driver?

2 years 7 months ago - 2 years 7 months ago
#855
Generic serial won't support a rest api.

Use the myServer GetUrl|<<any url>> like  GetUrl|http://192.168.20.57:9529/ZidooControlCenter/RemoteControl/sendkey?key=Key.Right

Or better
You could create a macro called SoundBar
the macro would look like
Code:
Macro| GetUrl|http://192.168.20.57:9529/ZidooControlCenter/RemoteControl/sendkey?key=< p1 > 
Then from the designer buttons you can call the macro with the button press using a server command like

SoundBar|Key.Right
SoundBar|Key.Left
SoundBar|Key.Up
SoundBar|Key.Down

Macros accept parameters and the <p1> reference means replace the first parameter passed here.
Parameters are referenced in numerical order <p1>,<p2>,<pN>

What make and model soundbar is it?
 
Last edit: 2 years 7 months ago by davep.

Please Log in or Create an account to join the conversation.

bowlingbeeg's Avatar Topic Author
User User
  • Posts: 248
  • Thanks: 33

Re: Is there a generic IP driver?

2 years 7 months ago
#856
It's not a soundbar ... it's a Zidoo Z9X device. I didn't realize you could pass parameters to a macro, that's a neat trick.

Please Log in or Create an account to join the conversation.

stanger89's Avatar
User User
  • Posts: 74
  • Thanks: 5

Re: Is there a generic IP driver?

2 years 7 months ago
#864
What make and model soundbar is it?

 
Yeah, I might have confused things a bit.  I've been setting up the GenericSerial for controlling my Paradigm PW Soundbar.  It was discontinued a few years ago, but it still works great.

Please Log in or Create an account to join the conversation.

stanger89's Avatar
User User
  • Posts: 74
  • Thanks: 5

Re: Is there a generic IP driver?

2 years 6 months ago - 2 years 6 months ago
#1160
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;
Last edit: 2 years 6 months ago by stanger89.

Please Log in or Create an account to join the conversation.

Time to create page: 0.273 seconds