[SOLVED]Digital Loggers Web Power Switch

Posted on
Thu Dec 26, 2013 12:49 am
BassMint offline
Posts: 105
Joined: Dec 24, 2013

[SOLVED]Digital Loggers Web Power Switch

Would I be able to use this device?
http://digital-loggers.com/lpc.html

Want to replace a non DMX relay box in a home disco for control things like lasers, fog, strobes etc.

Posted on
Thu Dec 26, 2013 6:07 pm
matt (support) offline
Site Admin
User avatar
Posts: 17970
Joined: Jan 27, 2003
Location: Texas

Re: Digital Loggers Web Power Switch

I believe it could work, but you would need to write a custom python script to control the module (or create a simple Indigo plugin to control it).

Image

Posted on
Tue Jan 07, 2014 4:48 pm
BassMint offline
Posts: 105
Joined: Dec 24, 2013

Re: Digital Loggers Web Power Switch

matt (support) wrote:
I believe it could work, but you would need to write a custom python script to control the module (or create a simple Indigo plugin to control it).


Got the unit and this python module.
It's a nicely built unit, although I don't like the power plug where it is, as it would make mounting multiple units a hassle. Worked out of the box connecting to it. I was going to build one from parts but I could not have done it cheaper in a nice metal case.
As soon as I remember/figure out how to install the python thingy it, I'll let you know how it goes.

https://github.com/dwighthubbard/python-dlipower

added: got it all set up, works like a charm. 8 of 10 outlets switched over ethernet for 130 bucks.

Posted on
Sun Aug 24, 2014 8:59 pm
hamw offline
Posts: 1049
Joined: Mar 31, 2008

Re: [SOLVED]Digital Loggers Web Power Switch

Could you take a moment to post your script and how you integrated this web enabled switch? I would like to set up a similar unit in my home. Any suggestions would be appreciated.

Posted on
Sun Jan 11, 2015 4:23 pm
hamw offline
Posts: 1049
Joined: Mar 31, 2008

Digital Loggers Web Power Switch -- update

After having read some reviews which state that Digital Loggers have been responsive to suggestions and their new version is improved over the last, I bought two of the Digital Loggers Web Switches off Amazon. Overall I'm pretty impressed. Before buying them I looked around for an iphone app,, and there is an app in the iTunes and Android stores called Remote Outlet, https://itunes.apple.com/us/app/remote- ... 35645?mt=8. It is $1.99 and well worth it. I had to set up a dynamic DNS account (finally), and chose http://www.freedns.afraid.org, based on it being free (naturally) as well as nag-free and lots of great reviews.

After getting the Airport router port configuration right, the switches are now remote accessible via the app. I had a trip out of town a few months ago and had the Indigo Mini lock up, as well as having the iMac I run my cameras on lock up while i was figuring out their configuration, so I think this will do the trick for reboots. Another nice feature is auto ping and auto reboot of the cable modem and Airport router. With this setup I'm thinking it should be pretty bulletproof when traveling. Furthermore, as they allowed me to repurpose some insteon appliance links I'd been using for power control for these devices, I have a little savings.... :-)

While not really germane to the switch, they have a cute video for their autobooting POE switch here: http://www.digital-loggers.com/poe24.html

Posted on
Mon Feb 02, 2015 10:37 pm
BassMint offline
Posts: 105
Joined: Dec 24, 2013

Re: [SOLVED]Digital Loggers Web Power Switch

Sorry for not responding earlier, I haven't checked on here in a bit.
I'm glad to see you got it going ok.

Posted on
Fri Jul 01, 2016 1:27 pm
ravedog offline
Posts: 14
Joined: Jun 27, 2016
Location: lasVegas.nv.us.na.ea.ss.mw

Re: [SOLVED]Digital Loggers Web Power Switch

Did you ever integrate this into Indigo? If so did you create virtual switches. Can you post your code?

Posted on
Sun Mar 26, 2017 2:58 pm
hamw offline
Posts: 1049
Joined: Mar 31, 2008

Re: [SOLVED]Digital Loggers Web Power Switch

here's an AppleScript to control a Digital Loggers web power switch. Just make a variable as below and use variable change for one of the predefincd commands to get it to work. Let me know if any issues.

Code: Select all
using terms from application "IndigoServer"
   tell application "IndigoServer"
      
      set actionOrdered to the value of variable "Digital_Loggers" --This is the variable you create. Make a schedule, control page button etc, to insert one of the commands below into the variable. Then create a trigger that fires when the variable changes and executes this embedded AppleScript.
      
      set actionListAll to {"1=ON", "1=OFF", "1=CCL", "2=ON", "2=OFF", "2=CCL", "3=ON", "3=OFF", "3=CCL", "4=ON", "4=OFF", "4=CCL", "5=ON", "5=OFF", "5=CCL", "6=ON", "6=OFF", "6=CCL", "7=ON", "7=OFF", "7=CCL", "8=ON", "8=OFF", "8=CCL"}
      
      if actionListAll contains actionOrdered is true then
         log actionOrdered & " the list works" --comment out once it is working
         
         set theIP to "http://admin:xxxxx@10.x.x.x:80/outlet?" --change your ip, username and PW here
         
         set theURL to theIP & actionOrdered
         log theURL --comment this out once it is working
         set curlURL to "curl -k" & " " & theURL
         
         set shellscript to curlURL
         log shellscript -- commment this out once it is working
         do shell script shellscript
         set value of variable "Digital_Loggers_Office" to "x"   --this is so you can send a repeated command if you wish, such as cycling a receiver each day.
      end if
   end tell
end using terms from


There is no feedback so far, and I haven't seen how to get the response to show up in Indigo.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests