Just to answer my own need for a device that populated all the battery related elements of the Energy Tab. It seems that some other Homey users are frustrated by the incomplete Energy support offered by some battery devices. So if others can make use of it - here it is.
Unreal Battery feeds off the capabilities of your own real battery devices. That’s all, no bells, no whistles. Then it makes the data from your battery device available to the Energy Tab. That really is all it does. Eventually you will be able to use an Advanced Virtual Device to do this, but right now AVD doesn’t support Energy Settings such as homeBattery.
Update With A Flow
Use a flow to update the Unreal Battery - just two cards are needed. Here’s my flow should you wish to emulate it:
The last parameter on the THEN card is simply setting the time-base for the power to energy integration calculation. [It would be really nice if that value were forwarded as a tag from the WHEN card.]
Once you are happy your Unreal Battery is working, you can remove your real battery from Energy via its device settings (Include In Energy => No).
But of course. Please be clear that the role of this device is simply to complete the mapping from a Home Battery Device into the Energy Tab. I have read many posts (and had my own experience) of devices representing Home Batteries that do not fully work with the Energy Tab. Most of the data is there, but perhaps a capability is missing (or misnamed) or the Energy Settings are missing. This device simply aims to complete the jigsaw.
For me it sounds perfect. My virtual batteries are flows that simulate a battery. To help me get insight in which battery to buy in the future. I have build several variants (capacity, charge discharge) giving me insight in ROI. But upto now they only “exist” in ”insights”, now I hope to make them more “visible”
As I understand the definition of a virtual battery, this is NOT a virtual battery - that’s why I called it “Unreal”. The reason I built the Unreal Battery was to overcome the problems that many domestic battery devices have providing all the data that the Energy Tab requires.
The device is a BRIDGE between your Home Battery and the Energy Tab. It takes values from your real Home Battery device and uses these to correctly provide information to the Energy Tab. If that’s what you are looking for - fantastic.
If you are looking for a full on virtual battery, then I am afraid this is not for you.
As @David_Piper status his app is not a virtual battery, it more like a placholder incase you real battery does not appear correct in homey.
BUT
When you combine my flows for a virtual battery and upload the output of my flows to this app. I think it will be a virtual battery showing in homey. (Did not have the time to try it yet)
To keep this thread on-topic, lets follow up discussion on a virtual battery here