News:

LATEST RELEASE:  FPP 7.4 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/7.4

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16351
Latest: jonathanpat
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 131324
Total Topics: 16261
Most Online Today: 52
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 33
Total: 34

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

Can you have 2 FPP players on the same network by cscool36
Today at 12:12:41 AM

FPPD stopped by jtrpop
December 10, 2023, 11:29:16 PM

Intermittent fpp hangs (7.2.x, 7.3.5) by jtrpop
December 10, 2023, 11:18:12 PM

uploading xlights fseq to FPP by PumpkinCrazy
December 10, 2023, 10:26:22 PM

FPP 7.4 is released! by Poporacer
December 10, 2023, 10:04:52 PM

Two Questions about Kulp 32 Controller by MikeKrebs
December 10, 2023, 09:15:20 PM

No Wifi by MikeKrebs
December 10, 2023, 09:04:35 PM

Turn on all GPIOs by MikeKrebs
December 10, 2023, 09:00:20 PM

Video Issues on FPP Virtual Matrix by rjcunningham01
December 10, 2023, 06:41:34 PM

Raspberry Pi to Falcon 16v4 set up? by dspenman
December 10, 2023, 04:53:21 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod