Wanted to monitor battery level for all of my end devices; which are mostly motion sensors, contact sensors, and a handful of humidity/temperature sensors; in node-red. I have a virtual device for every real device (it makes swapping real devices easier for me as I experiment with new devices). Quickly realized none of the built-in virtual drivers have battery. For a short period I created a second virtual device for every device and set it to use the Virtual Battery Sensor drive from this post.
To avoid having to make a second virtual device for every real device I modified the Virtual Omni Sensor driver to add battery.
Makes life easier when using it with the Device Mirror Plus app. Now each of my virtual devices reflect the capabilities I want to see in node-red, without having to make multiple virtual devices.
-Added "Virtual Omni Sensor Plus" and "Device Mirror Plus" to HPM.
-updates to event descriptive text for humidity
-add hours and minutes to change log dates
-change batteryLevel attribute back to battery