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.

Help with Tasker HTTP Post

Featured Replies

Posted

I'm trying to use Tasker to send an HTTP Post command but it doesn't seem to be working.  I'm triggering the task manually in Tasker so it is running, so it's not a Tasker issue.  I'm using the following format for the HTTP Post command

http://username:password@xxx.xxx.xxx.xxx:yyyyy/3?0262zzzzzz0F11FF=I=3

I am on my network locally so I am using my internal IP address (xxx.xxx.xxx.xxx) and port (yyyy) and the Insteon device ID zzzzzz but it doesn't seem to work.

 

I'm wondering if it isn't working because my password has an "@" in it.  Is the command getting screwed up because it sees the @ in my password and is looking for the IP address directly after that when in reality there is more of my password after that initial @?

 

Another question I have is can you send a HTTP Post command to trigger a program rather than a device?  How about to trigger a state variable? If so what is the command to do this?

 

 

Tasker version: 4.7u1m

ISY 994i/Pro firmware: 4.2.18

Edited by zerop

An @ in the password will almost certainly cause it to fail. Instead, you'd need to be able do the base64 encoding and add an 'Authorization' header, but the HTTP Get action in Tasker does not allow the addition of arbitrary headers.

 

There are many characters that are 'illegal' as part of the URL, and you'd need to avoid them in any username or password for the URL representation to work.

 

Running programs and setting variables are all supported thru the REST API. They are all documented at http://wiki.universal-devices.com/index.php?title=ISY_Developers:API:REST_Interface

Edited by MWareman

  • Author

If you are trying to send REST commands to the ISY you need to use HTTP Get, not Post.

 

Yes, I was trying to send REST commands.  I figured this out, thanks! :-)  I also found out (for anyone else wondering) the @ in my password did not make a difference.  I got it to work.  I found this on the wiki that helped a lot.  Not sure how I didn't find this before posting my question.  Thanks for the help though.

 

http://wiki.universal-devices.com/index.php?title=ISY-99i_Series_INSTEON:Networking:Tasker

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.