[APP][Pro] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator

Hi, just posted a solution to integrate axa remote 2.0 window openers in homey
https://community.homey.app/t/axa-remote-2-0-bedienen-klimaat-regeling-deel-2/47167/51
The last step would be a nice virtual device. (or app, anyone :blush:)
Could someone make, or help me with a advanced virtual device?
It would be nice to have a device with de the next specs.
-a devicename
-3 buttons open, stop, close
-a possiblility to see de device state at the tile, opened vs locked in text of by changing device picture (open or closed window)

Something like this?

Device settings:

Screenshot from 2023-03-29 01-42-03

Screenshot from 2023-03-29 01-39-37

Device looks like this:

Screenshot from 2023-03-29 01-57-25

I requested an 'Open, Stop, CloseĀ“ prefixed list to replace the ā€˜Up, Idle, Downā€™

Flow

Device and flow to import:

[tef:AVD,FLOWS:"H4sIAAAAAAACA91XW4+jOhL+Ky10pH7o5gSDARPpPJCkc7+QS+c2GrUMtgkJAQLOdTT//ZgkfRv1rrI7Kx1p8wChbJervvqqXP4hEboLPNrw4kgqSnWYNezLr2ybYDyaPCw7pbKVWqPCrB1O7YL5sCmXhvShdVRDPlEX2cZ17G02qB6GhfYOwL4yIh3LKjVXAamdDlqy0321bwKozdoFrrUM2+0vrb6Ou1APem1nWmluOjN4PKz71dI0fk48PlFaEyfh9kFnPrcm+2lc32PODwEttI92rfbkd8JGye/vFOpnHW+srffxhE/GGinZqX1ELBpt+cbpFcpLFxzpyQ31KXyeAHuKTusVXozL1VIZJINBqdQrG8ND+1ldqrTT6rZCpYeaCojbXrSqrMaNfrluummw9ZFhlGYlr1Y4sQkZIF0LK8MJYQiR2dhz7F26NHdLc9Zz+0/Jqerqoe2oScPOtOXuaVNziGUPllVn2B50rDFD2qnKjAXt66MYTQ6n4fC4m2u1Mt/VXB73D89+Y5H4zxy6lQ45DJXNOBzV7expMkm6zdht2v2AdMC4lQSoW6/3hvp4dar3m0Hfg/q8GbPJU5YoQQxKQdeap8fC4cBWTDXc+TiCSMt6eu2EJq7KZq22UnLU1Rxl7VllNOmXxhm0l8myS+edY68P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1e0u7v4vTu/szn+0cxdhdkd/d5XO/zpj8Oz3Q/0lBcmITgY93O/dwHhC9er68LGviLt8tsDoHYJaf3z+8//wYCPFT3hRMAAA==":/tef]

I was staring at the React input for some time (with triggering of flows in mind at first), as I was testing it what it does with a Sensor, but that of course has no meaningful function with sensors whatsoever :sweat_smile: (after reading the explanation twice).
Perhaps you can hide the input for any (measure_) sensors.

Yeah, thanks.
I already have the setable available, just need to implement it (ones i have time again).
But the getable and setable capability options will be used for showing reflect/react.

1 Like

You can perhaps also use, instead of a picker, use the ternary.
The ternary are multiple/3 buttons instead of a picker.

Thatā€™s better I think, but I assumed we can only request custom lists for the ternary :wink:
Can you add my PMā€™ed list to the picker?
That would be nice.

Thank you very much for your example. I wil take a look in to this.
priority shifted to migrating HP2019 to HP2023

Yeah, as soon as i have time m8 :wink:

Of course Arie, it was not meant to chase you. No hurries as always :hugs:

1 Like

Question about: kiepraam adv AXA

Could someone explane why i see no status on the device tile?


TEF:

[tef:FLOWS:"H4sIAAAAAAACA+WXS2/cRgzHv4oxyNGTzvuhW5BjGhRFcyhgGMY8OF4hWmkjaf2A4e9eSqt1bccplDbxpZcVRqJGwx/JP7l3JJPqjuTiizBO08RFooqnRH1kjHqWpUle6sjEZNeSinyoYdeHsD35APvP0JJTkvBuN26gJ/f3p2ScDZu3Qwpt273dfhnH46sff//06eR9U0M7zqaBVGd3pMYnSXspbMgUOH5WieKpFxCpChkMeJOTZ/ilaZPPx++HfHXy7s93hwPcEcEM2FwSTSAsVVJG6h1wqqUxUaUC0ZTJ7oZU3LFTcotXhtcO99x0W7itMlzVCapVME7nY3/3e9XY15eX0F9c1f24D83h1YumHkYyoyOLAa4GpEO4AJOzMpQJAVTFWGiQIlBpgftkrS4qoq2OCbgInPKsJVIrjEafA03ZMMklz8xwNPOSC6WtxDNxjoy8pV5pTbVLkRsvEbcg53Ng7kipoZmzo8ZfMh1xcrsNW8Dlb/QP+h6XGYbU17ux7qbY/IpGJ4JgaLddnszSJrSXkOdor3LlECCjXgzQNrQB2VRNd1mnJyF48qRKXTuGuh0WpLjM9XxC3GycqCbNnTG5UF4shiohqVCEoDYL46OPsiT/wCF1213ow9j1uNd+h5tcvMl9txs7TP83F3/HrKrW5GBVXYVmDzOSVWE7ILHsgET8JCRFaM6sNNQEp6gChBOASSp5cD4oIyyECUmHRXT2IprcXbc/Es6qIC0FzcWBjnsCJ+x21TMlekzo68fVbh8x0TeTUC2kQlowzQ5PRh9hGJDsJHq7Wf+mm5+6XT3pYLgJPWy7EX5BNhiCPMy+rKJ79GVJfiFe1ZnUdAOs80ZK6YG5TF0wHtUayzmyomiUTgmsZMW4e/DGHLyR5lW9GcZut84Zb7PWxRnqNWakksHSmIulkoWcow0lBvPgzNI4NPt5zgyP6uu5T2HcD+u8yikIIYuj2UcsHu8E9aAktYwbGbDsWJxDdCi3ilxvoD2ZNP7kKNlYgF0zF/YtNE13jTcetc4pN6/rPG5I1e6b5pRsoL7cjMfV5FGLh5pagddGah40zUwh4GgRsLSF6pQ56KhMiXIBLBaR0/81WeAKZ4xHdJ911cKiwAz2NIqkqXLYEYNNDrOYMcsUh5gMeRyEr2lPwTjo1KrNlr620Jv72/eLOHzBkeGbCh5MYSVwRYtx2NwDcg4OO4pI4GS2BriVDwpOZMnKq6xo0GCm1hOpM0VTy11WLorAgnq5BU6qN+fHN5V+TcSrarsk9jwJrjn7M0Wxrz+9PZ3aBhgvHmrya0Ea4Wa6eXb277icn+NGPZQehs22i3UDcX9JcIDcw6zBa+L3TLa8+D8SK6EZZmSrpt+n05YUP2faWtVB/3HaqnMDP3Tayhl4wHNkx1HFuA/UWWOojjYhaIaSdqxAvRSgMi/CSf3saP3ig0mZ+9uLFhvHi8q8qhsfgeBfDo673O6mDrat2/2syPf35/d/AXCxZjfYDgAA":/tef]

If you mean on the mobile app: you have to do that yourself by selecting the status indicator you like.

2 hours of experimenting and reading the forum :rofl:
Thank you big time.

2 Likes

Perhaps someone can make a ticket to implement a message in the avd settings how to activate the status indicator.
Ill add it when im having another homey /dc moment.

Done.
Idea: maybe itā€™s possible to activate the first available status indicator by default?

1 Like

Great idea.
Not sure if that csn be done, but i will look at it. Write it in the ticket?

I requested to Athom a device option to set a capability as indicator default but that was not implemented.
The device tile is searching for some main capabilities like measure_temperatureā€¦ perhaps also based on device class. But you canā€™t change this or preset a capability from the app.

1 Like

Is this a bug or a feature?
The other available status card: Zet Status naar (Tekst),met(NUMMER),(Update mobile App)en(verder niks) works like expected.

If this is te HP2023, than its a random bug (i just got a report).
Wait for the new poweradapter to fix these random errors.
If its on older HP model, please create a ticket.

it is the hp2023 but i changed the power adapter to the raspberry pi one.
videoCoreArmFrequencyCappedOccured false
btw, how do i report a ticket. i tried to make a account at bitbucket but i could not add a issue

2nd how do i buy you a beer :grinning:

You dont need a BitBucket account, but BB is currently making some changes and there are some issues.
Not sure why, but the general issue page is also gone and many more changes, stuff not working.
Not sure why, bit BitBucket seems to be in a process of changes and is making some errors or something.

You are using the status+number card, what if you fill in a number also?

I have donation buttons on all my apps in the store :wink: