[RELEASE] Bulk Device Parent

Driver used to create bulk virtual child switch and dimmer devices easily. Handy for hub load testing and other development work.

NOTE: Not really useful for end users - the child devices don't do anything - they are virtual and connected to nothing physical.

USE:

  • Enter # of devices to create (99 max or each type) and click button. Child devices will be created.
  • Enter zero for the number to create to delete all child devices of that type.
  • SwitchOn/SwitchOff turns on/off ALL child switch devices at once.
  • DimmerOn/DimmerOff turns on/off ALL child dimmer devices at once.
  • DimmerSetLevel sets level on ALL child dimmer devices at once.
  • On/Off/Level Randomizers. Generate random values (on, off, level%) at defined frequency, for defined period of time.

TO-DO:

  • May add more device types. Haven't really decided.
  • May add Will likely add a value randomizer to dimmer level values to generate a continuous stream of "data" from the child devices
  • May add Will likely add an on/off randomizer for switches or dimmers to generate a continuous stream of "data" from the child devices

VERSIONS:

  • V1.0.0 (01/14/2021) - Initial Version. Supports switches and dimmers as child devices.
  • V2.0.0 (01/14/2021) - Added on/off/level randomizers

https://raw.githubusercontent.com/Botched1/Hubitat/master/Drivers/Bulk%20Device%20Parent/Bulk%20Device%20Parent.groovy

6 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.