Virtual Sensor manages a set of virtual sensors, which can be set to clone a value from another device. It is useful for extracting data from devices and turning them into scene triggers or other event drivers when they otherwise would not be.
VirtualSensor also functions as a test tool, providing an internal function generator that can generate values using a sinusoidal function. I original used this for testing thermostat plugins, but it has many uses.
Documentation and the latest “edgy” code for project can be found in its GitHub repository.
2019-06-08: Version 1.9 allows changing of sensor name by clicking on the name in the Virtual Sensors tab; and removes the need for a Luup reload to begin copying data after setting/changing the source state variable.
2019-05-29: Version 1.8 includes various small updates and optimizations; clears the sensor values when the simulator is not running.
2019-04-07: Version 1.7 fixes a bug causing duplicate watches to be placed on device state variables already watched.
2019-03-31: Version 1.6 fixes some small bugs in the UI introduced in 1.5.
2019-03-17: Version 1.5 provides a UI for the management of virtual sensors.
2019-01-20: Version 1.4 submitted to Vera Plugin Marketplace for approval; immediately available in AltAppStore. This version allows the user to create any number of sensors (temp, humidity, light, generic, or security), where the sensor’s well-known value is simply copied from any state variable in any other device.
2018-07-29: Version 1.3 released. Just a fix to follow Vera semantics for ArmedTripped and LastTrip more closely, by allowing both Vera and openLuup to manage them (VirtualSensor no longer touches them).
2018-03-05: Version 1.2 released, available in Vera plugin marketplace. Allows the external control of trip and reset by actions (service urn:toggledbits.com:serviceId:VirtualSensor1 actions Trip and Reset, no parameters), or through UI on control panel.
2018-02-26: Version 1.1 is now available in the Vera plugin marketplace. Add battery emulation, improved UI controls, and a number of code cleanups.
2018-01-19: Version 1.0 released.