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: 15473
Latest: vb
New This Month: 95
New This Week: 10
New Today: 9
Stats
Total Posts: 126849
Total Topics: 15550
Most Online Today: 74
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 3
Guests: 44
Total: 47

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

WLED Plugin not working by Negativez0
Today at 07:14:00 AM

FPP connect by rudybuddy
Today at 06:53:17 AM

EDM Audio and RemoteFalcon plugin conflict by JonD
Today at 06:45:27 AM

F48 with Daisy Chained Smart Receivers by JonD
Today at 06:14:02 AM

USB Wifi Adapter by jem5136
Today at 05:37:34 AM

show locks me out of falcon player by breese
Today at 04:11:38 AM

Unable to get DHCP after FPP install by Jlwright325
November 27, 2022, 11:31:30 PM

What is the second best way to get rid of pixel gap errors? by k6ccc
November 27, 2022, 10:32:34 PM

FPP Scheduler duplicate by Aaron Maue
November 27, 2022, 09:24:20 PM

Audio Stalls on 8th music sequence by JonD
November 27, 2022, 08:09:16 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod