x-callbar-url support

General product announcements and news.

x-callbar-url support

Postby support » Sat Nov 15, 2014 9:00 pm

With the introduction of version 3.2, MyDoorOpener now supports x-callback-url schemes. Following
is the documentation for the supported URL schemes.

So you ask ... What do these URLs bring to the table? Well, a whole lot ... This feature might seem highly technical, but don't get
intimidated ... These URLs are actually very simple, yet, they open up so many new opportunities. With them, you can now have
external applications trigger any of your MyDoorOpener defined doors/devices. Imagine the possibilities ... Endless!

You don't need to worry so much about constructing these URLs manually as the "Device" configuration screen,
directly from within the application, contains 3 new buttons (Open, Close & Toggle) which, when clicked, will
copy the respective URL to the clipboard, allowing for easy external application configuration, by simply pasting.

So this documentation is more for reference purposes.

Open a door/device:
Code: Select all
mydooropener://x-callback-url/open?x-source={externalAppName}&controller={controllerUuid}&device={deviceUuid}


Close a door/device:
Code: Select all
mydooropener://x-callback-url/close?x-source={externalAppName}&controller={controllerUuid}&device={deviceUuid}


Toggle a door/device:
Code: Select all
mydooropener://x-callback-url/toggle?x-source={externalAppName}&controller={controllerUuid}&device={deviceUuid}


Launch application (landed on status page):
Code: Select all
mydooropener://status


{externalAppName} - Name of external application launching MyDoorOpener
{controllerUuid} - Uuid of MyDoorOpener controller to control
{deviceUuid} - Uuid of MyDoorOpener device/door to control

Enjoy!
support
Site Admin
 
Posts: 384
Joined: Thu Aug 22, 2013 7:30 pm

Return to Announcements



cron