Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Power Switch 7

Featured Replies

Yes, but I have since moved it to a RTI XP.

 

Sent from my Nexus 6P using Tapatalk

DLI WPS7s are great product. Can you post the url and what your trying to do? For example power on switch 4.

  • Author

Can't really get it to do anything... I just want basic controls... not sure if the Rest API is the right approach or not...

 

Can't figure out how to authenticate myself? I try:

http://admin:XX@192.168.1.xxx

in a browser and it just redirects me to the login page.

 

I tried the curl example from the documentation:

curl -H "Range: dli-depth=1" -H "Accept: application/json" --digest 'http://admin:xxx@192.168.1.xxx/restapi/'

and I just get back:

<HTML><HEAD>


<META HTTP-EQUIV="refresh" content="0; URL=/">


</HEAD><BODY></BODY>

You do a GET request for

 

/outlet?7=ON

/outlet?7=OFF

/outlet?7=CCL

 

You have to put 

 

Authorization: Basic [token]

 

in the header where [token] is the Base64 of the USERNAME:PASSWORD

 

You can't do username:password in modern browsers as that feature was removed a log time ago.

 

Also, the Power Switch 7 does not support the restapi.

Edited by Gary Funk

  • Author

Ah perfect that worked! Also it didn't help matters that the outlet I was testing and I thought was empty was actually controlling my ISY :)

Ah perfect that worked! Also it didn't help matters that the outlet I was testing and I thought was empty was actually controlling my ISY :)

Lol oops! Glad Gary got you sorted out. Also look at "auto ping" [emoji3]

  • Author

Thanks, I've used the "auto ping" feature when I used to have some web cam that's would get stuck and then I would power cycle them as needed.

 

I wanted to set this up in the ISY to I can use the Echo for control over the switches.

I wanted to set this up in the ISY to I can use the Echo for control over the switches.

[emoji1303]

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.