5 small plugins

Posted on
Sun Jan 15, 2017 1:58 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

5 small plugins

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

Posted on
Mon Jan 16, 2017 2:48 am
yassi offline
Posts: 468
Joined: Sep 06, 2015
Location: Germany

Re: 5 small plugins

Thank you very much!

Yassi

Posted on
Mon Jan 16, 2017 6:55 am
DomoPat offline
User avatar
Posts: 210
Joined: Jul 17, 2010
Location: Toulouse, France

Re: 5 small plugins

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...

Posted on
Mon Jan 16, 2017 7:20 am
Shutter offline
Posts: 345
Joined: Mar 07, 2014
Location: London, UK

Re: 5 small plugins

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.

Posted on
Mon Jan 16, 2017 10:30 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: 5 small plugins

Excellent, always very happy to see new plugins available.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Aug 05, 2017 9:49 am
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: 5 small plugins

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: viewtopic.php?f=134&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.

Posted on
Mon Aug 07, 2017 6:40 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: 5 small plugins

Thanks - really like the 'Realistic Random' plugin :)

Posted on
Sat Dec 16, 2017 6:23 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: 5 small plugins

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.

Posted on
Sat Dec 16, 2017 6:30 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: 5 small plugins

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.

Posted on
Mon Dec 02, 2019 11:33 am
canalrun offline
Posts: 80
Joined: Jan 17, 2016

Re: 5 small plugins

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.

Posted on
Mon Dec 02, 2019 12:03 pm
kmarkley offline
Posts: 185
Joined: Nov 15, 2016

Re: 5 small plugins

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.

Posted on
Mon Dec 02, 2019 1:44 pm
canalrun offline
Posts: 80
Joined: Jan 17, 2016

Re: 5 small plugins

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.

Posted on
Thu Feb 27, 2020 5:31 pm
HFTobeason offline
Posts: 297
Joined: Nov 07, 2003

Re: 5 small plugins

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.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests