Author Topic: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)  (Read 223 times)

Offline rigpapa

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +32/-0
    • toggledbits.com
Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« on: January 16, 2018, 06:35:31 pm »
I am creating this thread as the (official) new home of DeusExMachinaII.

DeusExMachinaII (aka DEMII) is the UI7 (and beyond) version of beowulfe's Deus Ex Machina plugin. It is a "vacation ghost" that manipulates a configurable set of lights on a random pattern. It can be triggered to run at sunset, or a specific time, and will run until a configurable "lights out" time. At lights out, it will turn off any lights it has turned on. Documentation is available in the GitHub repository for the project.

2018-01-15: Version 2.7 (approved 2018-01-22) This version reverses a change introduced in 2.6 that was an attempt to address a minor issue with certain Fibaro and Qubino dimmers. Unfortunately, the fix works for those (apparently rare) products, but causes many other dimmers to turn on to 100% rather than the configured brightness level. I'll look into other ways of handling the Fibaro/Qubino matter.

Upcoming for the next release is the addition of a "wake up" scene that runs before lights begin cycling, the ability to have different scenes run when DEMII stops due to a house mode change, and the ability to more easily circumvent all of DEMII's native timing and run as directed by "Wake" and "Sleep" actions (driven by PLEG, scenes, Lua, etc.). Longer-term, I'm looking at smarter algorithms for cycling, rather than just random selection.
« Last Edit: January 22, 2018, 01:49:09 pm by rigpapa »
Author of Rachio, Deus Ex Machina II, Intesis WMP Gateway, SiteSensor, and Auto Virtual Thermostat plugins. Using Vera Plus (1.7.3232), Vera3 (1.7.1017), 50 dimmers and 40 switches (mostly Leviton, some Linear and GE), a dozen sensors, a truckload of PLEG, and of course, my own plugins.

Offline Thorden

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +5/-5
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #1 on: January 17, 2018, 03:50:04 am »
@rigpapa, thanks again for this wonderful plugin. 
It is great now, if you succeed in implementing the future plans described above, it is going to achieve total awesomeness! :)

Just for your information, all my dimmers are all Fibaro (FGD-211 and FGD-212). They did not work correctly for dimming level before the 2.6 patch, with the patch they are working perfect. Was there another Fibaro dimmer that had the issues addressed in 2.6? I never had any issues with them that I am aware of prior to 2.6.

Offline rigpapa

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +32/-0
    • toggledbits.com
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #2 on: January 17, 2018, 08:17:03 am »
It was related to a firmware issue on the dimmer. I'm looking for my notes, but it had something to do with certain low-demand loads. The fix was an attempt to work around the issue and relieve users of the need to upgrade firmware on the dimmer unit (which apparently requires it be removed from its normally-installed location). Another case of cure worse than disease. The change gave my network of dozens of dimmers of various brands (Leviton, Cooper, GE/Jasco, Evolve, but no Fibaro) no issues. That is, I'm sure, a taste of what the folks at Vera get to deal with every day in dealing with all of these different elements.
Author of Rachio, Deus Ex Machina II, Intesis WMP Gateway, SiteSensor, and Auto Virtual Thermostat plugins. Using Vera Plus (1.7.3232), Vera3 (1.7.1017), 50 dimmers and 40 switches (mostly Leviton, some Linear and GE), a dozen sensors, a truckload of PLEG, and of course, my own plugins.

Offline Quixote

  • Sr. Member
  • ****
  • Posts: 258
  • Karma: +9/-32
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #3 on: January 17, 2018, 05:00:25 pm »
Just wanted to say thanks as well. Keep up the amazing work!
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person.

Offline nutshellml

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: +1/-2
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #4 on: February 18, 2018, 07:12:30 pm »
Awesome plugin - looking for clarification on two items:

1) The Max ON Time - If I were to put 45 minutes for a device (light), that device (lights) would stay on for exactly 45 mins then turn off, will it cycle back through again?  OR only be on during the entire Start - Lights-Out time for 45mins?

2) The Maximum ON Target - Does that correspond with how many devices would be on at once?   If I were to pick 7, would there always be 7 devices on or not necessarily, just the max would be 7?


Offline rigpapa

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +32/-0
    • toggledbits.com
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #5 on: February 18, 2018, 07:49:43 pm »
1) The Max ON Time - If I were to put 45 minutes for a device (light), that device (lights) would stay on for exactly 45 mins then turn off, will it cycle back through again?  OR only be on during the entire Start - Lights-Out time for 45mins?
The max on time is a maximum, but if Deus decides to turn the light off sooner, it will. The light may also be turned on again later, but any time it is turned on, it will not be on for more than the max on time.

Quote
2) The Maximum ON Target - Does that correspond with how many devices would be on at once?   If I were to pick 7, would there always be 7 devices on or not necessarily, just the max would be 7?
The max is 7, but at any given time, there could be fewer than 7.
Author of Rachio, Deus Ex Machina II, Intesis WMP Gateway, SiteSensor, and Auto Virtual Thermostat plugins. Using Vera Plus (1.7.3232), Vera3 (1.7.1017), 50 dimmers and 40 switches (mostly Leviton, some Linear and GE), a dozen sensors, a truckload of PLEG, and of course, my own plugins.

Offline nutshellml

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: +1/-2
Re: Plugin: DeusExMachinaII (Deus Ex Machina for UI7 and beyond)
« Reply #6 on: February 18, 2018, 08:32:15 pm »
Thank you!