News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16350
Latest: johnniewalker1702
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 131283
Total Topics: 16254
Most Online Today: 195
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 87
Total: 87

Dig-quad remote

Started by breese, November 14, 2022, 06:47:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

breese

I have a Dig-quad with an SSR attached to it.
Locally I can tell the Dig-quad to power on and the SSR activate and allows the lights connected to turn on.

I am looking for a way to control the Dig-quad from my Player / Master Pi 4 (6.2 based).
(Private - non-internet network setup)
Pi-master - 192.168.1.101
Dig-quad - 192.168.1.230

The dig-quad will be installed my a neighbors house and scheduled to turn lights on and off with my display.

JonD

It looks like the Dig-Quad has several attachment options.  How are you connecting to it locally?  (USB/Wifi/ethernet)  How far away is your neighbors house?

You cannot view this attachment. 

breese

The SSR relay is on GPIO port 15
It is on the same local network as all my other devices. They can see each other.
I am looking for a way to use the FPP Command Presets or another method to tell the dig-quad to turn on...

JonD

Sorry I misread, it is not a distance issue.  They are already connected, you're just looking for a way for your FPP to issue commands to turn it on and off.

I had a similar issue a while back.  I had an IP power strip that I wanted to power on my FM transmitter before the show, and turn it off afterward.  I had to write a bash script to turn it on, and another to turn it off, and then placed the scripts in the lead-in and lead out sections on the playlist.

Assuming you are looking for the commands to do this, or you would have posted them.  I don't own a Dig-Quad and can't help you with the commands, but if you know what the commands are, I might be able to help you with the scripts.


breese

Quote from: JonD on November 14, 2022, 09:45:54 AMAssuming you are looking for the commands to do this, or you would have posted them.  I don't own a Dig-Quad and can't help you with the commands, but if you know what the commands are, I might be able to help you with the scripts.


Exactly, the issue is I do not know the commands needed to tell the dig-quad to power on the lights.

JonD

Quote from: breese on November 14, 2022, 06:47:07 AMLocally I can tell the Dig-quad to power on and the SSR activate and allows the lights connected to turn on.
How do you tell them to turn on locally?  Do you do this this from a web page, telnet/ssh, software application?

breese

Quote from: JonD on November 14, 2022, 09:55:12 AM
Quote from: breese on November 14, 2022, 06:47:07 AMLocally I can tell the Dig-quad to power on and the SSR activate and allows the lights connected to turn on.
How do you tell them to turn on locally?  Do you do this this from a web page, telnet/ssh, software application?

From and Quad's built in web page....

JonD

My IP power strip was similar.  I just figured out the URL needed to turn them on and created a bash script to do the same.  Not saying it will work.  I tried to look on-line, but there is not much for manuals on them. 

fm-on.sh
----------------------------------------------------------------
#!/bin/bash
# A simple Bash script
wget -O - 'http://admin:admin@10.12.25.5/cmd.cgi?$A3%201%201';
-----------------------------------------------------------------

JonD

#8
Sometimes, if you right mouse click on the weblink/icon to turn on/off and click "Inspect", it will show you the command needed to complete the task.  If the device requires a username and password (below example is username admin password admin) enter them in front of the IP address.  Place the command found in the inspect behind the IP address.  If you can figure out how to turn it on and off from the web browser using a single url shortcut,  creating the script would be pretty easy from there.

You cannot view this attachment.

----------------------------------------------------------------
#!/bin/bash
# A simple Bash script
wget -O - 'http://admin:admin@10.12.25.5/cmd.cgi?$A3%201%201';;
----------------------------------------------------------------- 

breese

So far I have not found a way to turn on this GPIO port on the Dig-quad.
Anyone have an idea or done it?

JonD

Hopefully someone responds.  If you come up empty, I would reach out to dig-quad support and see if you can get the directions to turn this on and off with a script.  They may not help you with your exact situation, but often they may have generic information on how to do this.  I wish you luck.

breese

Thanks
I have been all over Discord and I sent a support message to DrZZZ

breese

Found the answer and there are 2 methods of doing this.

First you need the WLED Project API information.
WLED API

Now you can setup 2 Command Presets (1 for off and 1 for on)
You cannot view this attachment. You cannot view this attachment.
The difference being the change at the end of the URL (Zero for Off and One for On).
You cannot view this attachment.

Or you can create 2 Playlists (just like above) using the Type: FPP Command, and Command URL
You cannot view this attachment.

Now that I have the API's for the WLED equipment, things will be much easier....


breese

So I have 3 Dig-quad controllers I need to control.
I have the first one up and working.
Is there a way I can modify this command preset to turn on all 3 at one time?
You cannot view this attachment. You cannot view this attachment.

jnealand

I suspect that you will just have to repeat that command sequentially for each of the units.
Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

Support FPP

+- Recent Topics

FPP 7.4 is released! by JonD
Today at 11:43:16 AM

BRP Voting Plugin - Allow others to vote for your songs! by plaberge
Today at 10:58:43 AM

Can an FPP Command Preempt a Sequence? by CaptainMurdoch
Today at 09:42:45 AM

FPP 7.3 is released! by CaptainMurdoch
Today at 12:02:49 AM

Kill countdown script by Poporacer
December 08, 2023, 06:05:24 PM

F48 dropping off network by tbone321
December 08, 2023, 04:55:50 PM

Video Overlay by CaptainMurdoch
December 08, 2023, 03:47:16 PM

No indicators on remotes that connections are good. by tbone321
December 08, 2023, 03:06:08 PM

FPP Upgrade by Poporacer
December 08, 2023, 12:53:32 PM

FPPD stopped by JonD
December 08, 2023, 09:14:40 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod