Is there a generic IP driver?

More
2 years 5 months ago - 2 years 5 months ago #855 by davep
Replied by davep on topic Is there a generic IP driver?
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 5 months ago by davep.

Please Log in to join the conversation.

More
2 years 5 months ago #856 by bowlingbeeg
Replied by bowlingbeeg on topic Is there a generic IP driver?
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 to join the conversation.

More
2 years 5 months ago #864 by stanger89
Replied by stanger89 on topic Is there a generic IP driver?

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 to join the conversation.

More
2 years 5 months ago - 2 years 5 months ago #1160 by stanger89
Replied by stanger89 on topic Is there a generic IP driver?
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 5 months ago by stanger89.

Please Log in to join the conversation.

Time to create page: 0.177 seconds