Hi,
I have an husdata dongle that reads out the register settings of my heatpump. a Homey app exists for Husdata (Husdata | Homey ), but this app does not show all the registers which I can read via the webinterface.
So in order to get all the information directly into Homey, I thought of creating a virtual device. that parses (every minute?) the data from the webinterface (with GET web request), and would also be capable of setting the register via a POST web request. Is this the right way to do this?
Which Virtual Device is the best for this use case? i see that there are multiple apps with this capability (besides the Homey Experiment): Virtual Devices, Device capabilities,.. or is there another app/way to achieve the same?
kind regards,
Floris
I’d suggest to use the Advanced Virtual Device. It can take up to over 10 capabilities for text/numeric/boolean/OnOff and has picker and cam possibilities , and the status indicator can be filled with anything.
You can write the web request values to these capabilities with flow cards;
Numeric & boolean values can also be logged to Insights.
An example:
Advanced virtual devices topic:
That was with version 1, where the configuration was in the settings of the avd.
That why I moved it to device-repair, to make it dynamic: you can have way more than 10 capabilities. 
Thanks Arie & Peter,
It looks promising:
one simple thing is not clear: i want to link a ‘text field’ to an existing Homey variable. is this possible?
when i install the better logic library, i dont see the Homey variables in the dropdown list. Am i doing something very basic wrong?
kind regards,
Floris
Whoops! It was based on my current knowledge. Plus, apparently I never needed over 10 capabilities of one type yet 

Way more than 10 is even better, Arie!
Hi Floris,
Thanks!
Homey variables and Better Logic variables are separate things, but in flows you can use the tags of a Hvar in a BLvar and the other way round.
To sync a Homey variable with an AVD (text) field, or with a BL variable, you’d use a flow like:
No that’s correct. You’ll have to create BL vars from scratch.
To add them in bulk, this is quite simple to achieve when you use the export/import function.
This takes a JSON formatted input like this
[
{
"name": "myYesNoVar",
"value": true,
"type": "bool"
},
{
"name": "myNumVar",
"value": 0,
"type": "number"
},
{
"name": "myTextVar",
"value": "hello",
"type": "string"
}
]
Note:
string values should sit between double quotes;
numeric values / boolean states don’t.
Thanks Peter,
that really clarifies things!
KInd regards,
Floris