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.

Can mControl work with ISY ?

Featured Replies

Posted

I'm really happy with the automated functions programmed into isy, but I don't like having to manually intervene.

 

For example I have a "vacation mode" variable that I change from a value of 0 to 1 to invoke automatic light timers throughout the house. What I'd really like to do is change this value by running a command from an external program such as mControl.

 

I've made some progress with mControl and would like to explore the possibilities. I hope I am not offending the isy community by trying to use mControl as a GUI for isy.

Have you looked into REST. Should be able to use a REST command set the Variable.

  • Author

I was afraid someone would say that. Is there a good link on using rest in this forrum ?

  • Author

Okay I see the generic command line I need:

 

/rest/vars/set///

 

In my case = 2, = Vacation.Mode, = 1

 

Now what is the syntax to send to the isy99i device = 192.168.0.xxx

with user = admin

and password = pass

 

http://admin:pass@192.168.0.xxx ?

I can cover part of the question.

 

http://92.168.2.2/rest/vars/set/2/1/16

 

Sets "State" Variable with ID "1" to a value of "16". The variable ID is displayed to the left of the variable name in the Variables tab.

Why does the call have the variable name rather than the varID?

  • Author

Sorry, I missed that point in your last post.

 

http://admin:password@192.168.0.49:90xx ... /set/2/1/1

 

Seem to be two issues:

1. A dialog box pops up asking me to confirm user id & password, even though they are filled in. Must be switch to suppress that ?

2. rest complaining about missing style information

I’m not enough of a network guy to understand what affect the port number and userid are having. Can you try the simple forum I posted (with your local IP address) into a browser command line and confirm the basic REST part is working. Someone with more network savvy than I will have to pick up from there.

satwar, just a thought. What type of browser are you using...Windows IE9 will not allow user/password in the address.

  • Author

Sorry for the delay but the rest part is working. I must have made a typo. Unfortunately I am still getting the confirm userid & password dialog box.

 

Yes I see the problem about ie9, but I'm using Firefox. Microsoft does offer a patch to allow userid:password in the http path.

  • Author

It's working, after I used the microsoft fix 50642. I'm stuck with ie because I'm issuing the commands from a whs v1. It's using ie7, which also has the problem of not accepting Userid:Password@IPaddress in the http:// path.

 

Thanks all for the help. I didn't expect results so soon.

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.