News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 15736
Latest: richardrons076
New This Month: 3
New This Week: 3
New Today: 1
Stats
Total Posts: 129006
Total Topics: 15889
Most Online Today: 117
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 94
Total: 95

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

Raspberry PI 4 b fan by JonB256
June 07, 2023, 09:30:09 AM

Advatek Vortex 48 channel DC controller by k6ccc
June 06, 2023, 09:31:41 AM

RS485 CAN HAT for DMX by MikeKrebs
June 05, 2023, 09:18:04 PM

colorlight 5a-75b not working with raspberry pi4B fpp by Kensington Graves
June 05, 2023, 10:09:36 AM

Multi Channel Audio by dkulp
June 05, 2023, 09:30:24 AM

Wifi help by dkulp
June 04, 2023, 12:24:56 PM

MMAL error 2 "ENOSPC" by MikeKrebs
June 03, 2023, 09:34:36 PM

Dmx by MikeKrebs
June 03, 2023, 08:53:35 PM

F48V4-NS at 40 fps using all 48 pixel output ports? by MikeKrebs
June 02, 2023, 09:36:11 PM

EEEPROM Files by shanebou24
June 01, 2023, 01:27:06 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod