sburke781 / hubitat

Hubitat apps and device drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PCVMS - Simplified Setup - New HE Driver

sburke781 opened this issue · comments

  • New HE Driver - Create a new HE Device Driver that implements the Motion Sensor capability, called PC Virtual Motion Sensor
  • Driver Preference Settings - Include in the new HE PCVMS Driver Preference settings for Polling Period (integer, minutes), Activity Threshold (integer, seconds), two Logging Switches, one for Info and one for Debug logging
  • Duplicate preference settings above as attributes in the device driver, making sure the attributes are updated whenever the Preference settings are updated
  • Implement the active and inactive commands to adjust the motion attribute
  • Implement the Auto Inactive Preference and associated logic to adjust the motion attribute after the chosen period of time. Only support options for Disabled, 5, 15, 30, 45 and 1 minute. ASAP will not be supported.
  • PC Script configuration Updates - Update PC scripts to read in attributes using Maker API and using them in place of equivalent local configuration INI file values
  • Local Config Only - Include option for a switch when running PC script to use LOCAL_CONFIG_ONLY, where calls to Maker API to get configuration settings is not run and a normal Virtual Motion Sensor device can be used in place of the new HE driver developed here
  • Documentation - Update installation instructions to include notes on installing the PCVMS driver, associated device and Local Configuration Only option