Extension: URL Toggle Device

User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: New Extension: URL Toggle Device

Post by Colorado4Wheeler »

I had considered adding some authentication methods in but was trying to keep it a really small addition to the plugin and figured most folks could use the http://name:password@ method on their URL but I'll see about adding this method in as well.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: New Extension: URL Toggle Device

Post by Colorado4Wheeler »

PeteVis wrote:This would be a super useful plugin if you could make it a little more flexible...
I've put up a pre-release of 1.6 if you want to download it and try out the new functionality added to the URL toggle. The username and password are obvious, but the URL may be confusing. In the three URL fields you will put in the command itself, i.e., "irMode=3", and in the command URL you put the query URL of "http://10.0.1.50/eng/admin/adv_audiovideo.cgi".

Please let me know how it goes, I'm working on a few other things in that plugin as well so once I'm sure your tests work fine I can publish the update.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
PeteVis
Posts: 180
Joined: Fri Jun 19, 2015 3:28 am

Re: New Extension: URL Toggle Device

Post by PeteVis »

It works very nicely :D

The camera has actually both an on and off command : irMode=2 == off and irMode=3 ==on, so putting those in the respective on and off fields makes it act as an actual IR switch for this camera.
I'm very happy with this, now I can remove my actions and variables, this is so much more elegant.

Thanks !
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: New Extension: URL Toggle Device

Post by Colorado4Wheeler »

Fantastic! Thanks for letting me know :).
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
Post Reply

Return to “Device Extensions Plugin”