5 small plugins

kmarkley
Posts: 185
Joined: Tue Nov 15, 2016 8:04 pm

5 small plugins

Post by kmarkley »

Lately I've been converting several of my scripts to plugins - just as a personal learning experience. Compared to most of the plugins available here, these are so laughably simpleminded that I debated whether I should share them at all.

But what the hell:

Online Sensor

Sensor devices that can be used to a) determine if the Indigo Server machine is connected to the internet, b) check if particular internet services are reachable, c) fetch the public IP of the Indigo Server machine, or d) fetch the IP of some domain.

Details: https://github.com/kmarkley/Indigo-Onli ... /README.md
Download: https://github.com/kmarkley/Indigo-Onli ... ses/latest

Group Change Listener

Kind of like berkinet's Group Triggers plugin, but less sophisticated and a bit more generic. Creates triggers that fire when any device or variable has any change. (Group Triggers is limited to devices with onOffState and variables with boolean values.)

Details: https://github.com/kmarkley/Indigo-Grou ... /README.md
Download: https://github.com/kmarkley/Indigo-Grou ... ses/latest

Realistic Random

Yet another random lighting plugin, but with a somewhat different approach. This one creates separate randomized wait-ON-wait-OFF cycles for lights that run independently. With thoughtful configuration this can make the effect appear more realistic than some other approaches.

Details: https://github.com/kmarkley/Indigo-Real ... /README.md
Download: https://github.com/kmarkley/Indigo-Real ... ses/latest

Fan Group

Like virtual device groups for fans. There's a speedcontrol (fan) device that both controls and reflects the state of other (physical) fans, and a simple relay device that toggles one speed. Also a peculiar little device that causes a group of fans to turn on if a thermostat's temperature is more than N degrees from setpoint when the hvac equipment is active.

Details: https://github.com/kmarkley/Indigo-Fan- ... /README.md
Download: https://github.com/kmarkley/Indigo-Fan- ... ses/latest

Dreamhost DDNS

An action to update Dreamhost DNS servers via API.

Details: https://github.com/kmarkley/Indigo-Drea ... /README.md
Download: https://github.com/kmarkley/Indigo-Drea ... ses/latest
yassi
Posts: 471
Joined: Sun Sep 06, 2015 7:14 am
Location: Germany

Re: 5 small plugins

Post by yassi »

Thank you very much!

Yassi
User avatar
DomoPat
Posts: 210
Joined: Sat Jul 17, 2010 10:35 am
Location: Toulouse, France

Re: 5 small plugins

Post by DomoPat »

Thank you thesis look useful but I could not download the Group Change Listener as the link does not work and only downloads a reference to the page...
Shutter
Posts: 345
Joined: Fri Mar 07, 2014 7:11 am
Location: London, UK

Re: 5 small plugins

Post by Shutter »

Agreed. Thanks for these. Installed them last night and setup the Online Sensor, and I'm always on the look out for a good random lighting plugin. Looking forward to testing that one.
User avatar
jay (support)
Site Admin
Posts: 18376
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: 5 small plugins

Post by jay (support) »

Excellent, always very happy to see new plugins available.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
kmarkley
Posts: 185
Joined: Tue Nov 15, 2016 8:04 pm

Re: 5 small plugins

Post by kmarkley »

Not sure how many folks are using these plugins, but I have just released new versions of almost all of them.

Improvement are mostly under-the-hood and include:

• fix Indigo server API version
• GitHubPluginUpdater
• more efficient, especially w/r/t/ communication between the plugin and Indigo server
• generally cleaner, better code as I continue to learn python
• tweaks and bug fixes

There are a few small feature improvements:

Online Sensor
See this thread: http://forums.indigodomo.com/viewtopic. ... 34&t=17957

Group Change Listener
• better filtering by device states
• option to trigger on device enable/disable

Realistic Random
• Actions to freeze or force off the randomizer effect
• Clearer device config dialogs

Fan Group
• fix bug with toggle method
• 'override' on therm assist devices is now per-fan instead of all or nothing


Links from the first post are still good.
Woetjes
Posts: 117
Joined: Mon Apr 04, 2016 6:44 am
Location: Belgium

Re: 5 small plugins

Post by Woetjes »

Thanks - really like the 'Realistic Random' plugin :)
User avatar
durosity
Posts: 4385
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: 5 small plugins

Post by durosity »

Feature request for the realistic randomizer plugin.. the ability to start and stop it on the devices list (as in turn on/off buttons) and for the last updated field to update every time it is used.. on mine it just says as 2000 but i look at that list in date order to see if any devices haven't updated recently and its always stuck there at the top despite it working :)
Computer says no.
User avatar
durosity
Posts: 4385
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: 5 small plugins

Post by durosity »

Uh scratch that.. despite the fact my plugin said it was v0.0.9 i noticed that it was last updated 9 days ago... when i replaced it manual in indigo new features appeared with what i was requesting above. Not sure why it was reporting as the latest version as it clearly wasn't but regardless all solved now :D
Computer says no.
canalrun
Posts: 80
Joined: Sun Jan 17, 2016 11:07 am

Re: 5 small plugins

Post by canalrun »

Concerning Realistic Random…

Nice Plug-in. I have my light toggling on and off right now.

I would like to use it to make my house looked "lived-in" while I'm away on vacation.

To do this I can see enabling the plug-in in Indigo during vacation time, leaving the plug-in disabled at all other times.

It would be nice to use the Indigo scheduler to turn on Realistic Random on ( as if I pressed the Turn On button) each day at sunset and turn off Realistic Random (as if pressing the Turn Off button) also doing a "Force All Off" at 1 AM give or take some minutes as allowed by Indigo's Scheduler.

Can this be done, maybe as several Actions in the Indigo Scheduler? It looks like at sunset I would Enable the Realistic Random device, and at 1 AM.Disable the Realistic Random device and under Realistic Random Controls choose Force All Off.
kmarkley
Posts: 185
Joined: Tue Nov 15, 2016 8:04 pm

Re: 5 small plugins

Post by kmarkley »

You can turn the plugin-created randomizer devices on and off same as any other Indigo device. Create an action like you would to turn on a light, and the plugin device should be listed there with your other on/off devices.
canalrun
Posts: 80
Joined: Sun Jan 17, 2016 11:07 am

Re: 5 small plugins

Post by canalrun »

Thanks. Works beautifully.
I have a Randomizer device controlling three bulbs.
I have two Scheduler tasks, one to turn on the Randomizer device at sunset every day, and one to do a Force Off then turn off the device 6 hours after sunset.
I can Enable the schedules before I go on vacation and leave them Disabled the rest of the time.
HFTobeason
Posts: 297
Joined: Fri Nov 07, 2003 8:01 pm

Re: 5 small plugins

Post by HFTobeason »

Thank you for this plugin. I would love to be able to set a "Brightness" level for dimmable devices when adding them to the Device list. Any chance of adding that functionality to the plugin? My Python ain't even close to hacking the source code. Thanks.
Wizard Sleeve
Posts: 64
Joined: Mon Feb 11, 2008 6:18 am
Location: Berkshire, United Kingdom

Re: 5 small plugins

Post by Wizard Sleeve »

Hi using the Realistic Random Plugin to great effect on my 3 wall mounted LightSabers in my bathroom. They are running WLED and I'm using RR to switch 9 Variables that switch each Saber on/off, Speed High/Low, Intensity High/Low. The only thing I would like is the ability to set the min duration/delay to 0 (Or very close to it) as at the moment a quick pitstop in the bathroom I don't see much change in the Sabers. I know this wasn't the intended use but it works great otherwise.

Thanks

Lee
Post Reply

Return to “kmarkley's plugins”