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.

Http command structure and rest

Featured Replies

Posted

I'm trying to get command fusion to be friendly with the ISY-99i. Command fusion doesn't officially support HTTP protocols but i was told that i may be able to create the request byte structure and send it as as a command.

 

Any one have any experience doing this.

 

the command would be

 

http://192.xxx.x.x/rest/nodes/99999/cmd/DON 

 

Is this http structure correct and will it work with the ISY-99i?

 

GET /rest/nodes/99999/cmd/DON /1.0\nHOST: http://192.xxx.x.x\xoa\xoa 

 

I'm new at this so i may have lots of questions.

 

Thanks

deg01004

Hi deg01004,

 

Basically, what you're doing is correct. However, you're going to need to supply the authentication information too.

 

What I've done looks like this:

 

GET /rest/nodes/  HTTP/1.1
Authorization: Basic xxxxxxxxxxxxxxxx

 

The GET line is terminated by a \r\n (carriage return, line feed) and the Authorization line is terminated by \r\n\r\n

 

The xxxxxxxxxxxxxxx is the ISY username and password base64 encoded.

 

admin:admin  => YWRtaW46YWRtaW4=

 

There are a number of on-line base64 converters like: http://www.motobit.com/util/base64-decoder-encoder.asp

 

 

I don't use the HOST header, it's optional.

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.