Last version 0.0.3: 2016-09-19
Tested with: v2.2.4-rc9
STATUS:beta
Download: Online Appstore
Github: sources
Rationale
I badly missed a function in HA to manipulate data from one or two virtualDevice sensors. That was the very reason for writing this app.
Functions
You can use any valid javascript expression for the formula as shown in the example below.
You first specify the operation you want to do. Next Sensor name and units. In the sensor selectors of this module you can find the internal names for the sensors to be used. To get the available metrics use your web browser with:
Code: Select all
http://raspberry_IP:8083/JS/Run/controller.devices.get("vDev_xx").get("metrics")
Code: Select all
{"scaleTitle":"kWh","title":"Solar Energy2","probeTitle":"Energy","level":4.1}